diff --git a/vmnotify b/vmnotify index bc39eac..3436206 100755 --- a/vmnotify +++ b/vmnotify @@ -79,6 +79,6 @@ CALL_ID=$($UUIDGEN)@voip.sipwise.local MBID=$USER BRANCH=$($UUIDGEN) -$SIPSAK -S -i -l 5081 -f $SIPFILE \ +nohup $SIPSAK -S -i -k $LOCAL_IP -l 5081 -f $SIPFILE \ -G -g "!BODY_MW!$BODY_MW!BODY_VM!$BODY_VM!BODYLEN!$BODYLEN!CALL_ID!$CALL_ID!MBID!$MBID!BRANCH!$BRANCH!" \ - $VERBOSE -E udp -s $URI + $VERBOSE -E udp -s $URI 1>/dev/null 2>/dev/null & diff --git a/vmnotify.conf b/vmnotify.conf index dc1ad72..ca5d191 100644 --- a/vmnotify.conf +++ b/vmnotify.conf @@ -1,4 +1,5 @@ SERVER="127.0.0.1:5060" +LOCAL_IP="127.0.0.1" FILE_DEBUG="0" CONSOLE_DEBUG="0" LOGFILE="/tmp/vmnotify.log"