mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 02:18:15 +00:00
Merged revisions 116919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r116919 | russell | 2008-05-18 14:58:10 -0500 (Sun, 18 May 2008) | 3 lines Remove duplicate colon on Reason header (closes issue #12678) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9484,7 +9484,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);
|
||||
|
||||
Reference in New Issue
Block a user