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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 9 13:04:01 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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:                       SWP-1664 
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 13:04 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0123207) lmadsen (administrator) - 2010-06-09 13:04
 https://issues.asterisk.org/view.php?id=17479#c123207 
---------------------------------------------------------------------- 
Yes I can read your comment. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-09 13:04 lmadsen        Note Added: 0123207                          
======================================================================




More information about the asterisk-bugs mailing list