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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 26 10:24:18 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-26-2007 10:24 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 edgreenberg - 09-26-07 10:24  
---------------------------------------------------------------------- 
I no longer consult at the company where I discovered this, so I don't have
access to those servers. Sorry I can't try to reproduce. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-26-07 10:24  edgreenberg    Note Added: 0071113                          
======================================================================




More information about the asterisk-bugs mailing list