[svn-commits] russell: trunk r116919 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun May 18 14:58:11 CDT 2008


Author: russell
Date: Sun May 18 14:58:10 2008
New Revision: 116919

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116919
Log:
Remove duplicate colon on Reason header
(closes issue #12678)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=116919&r1=116918&r2=116919
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun May 18 14:58:10 2008
@@ -9925,7 +9925,7 @@
 
 	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);




More information about the svn-commits mailing list