[asterisk-bugs] [Asterisk 0018654]: [patch] [regression] Call Pickup Hangs Asterisk (deadlock?)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 12 04:09:48 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18654 
====================================================================== 
Reported By:                Docent
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18654
Category:                   Features
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Target Version:             1.4/1.6.2 Issues (Final Release)
Asterisk Version:           SVN 
JIRA:                       SWP-3085 
Regression:                 Yes 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1185/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-21 01:16 CST
Last Modified:              2011-05-12 04:09 CDT
====================================================================== 
Summary:                    [patch] [regression] Call Pickup Hangs Asterisk
(deadlock?)
Description: 
Asterisk stops to service new calls when someone tries to pickup a call by
pressing *8. Some existing calls are also terminated, although others
continue to work. I still can run any command in the console, but I can't
stop or kill Asterisk. I can kill it only with -9 flag.
I found this trouble in versions 1.8.1, 1.8.2 and SVN.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0018906 Deadlock using pickup extension
has duplicate       0018955 after picking up a call, phones stop wo...
has duplicate       0019092 Calls getting stuck when dialing *8
has duplicate       0019125 Deadlocks on 1.6.2.17.2
related to          0019177 pickup beep choppy. debug log shows &qu...
====================================================================== 

---------------------------------------------------------------------- 
 (0134822) alecdavis (manager) - 2011-05-12 04:09
 https://issues.asterisk.org/view.php?id=18654#c134822 
---------------------------------------------------------------------- 
yuck: all the channels may need the same treatment as has worked for
CHAN_SIP.

Block/Stall verifed with 3 DAHDI FXS extensions.
SIP dials DAHDI A, DAHDI B and DAHDI C both try to pickup DAHDI A.

To highlight the issue, set in features.conf
pickupexten = *8
pickupsound = tt-somethingwrong
pickupfailsound = beeperr 

Not necessarily a deadlock, but a block while the winning pickupsound is
played out, only when that is finished, does the pickupfailsound play out.

channels/chan_dahdi.c:   if (ast_pickup_call(chan)) {
channels/chan_vpb.cc:    if (ast_pickup_call(c)) {
channels/chan_sip.c:     if (ast_pickup_call(chan)) {
channels/chan_misdn.c:   if (ast_pickup_call(ch->ast)) {
channels/chan_misdn.c:   if (ast_pickup_call(chan)) {
channels/chan_mgcp.c:    if (ast_pickup_call(chan)) {
channels/sig_analog.c:   if (ast_pickup_call(chan)) { 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-12 04:09 alecdavis      Note Added: 0134822                          
======================================================================




More information about the asterisk-bugs mailing list