From 6f45ed3cffa39a979ce5dc00218c37d43a74e680 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 10 Apr 2018 08:49:58 +0300 Subject: [PATCH 1/2] introduced rtpengine-recording.sample.conf --- etc/rtpengine-recording.sample.conf | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 etc/rtpengine-recording.sample.conf diff --git a/etc/rtpengine-recording.sample.conf b/etc/rtpengine-recording.sample.conf new file mode 100644 index 000000000..29b7669df --- /dev/null +++ b/etc/rtpengine-recording.sample.conf @@ -0,0 +1,43 @@ +[rtpengine-recording] + +table = 0 + +### number of worker threads (default 8) +# num-threads = 16 + +### where to forward to (unix socket) +# forward-to = /var/run/rtpengine/sock + +### where to store recordings: file (default), db, both +# output-storage = db + +### format of stored recordings: wav (default), mp3 +# output-format = mp3 + +### mix participating sources into a single output +# output-mixed = 1 + +### directory containing rtpengine metadata files +# spool-dir = /var/spool/rtpengine + +### where to store media files to +# output-dir = /var/lib/rtpengine-recording + +### resample all output audio +# resample-to = 8000 + +### bits per second for MP3 encoding +# mp3_bitrate = 24000 + +### mix participating sources into a single output +# output-mixed = 1 + +### create one output file for each source +# output-single = 1 + +### mysql configuration for db storage +# mysql-host = localhost +# mysql-port = 3306 +# mysql-user = rtpengine +# mysql-pass = secret +# mysql-db = rtpengine From 6ac25391a59bc3554b1b5dd6afd37cd66c494d9c Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 10 Apr 2018 08:56:05 +0300 Subject: [PATCH 2/2] debian: install rtpengine-recording.sample.conf --- debian/ngcp-rtpengine-recording-daemon.install | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/ngcp-rtpengine-recording-daemon.install b/debian/ngcp-rtpengine-recording-daemon.install index b5754cc90..222c1e19f 100644 --- a/debian/ngcp-rtpengine-recording-daemon.install +++ b/debian/ngcp-rtpengine-recording-daemon.install @@ -1 +1,2 @@ recording-daemon/rtpengine-recording /usr/sbin/ +etc/rtpengine-recording.sample.conf /etc/rtpengine/