Browse Source

add recording format switch to init/defaults file

Change-Id: I35eaa2ff29259e6cfa9f0368d63d8cf83ff87998
changes/53/9753/1
Richard Fuchs 9 years ago
parent
commit
67fa3ffb71
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      debian/ngcp-rtpengine-daemon.default
  2. +1
    -0
      debian/ngcp-rtpengine-daemon.init

+ 1
- 0
debian/ngcp-rtpengine-daemon.default View File

@ -42,5 +42,6 @@ TABLE=0
# HOMER_ID=2001
# RECORDING_DIR=/var/spool/rtpengine/
# RECORDING_METHOD=proc
# RECORDING_FORMAT=eth
# LOG_STDERR="no"
# DTLS_PASSIVE="no"

+ 1
- 0
debian/ngcp-rtpengine-daemon.init View File

@ -102,6 +102,7 @@ if [ ! -z "$RECORDING_DIR" ]; then
fi
fi
[ -z "$RECORDING_METHOD" ] || OPTIONS="$OPTIONS --recording-method=$RECORDING_METHOD"
[ -z "$RECORDING_FORMAT" ] || OPTIONS="$OPTIONS --recording-format=$RECORDING_FORMAT"
[ -z "$DTLS_PASSIVE" -o \( "$DTLS_PASSIVE" != "yes" -a "$DTLS_PASSIVE" != "1" \) ] || OPTIONS="$OPTIONS --dtls-passive"
if test "$FORK" = "no" ; then


Loading…
Cancel
Save