Don't forget blank header in notify (bug #3877)
authorMark Spencer <markster@digium.com>
Mon, 28 Mar 2005 07:06:28 +0000 (07:06 +0000)
committerMark Spencer <markster@digium.com>
Mon, 28 Mar 2005 07:06:28 +0000 (07:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5289 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5f17c1b..bf839df 100755 (executable)
@@ -7283,6 +7283,7 @@ static int sip_notify(int fd, int argc, char *argv[])
                for (var = varlist; var; var = var->next)
                        add_header(&req, var->name, var->value);
 
+               add_blank_header(&req);
                /* Recalculate our side, and recalculate Call ID */
                if (ast_sip_ouraddrfor(&p->sa.sin_addr, &p->ourip))
                        memcpy(&p->ourip, &__ourip, sizeof(p->ourip));