Enable CLI port of RTPEngine for rtpengine-ctl

This commit is contained in:
herlesupreeth
2020-09-03 17:03:56 +02:00
parent 24981c7a60
commit dd564d4fd1

View File

@@ -44,8 +44,10 @@ fi
[ -z "$TOS" ] && TOS="184" [ -z "$TOS" ] && TOS="184"
[ -z "$PIDFILE" ] && PIDFILE="/run/ngcp-rtpengine-daemon.pid" [ -z "$PIDFILE" ] && PIDFILE="/run/ngcp-rtpengine-daemon.pid"
LISTEN_CLI="$(awk 'END{print $1}' /etc/hosts):9901"
OPTIONS="" OPTIONS=""
OPTIONS="$OPTIONS --interface=$INTERFACE --listen-ng=$LISTEN_NG --pidfile=$PIDFILE --port-min=$PORT_MIN --port-max=$PORT_MAX " OPTIONS="$OPTIONS --interface=$INTERFACE --listen-ng=$LISTEN_NG --listen-cli=$LISTEN_CLI --pidfile=$PIDFILE --port-min=$PORT_MIN --port-max=$PORT_MAX "
OPTIONS="$OPTIONS --table=$TABLE --tos=$TOS --foreground" OPTIONS="$OPTIONS --table=$TABLE --tos=$TOS --foreground"
if test "$NO_FALLBACK" = "yes" ; then if test "$NO_FALLBACK" = "yes" ; then