diff --git a/debian/ngcp-rtpengine-daemon.default b/debian/ngcp-rtpengine-daemon.default index 72a36ce9b..da996ce00 100644 --- a/debian/ngcp-rtpengine-daemon.default +++ b/debian/ngcp-rtpengine-daemon.default @@ -1,4 +1,4 @@ -RUN_MEDIAPROXY=no +RUN_RTPENGINE=no LISTEN_TCP=25060 LISTEN_UDP=12222 LISTEN_NG=22222 diff --git a/debian/ngcp-rtpengine-daemon.init b/debian/ngcp-rtpengine-daemon.init index 54c15bf04..521ffe0d7 100755 --- a/debian/ngcp-rtpengine-daemon.init +++ b/debian/ngcp-rtpengine-daemon.init @@ -14,7 +14,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin NAME=ngcp-rtpengine-daemon DESC="RTP/media proxy" -RUN_MEDIAPROXY=no TABLE=0 case $(dirname $0) in @@ -32,7 +31,7 @@ if [ -f $DEFAULTS ]; then . $DEFAULTS || true fi -if [ "$RUN_MEDIAPROXY" != "yes" ]; then +if [ "$RUN_RTPENGINE" != "yes" -a "$RUN_MEDIAPROXY" != "yes" ]; then echo "rtpengine not yet configured. Edit $DEFAULTS first." exit 0 fi