|
From: Egor G. <eg...@su...> - 2013-03-29 13:10:06
|
Hi, i have an issue trying to run orkaudio. My system is Ubuntu 12.04, i have installed orkaudio, but when i try tu run it i receive a message: egor@egor-pc:~$ sudo orkaudio debug Unable to open file: /var/log/orkaudio/orkaudio.log Unable to open file: /var/log/orkaudio/messages.log Unable to open file: /var/log/orkaudio/tapelist.log 2013-03-29 12:41:17,079 INFO root:117 - OrkAudio service starting 2013-03-29 12:41:17,085 INFO root:93 - Loaded plugin: /usr/lib/orkaudio/plugins/librtpmixer.so 2013-03-29 12:41:17,087 INFO immediateProcessing:53 - thread starting - queue size:10000 2013-03-29 12:41:17,087 INFO batchProcessing:129 - thread Th0 starting - queue size:20000 2013-03-29 12:41:17,087 ERROR root:82 - Failed to load the following plugin: audiocaptureplugins/voip/.libs/libvoip.so
I tried to capture libvoip with 2 section, at first time with this config:
<!-- Use the following if oreka has been installed (having run "make install") -->
<!--<CapturePluginPath>/usr/lib/</CapturePluginPath> -->
<!--<CapturePlugin>libvoip.so</CapturePlugin> -->
<!-- Use the following if you run oreka uninstalled (without having run "make install") -->
<CapturePluginPath>audiocaptureplugins/voip/.libs</CapturePluginPath>
<CapturePlugin>libvoip.so</CapturePlugin>
At second time this config:
<!-- Use the following if oreka has been installed (having run "make install") -->
<CapturePluginPath>/usr/lib/</CapturePluginPath> -->
<CapturePlugin>libvoip.so</CapturePlugin> --> -->
<!-- Use the following if you run oreka uninstalled (without having run "make install") -->
<!-- <CapturePluginPath>audiocaptureplugins/voip/.libs</CapturePluginPath> -->
<!-- <CapturePlugin>libvoip.so</CapturePlugin> -->
ldd shows:
egor@egor-pc:~$ ldd /usr/sbin/orkaudio
linux-gate.so.1 => (0xb7778000)
libsndfile.so.1 => /usr/lib/i386-linux-gnu/libsndfile.so.1 (0xb76f1000)
libACE.so.5.4.2 => /usr/lib/libACE.so.5.4.2 (0xb7578000)
libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0xb722d000)
liblog4cxx.so.9 => /usr/lib/liblog4cxx.so.9 (0xb714b000)
liborkbase.so.0 => /usr/lib/liborkbase.so.0 (0xb7131000)
libstdc++.so.5 => /usr/lib/i386-linux-gnu/libstdc++.so.5 (0xb7077000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb704b000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb702c000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6e82000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6e67000)
libFLAC.so.8 => /usr/lib/i386-linux-gnu/libFLAC.so.8 (0xb6e19000)
libvorbisenc.so.2 => /usr/lib/i386-linux-gnu/libvorbisenc.so.2 (0xb6ca1000)
libvorbis.so.0 => /usr/lib/i386-linux-gnu/libvorbis.so.0 (0xb6c75000)
libogg.so.0 => /usr/lib/i386-linux-gnu/libogg.so.0 (0xb6c6d000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6c68000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6c5f000)
/lib/ld-linux.so.2 (0xb7779000)
and ls for my usr/lib is
egor@egor-pc:~$ ls -a /usr/lib |grep voip
libvoip.a
libvoip.la
libvoip.so
libvoip.so.0
libvoip.so.0.0.0
As you can see, the plugin is there, but it just doesn't starts. My config for orkaudio is in attachment.
I want to use orkaudio to try write calls made from yate, yate and orkaudio are installed on the same machine, test one(ip for ex. is 89.149.105.248 ) and capture device is eth1.
My config:
<config>
<!-- This is an example configuration file for the Oreka orkaudio capture service on Linux -->
<!-- Copy this to config.xml and modify according to taste -->
<AudioOutputPath>/var/log/orkaudio</AudioOutputPath>
<!-- Use the following if oreka has been installed (having run "make install") -->
<!--<CapturePluginPath>/usr/lib/</CapturePluginPath> -->
<!--<CapturePlugin>libvoip.so</CapturePlugin> -->
<!-- Use the following if you run oreka uninstalled (without having run "make install") -->
<CapturePluginPath>audiocaptureplugins/voip/.libs</CapturePluginPath>
<CapturePlugin>libvoip.so</CapturePlugin>
<!-- Audio file storage format: choose from: native, gsm, ulaw, alaw, pcmwav -->
<StorageAudioFormat>gsm</StorageAudioFormat>
<!-- If you want to keep native audio files as well as compressed, change this to "no" -->
<DeleteNativeFile>yes</DeleteNativeFile>
<NumBatchThreads></NumBatchThreads>
<TrackerHostname>localhost</TrackerHostname>
<EnableReporting>true</EnableReporting>
<ClientTimeout>1000</ClientTimeout>
<AudioSegmentation>false</AudioSegmentation>
<AudioSegmentDuration>10</AudioSegmentDuration>
<BatchProcessingEnhancePriority>true</BatchProcessingEnhancePriority>
<VoIpPlugin>
<!-- Use this if you want to force capture from a given list of devices. -->
<!-- All available devices are listed in /etc/orkaudio/orkaudio.log when the service is starting -->
<Devices>eth1</Devices>
<!-- If AllowedIpRanges is used, only packets with *both* source and destination -->
<!-- matching the list are retained -->
<!--<AllowedIpRanges>212.125.143.0/24, 82.150.0.0/16, 82.199.64.133</AllowedIpRanges>-->
<!-- If BlockedIpRanges is used, packets with *either* source or destination -->
<!-- matching the list are dropped -->
<!--<BlockedIpRanges>212.125.143.0/24, 82.150.0.0/16, 82.199.64.133</BlockedIpRanges>-->
<!-- LanMasks can be ignored if you have standard LAN addresses (192.168.x.x or 10.x.x.x) -->
<!-- LanMasks might be used to determine the direction of a call (incoming or outgoing into or from the LAN) -->
<!--<LanMasks>10.4.3.4, 1.2.3.4</LanMasks>-->
<!-- The following is a csv list of your PBX, PSTN gateway, conferencing server or such "gateway" devices -->
<!--<MediaGateways>10.0.0.102</MediaGateways>-->
</VoIpPlugin>
<GeneratorPlugin>
<NumConcurrentPorts>1</NumConcurrentPorts>
<AudioDuration>5</AudioDuration>
<AudioFilename>sine.8KHz.pcm.wav</AudioFilename>
</GeneratorPlugin>
</config>
Could you tell me where is the problem?
Thanks
|