[asterisk-bugs] [Asterisk 0017479]: [patch] 3 way transfer - avoid deadlock

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 7 10:26:24 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17479 
====================================================================== 
Reported By:                ddkprog
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17479
Category:                   Channels/chan_mgcp
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-07 02:49 CDT
Last Modified:              2010-06-07 10:26 CDT
====================================================================== 
Summary:                    [patch] 3 way transfer - avoid deadlock
Description: 
history of this problem is
when the transfer of the channel chan_zap into the channel chan_mgcp
function attempt_transfer

/*******
       we have such comment inside it
static int attempt_transfer(struct mgcp_endpoint *p)
{
        /* *************************
         * I hope this works.
         * Copied out of chan_zap
         * Cross your fingers
         * *************************/
*************/

not taken into account that the channel chan_zap it fixed and undergo
changes.

as a result!
we are not synchronized function attempt_transfer in chan_mgcp with the
same function in the channel attempt_transfer in chan_zap(chan_dahdi)

patch fixes this problem!
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0002941 Previous locking improvements in chan_m...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-07 10:26 pabelanger     Summary                  [patch] (3 way transfer
- avoid deadlock) fixx to this issue
https://issues.asterisk.org/view.php?id=2941 => [patch] 3 way transfer - avoid
deadlock
======================================================================




More information about the asterisk-bugs mailing list