Summary:ASTERISK-16219: [patch] 3 way transfer - avoid deadlock
Reporter:ddkprog (ddkprog)Labels:
Date Opened:2010-06-07 02:49:38Date Closed:2011-04-06 08:06:41
Versions:Frequency of
Environment:Attachments:( 0) chan_mgcp.c.transf.patch
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!


sorry, i can not provide debug and configuration because I have not access to equipment
Comments:By: Leif Madsen (lmadsen) 2010-06-09 10:28:13

As mentioned in the other bug, you're using chan_zap.c which has not existed for quite some time. We need to know that this is reproducible on chan_dahdi.c

By: Leif Madsen (lmadsen) 2010-06-09 10:29:06

Also based on your comments in the issue ASTERISK-16181 -- how does this differ?

By: ddkprog (ddkprog) 2010-06-09 12:32:33

>Also based on your comments in the issue 0017434 -- how does this differ?
>2010-06-09 10:28  lmadsen  Relationship added  related to 0017434  

This error is not related, becouse different channel

can you read my comment?
are you developer?

By: Leif Madsen (lmadsen) 2010-06-09 13:04:01

Yes I can read your comment.

By: Leif Madsen (lmadsen) 2010-06-09 13:13:26

What version of Asterisk is this bug being reported against?

By: Paul Belanger (pabelanger) 2010-06-23 09:22:46


By: ddkprog (ddkprog) 2010-06-23 09:37:30

whats ping?
any version of the asterisk have this problem
becouse a logic error on function attempt_transfer() in chan_mgcp.c
your seems not reading, that i am write

the problem https://issues.asterisk.org/view.php?id=17434 not relaited - delete it relation

full the problem with gdb and some patch describe at https://issues.asterisk.org/view.php?id=2941