[asterisk-bugs] [Asterisk 0009209]: race condition in sip hangup with reinvited media

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 25 13:20:35 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9209 
====================================================================== 
Reported By:                edgreenberg
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9209
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             03-05-2007 15:42 CST
Last Modified:              09-25-2007 13:20 CDT
====================================================================== 
Summary:                    race condition in sip hangup with reinvited media
Description: 
Condition: Server A (Asterisk 1.4.1) places call on server B (1.4.1) which
extends it to the provider, C (sonus)

When Asterisk 1.4.1 reinvites, and then the call ends, it reinvites the
destination end back to itself, then sends a bye without waiting for the
re-invite to be complete, causing a race condition.

If we are going to re-invite (back to ourselves), we should wait for the
100 Trying, then 200 OK, then ack the 200 OK, and only then, send a bye.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009305 [patch] REINVITE before 200ok causes a ...
====================================================================== 

---------------------------------------------------------------------- 
 jcmoore - 09-25-07 13:20  
---------------------------------------------------------------------- 
Initial tests seem to indicate that the sip_reinvite6.diff patch in
http://bugs.digium.com/view.php?id=9305 resolves this issue.  Hopefully we
can get some further testing and get it in to 1.4/trunk ASAP. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-25-07 13:20  jcmoore        Note Added: 0071080                          
======================================================================




More information about the asterisk-bugs mailing list