[asterisk-commits] oej: branch 1.2 r50517 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 11 11:11:10 MST 2007


Author: oej
Date: Thu Jan 11 12:11:09 2007
New Revision: 50517

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50517
Log:
Issue #8793 bad response for Unsupported Extension (different fix).

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=50517&r1=50516&r2=50517
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu Jan 11 12:11:09 2007
@@ -4346,6 +4346,8 @@
 	respprep(&resp, p, msg, req);
 	append_date(&resp);
 	add_header(&resp, "Unsupported", unsupported);
+	add_header_contentLength(&resp, 0);
+	add_blank_header(&resp);
 	return send_response(p, &resp, 0, 0);
 }
 



More information about the asterisk-commits mailing list