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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 9 10:29:46 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:                     feedback
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-09 10:29 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...
related to          0017434 [patch] transfer from queue problem (lo...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-09 10:29 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list