[asterisk-commits] oej: branch 1.6.0 r114607 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 24 10:00:51 CDT 2008


Author: oej
Date: Thu Apr 24 10:00:50 2008
New Revision: 114607

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114607
Log:
Merged revisions 114606 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r114606 | oej | 2008-04-24 16:59:05 +0200 (Tor, 24 Apr 2008) | 11 lines

Merged revisions 114603 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114603 | oej | 2008-04-24 16:55:18 +0200 (Tor, 24 Apr 2008) | 3 lines

Only have one max-forwards header in outbound REFERs.
Discovered in the Asterisk SIP Masterclass in Orlando. Thanks Joe!

........

................

Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=114607&r1=114606&r2=114607
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Thu Apr 24 10:00:50 2008
@@ -9426,7 +9426,6 @@
 	p->refer->status = REFER_SENT;   /* Set refer status */
 
 	reqprep(&req, p, SIP_REFER, 0, 1);
-	add_header(&req, "Max-Forwards", DEFAULT_MAX_FORWARDS);
 
 	add_header(&req, "Refer-To", referto);
 	add_header(&req, "Allow", ALLOWED_METHODS);




More information about the asterisk-commits mailing list