diff --git a/debian/ngcp-rtpengine-daemon.default b/debian/ngcp-rtpengine-daemon.default index 3c31e387b..8f5f50adc 100644 --- a/debian/ngcp-rtpengine-daemon.default +++ b/debian/ngcp-rtpengine-daemon.default @@ -39,3 +39,4 @@ TABLE=0 # HOMER=123.234.345.456:65432 # HOMER_PROTOCOL=udp # HOMER_ID=2001 +# RECORDING_DIR=/var/spool/rtpengine/ diff --git a/debian/ngcp-rtpengine-daemon.init b/debian/ngcp-rtpengine-daemon.init index d0d12a87f..7c5c54158 100755 --- a/debian/ngcp-rtpengine-daemon.init +++ b/debian/ngcp-rtpengine-daemon.init @@ -92,6 +92,7 @@ OPTIONS="$OPTIONS --table=$TABLE" [ -z "$HOMER" ] || OPTIONS="$OPTIONS --homer=$HOMER" [ -z "$HOMER_PROTOCOL" ] || OPTIONS="$OPTIONS --homer-protocol=$HOMER_PROTOCOL" [ -z "$HOMER_ID" ] || OPTIONS="$OPTIONS --homer-id=$HOMER_ID" +[ -z "$RECORDING_DIR" ] || OPTIONS="$OPTIONS --recording-dir=$RECORDING_DIR" if test "$FORK" = "no" ; then OPTIONS="$OPTIONS --foreground"