[asterisk-bugs] [Asterisk 0014346]: [patch] CANCEL gets different via header branch than INVITE

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 08:27:37 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14346 
====================================================================== 
Reported By:                oej
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   14346
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 171452 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 06:05 CST
Last Modified:              2009-01-27 08:27 CST
====================================================================== 
Summary:                    [patch] CANCEL gets different via header branch than
INVITE
Description: 
Asterisk 1.4 sends one branch in INVITE and one in CANCEL. THis is not
compliant with RFC 3261, that says clearly that the cancel needs the same
branch.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013381 Wrong branch on CANCEL after SIP INFO i...
====================================================================== 

---------------------------------------------------------------------- 
 (0098842) oej (manager) - 2009-01-27 08:27
 http://bugs.digium.com/view.php?id=14346#c98842 
---------------------------------------------------------------------- 
Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c	(revision 171522)
+++ channels/chan_sip.c	(working copy)
@@ -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);

Patch committed. Sometimes it's simple. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 08:27 oej            Note Added: 0098842                          
======================================================================




More information about the asterisk-bugs mailing list