[asterisk-bugs] [Asterisk 0009492]: [patch] Asterisk sends wrong CSEQ in CANCEL if using INFO dtmf

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 30 10:53:19 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9492 
====================================================================== 
Reported By:                kryptolus
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9492
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:            1.2.17  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             04-06-2007 09:40 CDT
Last Modified:              01-30-2008 10:53 CST
====================================================================== 
Summary:                    [patch] Asterisk sends wrong CSEQ in CANCEL if using
INFO dtmf
Description: 
SIP RFC states that a CANCEL to an INVITE must have the same CSEQ as the
INVITE. When asterisk sends INFO packets, it increments the ocseq counter.
When it sends the CANCEL, the cseq is not that of the INVITE but of the
last INFO.

(Please don't ask me for logs... they're not going to say anything more
than what I just said above. )

This is a big problem as the other party thinks the call is still going
(it rejects the improper CANCEL).
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0005215 [patch] Provisional responses to INVITE...
has duplicate       0009408 error response on INFO kills call
====================================================================== 

---------------------------------------------------------------------- 
 oej - 01-30-08 10:53  
---------------------------------------------------------------------- 
Here's a patch that will use the invite's CSEQ for the CANCEL. Applies to
1.4.

Please test!

/O 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-30-08 10:53  oej            Note Added: 0081440                          
======================================================================




More information about the asterisk-bugs mailing list