]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove duplicate colon on Reason header
authorRussell Bryant <russell@russellbryant.com>
Sun, 18 May 2008 19:58:10 +0000 (19:58 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 18 May 2008 19:58:10 +0000 (19:58 +0000)
(closes issue #12678)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116919 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index bad96503ebb500be2f9271b4c2cdaacddf111087..e879428d741f3ee67279d52e69607dff54a67ee5 100644 (file)
@@ -9925,7 +9925,7 @@ static int transmit_request(struct sip_pvt *p, int sipmethod, int seqno, enum xm
 
        reqprep(&resp, p, sipmethod, seqno, newbranch);
        if (sipmethod == SIP_CANCEL && p->answered_elsewhere) 
-               add_header(&resp, "Reason:", "SIP;cause=200;text=\"Call completed elsewhere\"");
+               add_header(&resp, "Reason", "SIP;cause=200;text=\"Call completed elsewhere\"");
 
        add_header_contentLength(&resp, 0);
        return send_request(p, &resp, reliable, seqno ? seqno : p->ocseq);