From: Russell Bryant Date: Sun, 18 May 2008 19:58:10 +0000 (+0000) Subject: Remove duplicate colon on Reason header X-Git-Tag: 1.6.2.0-beta1~2221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a9d477df1ea3613a17a118ff7751914b1b492b;p=thirdparty%2Fasterisk.git Remove duplicate colon on Reason header (closes issue #12678) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116919 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index bad96503eb..e879428d74 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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);