]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
don't add a colon to the header name (thanks bkw!)
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 21:09:34 +0000 (21:09 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 21:09:34 +0000 (21:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6488 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 3bc9083b32d1f4ee776d42c889db8c4574893050..413118d2a8f7237dbb067222230f644c2d61bed0 100755 (executable)
@@ -5256,7 +5256,7 @@ static int transmit_request_with_auth(struct sip_pvt *p, int sipmethod, int seqn
                debugging easier. */
        if (sipmethod == SIP_BYE) {
                if (p->owner && p->owner->hangupcause)  {
-                       add_header(&resp, "X-Asterisk-HangupCause:", ast_cause2str(p->owner->hangupcause));
+                       add_header(&resp, "X-Asterisk-HangupCause", ast_cause2str(p->owner->hangupcause));
                }
        }