[asterisk-commits] oej: branch 1.4 r171527 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 27 08:33:21 CST 2009


Author: oej
Date: Tue Jan 27 08:33:20 2009
New Revision: 171527

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=171527
Log:
Use the same branch tag in CANCEL as in INVITE

Originally putnopvut implemented some changes in revision 142079 that according to the bug report seemed to have worked then, but somehow fails now.
I guess code, as humans, get old and forget stuff. Anyway, this bug caused CANCEL not to work with picky systems. 

Thanks Fredrik for pointing out where the bug in the SIP messaging was.

(closes issue #14346)
Reported by: oej
Patches: 
      bug14346.diff uploaded by oej (license 306)
Tested by: oej

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=171527&r1=171526&r2=171527
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Jan 27 08:33:20 2009
@@ -7200,7 +7200,7 @@
 		if (init > 1)
 			initreqprep(&req, p, sipmethod);
 		else
-			reqprep(&req, p, sipmethod, 0, 1);
+			reqprep(&req, p, sipmethod, 0, 0);	
 	} else
 		reqprep(&req, p, sipmethod, 0, 1);
 		




More information about the asterisk-commits mailing list