[asterisk-commits] branch 1.2 - r7515
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Dec 16 21:59:06 CST 2005
Author: kpfleming
Date: Fri Dec 16 21:59:05 2005
New Revision: 7515
URL: http://svn.digium.com/view/asterisk?rev=7515&view=rev
Log:
Max-Forwards headers must only be present on requests, not responses
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?rev=7515&r1=7514&r2=7515&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Fri Dec 16 21:59:05 2005
@@ -3989,7 +3989,6 @@
copy_header(resp, req, "CSeq");
add_header(resp, "User-Agent", default_useragent);
add_header(resp, "Allow", ALLOWED_METHODS);
- add_header(resp, "Max-Forwards", DEFAULT_MAX_FORWARDS);
if (msg[0] == '2' && (p->method == SIP_SUBSCRIBE || p->method == SIP_REGISTER)) {
/* For registration responses, we also need expiry and
contact info */
More information about the asterisk-commits
mailing list