From 94f3469d688a0919467fd88290ed87e4513dd3bb Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 26 Jan 2016 11:06:04 +0100 Subject: [PATCH] MT#17517 Start sipsak in bg and force local ip Change-Id: Ide664d2ae221a2192759033d7bcbf2b0af602f18 --- vmnotify | 4 ++-- vmnotify.conf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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"