TT#14809 cleanup vmnotify.conf for the new format, add EXT_NOTIFY

* cleanup vmnotify.conf for the new format
    * add EXT_NOTIFY option (yes/no) to send external notifications

Change-Id: If422354744dfa026b10d36ce314118fb4f08427f
changes/33/12933/1
Kirill Solomko 8 years ago
parent 81845e51a5
commit 2fe84d0508

@ -230,7 +230,10 @@ sub main {
$data{callid} = gen_callid().'@voip.sipwise.local';
send_mwi_notify();
send_ext_notify() if $extended;
if ($extended &&
$CONFIG->{EXT_NOTIFY} && $CONFIG->{EXT_NOTIFY} eq "yes") {
send_ext_notify();
}
};
if ($EVAL_ERROR) {
$log->error($EVAL_ERROR);

@ -1,8 +1,5 @@
SERVER="127.0.0.1:5060"
LOCAL_IP="127.0.0.1"
FILE_DEBUG="0"
CONSOLE_DEBUG="0"
VERBOSE=""
SIPSAK=`which sipsak`
UUIDGEN=`which uuidgen`
SERVER=127.0.0.1:5060
LOCAL_IP=127.0.0.1
DEBUG=0
SIPFILE="/etc/ngcp-vmnotify/mwi.sip"
EXT_NOTIFY=no

Loading…
Cancel
Save