[asterisk-bugs] [Asterisk 0013198]: Asterisk sends a [slightly] different branch id back on CANCEL than on INVITE when call times out

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 9 14:06:11 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13198 
====================================================================== 
Reported By:                rickead2000
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13198
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-07-30 07:41 CDT
Last Modified:              2008-09-09 14:06 CDT
====================================================================== 
Summary:                    Asterisk sends a [slightly] different branch id back
on CANCEL than on INVITE when call times out
Description: 
When asterisk does a DIAL with a timeout of 120 seconds, when the 120
seconds expires and asterisk generates a SIP CANCEL message, the branch
sent back is slightly different from the one it sent in the original
INVITE.  This often results in a 481 No such call response back from the
other party and thus the call doesn't get cancelled properly.

If the DIAL command is set to 110 seconds, asterisk responds with the same
branch on the CANCEL than on the INVITE.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013381 Wrong branch on CANCEL after SIP INFO i...
====================================================================== 

---------------------------------------------------------------------- 
 (0092273) svnbot (reporter) - 2008-09-09 14:06
 http://bugs.digium.com/view.php?id=13198#c92273 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 142218

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r142218 | mmichelson | 2008-09-09 14:06:08 -0500 (Tue, 09 Sep 2008) | 14
lines

Make sure that the branch sent in CANCEL requests
matches the branch of the INVITE it is cancelling.

(closes issue http://bugs.digium.com/view.php?id=13381)
Reported by: atca_pres
Patches:
      13381v2.patch uploaded by putnopvut (license 60)
Tested by: atca_pres

(closes issue http://bugs.digium.com/view.php?id=13198)
Reported by: rickead2000
Tested by: rickead2000


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-09 14:06 svnbot         Checkin                                      
2008-09-09 14:06 svnbot         Note Added: 0092273                          
======================================================================




More information about the asterisk-bugs mailing list