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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 09:19:19 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:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 171452 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-27 06:05 CST
Last Modified:              2009-01-27 09:19 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0098852) svnbot (reporter) - 2009-01-27 09:19
 http://bugs.digium.com/view.php?id=14346#c98852 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171540

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r171540 | oej | 2009-01-27 09:19:19 -0600 (Tue, 27 Jan 2009) | 31 lines

Merged revisions 171528 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r171528 | oej | 2009-01-27 16:00:19 +0100 (Tis, 27 Jan 2009) | 23 lines

Solving the same issue, but a bit different in trunk...

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

........
r171527 | oej | 2009-01-27 15:33:20 +0100 (Tis, 27 Jan 2009) | 13 lines

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 http://bugs.digium.com/view.php?id=14346)
Reported by: oej
Patches: 
      bug14346.diff uploaded by oej (license 306)
Tested by: oej

........

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

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171540 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 09:19 svnbot         Checkin                                      
2009-01-27 09:19 svnbot         Note Added: 0098852                          
======================================================================




More information about the asterisk-bugs mailing list