You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also tried to modify the config.xml as per my understanding
Config File exists externally.
config.xml file is as below
---- Using Configuration -----
<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/audio</AudioOutputPath>
<TapeFileNaming>[trackingid],[localparty],[remoteparty],[nativecallid]</TapeFileNaming>
<!-- Uncomment the plugin you want to use: --><!-- Use libvoip.so for SIP, Cisco Skinny and pure RTP --><!-- Use libh323voip.so for Avaya, Nortel Unistim, H.323 and MGCP --><!-- See in <VoIpPlugin> below for more precise protocol tuning -->
<CapturePlugin>libvoip.so</CapturePlugin>
<!--<CapturePlugin>libh323voip.so</CapturePlugin>--><!--<CapturePlugin>liborksipua.so</CapturePlugin>-->
<CapturePluginPath>/usr/lib</CapturePluginPath>
<PluginsDirectory>/oreka-src/orkaudio/plugins</PluginsDirectory>
<!-- Audio file storage format: choose from: native, gsm, ulaw, alaw, pcmwav -->
<StorageAudioFormat>pcmwav</StorageAudioFormat>
<StereoRecording>true</StereoRecording>
<TapeNumChannels>2</TapeNumChannels>
<AudioFileBitRate>8000</AudioFileBitRate>
<!-- If you want to keep native audio files as well as compressed, change this to "no" -->
<DeleteNativeFile>yes</DeleteNativeFile>
<TrackerHostname>localhost</TrackerHostname>
<TrackerTcpPort>8080</TrackerTcpPort>
<CapturePortFilters>LiveMonitoring</CapturePortFilters>
<TapeProcessors>BatchProcessing, Reporting</TapeProcessors>
<BatchProcessingEnhancePriority>true</BatchProcessingEnhancePriority>
<NumBatchThreads>25</NumBatchThreads>
<AudioFileOwner>tomcat</AudioFileOwner>
<AudioFileGroup>tomcat</AudioFileGroup>
<AudioFilePermissions>644</AudioFilePermissions>
<!--<TapeDurationMinimumSec>3</TapeDurationMinimumSec>--><!-- Uncomment the parameter below and fill in a comma-separated --><!-- list of TCP addresses which you wish to open a connection to. --><!-- For example 192.168.1.250:1721, 192.168.1.1:8091. A TCP --><!-- connection shall be opened and a read-loop shall be entered --><!-- into whereby any data read shall be discarded, and a record --><!-- maintained of the amount of data which has been read. -->
<SocketStreamerTargets>192.169.0.133:5060</SocketStreamerTargets>
<VoIpPlugin>
<PcapSocketBufferSize>8388608</PcapSocketBufferSize>
<!--queuemetrics integration, uncomment the following line-->
<SipExtractFields>X-Unique-ID</SipExtractFields>
<!-- Use this for Nortel proprietary VoIP protocol --><!--<UnistimDetect>yes</UnistimDetect>--><!-- Turn both these on this for Avaya H.323 extensions -->
<AvayaDetect>yes</AvayaDetect>
<RtcpDetect>yes</RtcpDetect>
<!-- Set the option below to "true" to enable IAX2 support --><!-- the default is that IAX2 support is disabled --><!--<Iax2Support>false</Iax2Support> --><!-- Use this if you want to force capture from a given list of devices. --><!-- All available devices are listed in orkaudio.log when the service is starting --><!-- Devices>__INTERFACE__</Devices> -->
<Devices>__INTERFACE__</Devices>
<!-- <<PcapFilter>net 217.14.0.0/16 or host 10.0.0.1</PcapFilter> -->
<PcapFilter>net 192.168.0.1/24</PcapFilter>
<SipOverTcpSupport>yes</SipOverTcpSupport>
<SipReportFullAddress>yes</SipReportFullAddress>
<!-- <SipRequestUriAsLocalParty>yes</SipRequestUriAsLocalParty> --><!--<SipUse200OkMediaAddress>yes</SipUse200OkMediaAddress>--><!-- Those two parameters are only needed for call direction detection (one or the other) -->
<SipDomains>kamailio.hbvoice.local, 192.168.0.133</SipDomains>
<!--<SipDirectionRefenceIpAddresses>65.34.98.56, 65.34.98.57</SipDirectionRefenceIpAddresses>--><!-- Sangoma wanpipe RTP tap for TDM boards --><!--<SangomaRxTcpPortStart>9000</SangomaRxTcpPortStart>--><!--<SangomaTxTcpPortStart>11000</SangomaTxTcpPortStart>--><!-- Mitel Communications Platform --><!-- Turn on the parameter below to enable support for Mitel --><!-- <MitelDetect>yes</MitelDetect> --><!-- The parameter below sets the Mitel signalling port. The --><!-- default is 3999 --><!-- <MitelSignallingPort>3999</MitelSignallingPort> --><!-- The parameter below sets the amount of time in seconds --><!-- after which the cached Mitel metadata shall be discarded. --><!-- The default is 60 seconds. --><!-- <MitelMetadataTimeoutSec>60</MitelMetadataTimeoutSec> --><!-- Turn on the parameter below to enable extension Mitel --><!-- extension detection using ARP. Turning on this parameter --><!-- automatically turns on MitelDetect --><!-- <MitelArpExtensionDetect>yes</MitelArpExtensionDetect> --><!-- Set MitelSmdrPort to the port where Mitel SMDR records --><!-- may be accessed. The default is 1752. Note that you --><!-- shall need to configure SocketStreamerTargets with the --><!-- host and this port, in order for Oreka to access the --><!-- SMDR records. See SocketStreamerTargets above for more --><!-- information on how to configure it. --><!-- <MitelSmdrPort>1752</MitelSmdrPort> --><!-- End of Available Configurations for Mitel Communications Platform -->
</VoIpPlugin>
</config>
Logs
---------
log4cxx: Could not read configuration file [/etc/orkaudio/logging.properties].
3 [0x7f1aeaf7d5c0] INFO root null -
OrkAudio version : service starting
8 [0x7f1aeaf7d5c0] WARN config null - It is not recommended to have more batch threads than CPUs
11 [0x7f1aeaf7d5c0] INFO root null - Loaded plugin: /usr/lib/libvoip.so
14 [0x7f1aeaf7d5c0] INFO packet null - Initializing VoIP plugin
16 [0x7f1aeaf7d5c0] INFO packet null - Available pcap devices:
17 [0x7f1aeaf7d5c0] INFO packet null - * enp0s3 -
18 [0x7f1aeaf7d5c0] INFO packet null - * lo -
19 [0x7f1aeaf7d5c0] INFO packet null - * any - Pseudo-device that captures on all interfaces
20 [0x7f1aeaf7d5c0] INFO packet null - * docker0 -
21 [0x7f1aeaf7d5c0] INFO packet null - * br-1ff5091ae0d8 -
22 [0x7f1aeaf7d5c0] INFO packet null - * bluetooth-monitor - Bluetooth Linux Monitor
22 [0x7f1aeaf7d5c0] INFO packet null - * nflog - Linux netfilter log (NFLOG) interface
22 [0x7f1aeaf7d5c0] INFO packet null - * nfqueue - Linux netfilter queue (NFQUEUE) interface
22 [0x7f1aeaf7d5c0] ERROR packet null - Could not find any of the devices listed in config file or error, trying default device...
22 [0x7f1aeaf7d5c0] INFO packet null - Setting pcap socket buffer size:8388608 bytes successful
22 [0x7f1aeaf7d5c0] INFO packet null - Activating pcaphandle:40e511e0 successfully
23 [0x7f1aeaf7d5c0] INFO packet null - Setting setsockopt with bufsize:8388608 successfully
23 [0x7f1aeaf7d5c0] INFO packet null - Successfully opened device. pcap handle:40e511e0 message:
23 [0x7f1aeaf7d5c0] ERROR packet null - pcap_compile: Please check your PcapFilter in config.xml; pcap handle:40e511e0
24 [0x7f1aeaf7d5c0] ERROR packet null - pcap error when opening default device:nfqueue error message:
24 [0x7f1aeaf7d5c0] INFO packet null - No localpartymap.csv supplied, either locally or at /etc/orkaudio/localpartymap.csv
25 [0x7f1aeaf7d5c0] INFO packet null - LoadSkinnyGlobalNumbersList: Could not open file:skinnyglobalnumbers.csv -- trying:/etc/orkaudio/skinnyglobalnumbers.csv now
25 [0x7f1aeaf7d5c0] ERROR root null - Plugins directory could not be found:/oreka-src/orkaudio/plugins check your config.xml
26 [0x7f1aeaf7d5c0] DEBUG audiogain null - Initialized AudioGain filter
27 [0x7f1aeaf7d5c0] INFO tape.taperegistry null - Registered processor: BatchProcessing
28 [0x7f1aeaf7d5c0] INFO tape.taperegistry null - Registered processor: CommandProcessing
28 [0x7f1aeaf7d5c0] INFO tape.taperegistry null - Registered processor: Reporting
29 [0x7f1aeaf7d5c0] INFO tape.taperegistry null - Registered processor: TapeFileNaming
29 [0x7f1aeaf7d5c0] INFO tape.taperegistry null - Registered processor: DirectionSelector
29 [0x7f1aeaf7d5c0] DEBUG tape.taperegistry null - Adding processor to chain:BatchProcessing
30 [0x7f1aeaf7d5c0] DEBUG tape.taperegistry null - Adding processor to chain:Reporting
30 [0x7f1aeaf7d5c0] INFO interface.httpserver null - Started HttpServer on port:59140
30 [0x7f1aeaf7d5c0] INFO interface.tlsserver null - HTTPS server disabled
30 [0x7f1aeaf7d5c0] INFO interface.eventstreamingserver null - Started EventstreamingServer on port:59150
31 [0x7f1aeaf7d5c0] INFO socketstreamer null - Successfully created thread (protocol: host:192.169.0.133 port:5060)
32 [0x7f1ae9655700] INFO batchProcessing null - thread Th0 starting - queue size:20000
32 [0x7f1ae8e54700] INFO batchProcessing null - thread Th1 starting - queue size:20000
32 [0x7f1ae8653700] INFO batchProcessing null - thread Th2 starting - queue size:20000
32 [0x7f1ae7651700] INFO batchProcessing null - thread Th4 starting - queue size:20000
32 [0x7f1ae7e52700] INFO batchProcessing null - thread Th3 starting - queue size:20000
32 [0x7f1ae664f700] INFO batchProcessing null - thread Th6 starting - queue size:20000
32 [0x7f1ae6e50700] INFO batchProcessing null - thread Th5 starting - queue size:20000
32 [0x7f1ae564d700] INFO batchProcessing null - thread Th8 starting - queue size:20000
32 [0x7f1ae5e4e700] INFO batchProcessing null - thread Th7 starting - queue size:20000
33 [0x7f1ae4e4c700] INFO batchProcessing null - thread Th9 starting - queue size:20000
33 [0x7f1ae464b700] INFO batchProcessing null - thread Th10 starting - queue size:20000
34 [0x7f1ae3649700] INFO batchProcessing null - thread Th12 starting - queue size:20000
33 [0x7f1ae3e4a700] INFO batchProcessing null - thread Th11 starting - queue size:20000
34 [0x7f1ae2e48700] INFO batchProcessing null - thread Th13 starting - queue size:20000
34 [0x7f1ae2647700] INFO batchProcessing null - thread Th14 starting - queue size:20000
34 [0x7f1ae1e46700] INFO batchProcessing null - thread Th15 starting - queue size:20000
34 [0x7f1ae1645700] INFO batchProcessing null - thread Th16 starting - queue size:20000
34 [0x7f1ae0e44700] INFO batchProcessing null - thread Th17 starting - queue size:20000
34 [0x7f1ae0643700] INFO batchProcessing null - thread Th18 starting - queue size:20000
35 [0x7f1adf641700] INFO batchProcessing null - thread Th20 starting - queue size:20000
36 [0x7f1adee40700] INFO batchProcessing null - thread Th21 starting - queue size:20000
36 [0x7f1ade63f700] INFO batchProcessing null - thread Th22 starting - queue size:20000
34 [0x7f1adfe42700] INFO batchProcessing null - thread Th19 starting - queue size:20000
36 [0x7f1ae9e56700] INFO immediateProcessing null - thread starting - queue size:10000
36 [0x7f1add63d700] INFO batchProcessing null - thread Th24 starting - queue size:20000
36 [0x7f1adde3e700] INFO batchProcessing null - thread Th23 starting - queue size:20000
36 [0x7f1adc63b700] INFO tapeFileNamingLog null - Started
37 [0x7f1adb639700] INFO directionSelector null - thread Th0 starting - queue size:20000
37 [0x7f1adb639700] INFO directionSelector null - LoadAreaCodesMaps: Could not open file:area-codes-recorded-side.csv -- trying:/etc/orkaudio/area-codes-recorded-side.csv now
38 [0x7f1adb639700] INFO directionSelector null - LoadAreaCodesMaps: Could not open file:/etc/orkaudio/area-codes-recorded-side.csv either -- giving up
37 [0x7f1adbe3a700] INFO batchProcessing null - Command Processing thread Th0 starting - queue size:10000
39 [0x7f1aea657700] INFO reporting null - [localhost:8080/orktrack] reporting thread started.
41 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
42 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
60094 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
60096 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
131074 [0x7f1ad9635700] WARN socketstreamer null - Couldn't connect to: protocol: host:192.169.0.133 port:5060 error: Connection timed out
135167 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
135169 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
210235 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
210238 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
264195 [0x7f1ad9635700] WARN socketstreamer null - Couldn't connect to: protocol: host:192.169.0.133 port:5060 error: Connection timed out
285308 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
285311 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
360375 [0x7f1aea657700] ERROR orkclient null - apr_socket_connect connect failed errno:Connection refused
360377 [0x7f1aea657700] WARN reporting null - [localhost:8080/orktrack] init connection:false success:false comment:
Then I make a test call using kamaiio/ rtpengine but it didnt create any audio file in /var/log/orkaudio/audio
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have one kamailio server with RTpengine. In installed docker on it and followed the instructions as below
I also tried to modify the config.xml as per my understanding
config.xml file is as below
Logs
Then I make a test call using kamaiio/ rtpengine but it didnt create any audio file in
/var/log/orkaudio/audio
Beta Was this translation helpful? Give feedback.
All reactions