MT#20221 add option to find destination peer by pbx stop records

Change-Id: I819f9cf3d619229a0c4a5cd4b8f49326ec7877af
changes/84/7384/2
Andrew Pogrebennyk 10 years ago
parent 8bbe5c5f59
commit 10274b28f0

@ -23,3 +23,4 @@ STATS_USER="mediator"
STATS_PASS='GimmeAllUr$$$'
STATS_DB="stats"
STATS_PERIOD=1
PEER_PBX_STOP_RECORDS=0

@ -65,6 +65,7 @@ OPTIONS=""
[ -z "$STATS_PASS" ] || OPTIONS="$OPTIONS -w $STATS_PASS"
[ -z "$STATS_DB" ] || OPTIONS="$OPTIONS -X $STATS_DB"
[ -z "$STATS_PERIOD" ] || OPTIONS="$OPTIONS -x $STATS_PERIOD"
[ "$PEER_PBX_STOP_RECORDS" = "0" ] || OPTIONS="$OPTIONS -s"
if test "$FORK" = "yes" ; then
OPTIONS="$OPTIONS -d"
fi

Loading…
Cancel
Save