From 88e1839e472a43e6839cd9494e9a408da45d6219 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Wed, 24 Nov 2010 14:41:41 +0000 Subject: [PATCH] Fixed content length of body. --- vmnotify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmnotify b/vmnotify index aac03af..e0c4915 100755 --- a/vmnotify +++ b/vmnotify @@ -76,7 +76,7 @@ OLD="0" # asterisk doesn't send number of old messages! BODY_MW="Messages-Waiting: $MW" BODY_VM="Voice-Message: $NEW/$OLD" -BODYLEN=$((${#BODY_MW}+${#BODY_VM}+2)) +BODYLEN=$((${#BODY_MW}+2+${#BODY_VM}+2)) CALL_ID=$($UUIDGEN)@voip.sipwise.local MBID=$USER