summaryrefslogtreecommitdiff
path: root/orkaudio/config-linux-template.xml
blob: d98d8442eb64d6c40c81dc54ffdd3e9c2d3243da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<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, eth2</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>