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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 05:48:12 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.8.5
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-04 05:48 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
related to          0019177 pickup beep choppy. debug log shows &qu...
====================================================================== 

---------------------------------------------------------------------- 
 (0134408) alecdavis (manager) - 2011-05-04 05:48
 https://issues.asterisk.org/view.php?id=18654#c134408 
---------------------------------------------------------------------- 
ast_do_pickup7.txt

Additional fine tuning, in the situation where 2 callers try to pickup the
same call, previously the failed pickup you hear the errorbeep after the
winner had heard the success beep. Had the pickupsound been tt-weasels, the
pickupfailsound would take some 2-3 seconds before it was played.

Now they play in parallel, well 50ms apart.<pre>[2011-05-04
22:30:36.059702] DEBUG[2689] features.c: pickup attempt by
SIP/gxp824-00000013
[2011-05-04 22:30:36.059945] DEBUG[2689] features.c: Call pickup on
'SIP/gxp823-00000012' by 'SIP/gxp824-00000013'

[2011-05-04 22:30:36.120047] DEBUG[2800] features.c: pickup attempt by
DAHDI/33-1
[2011-05-04 22:30:36.141294] DEBUG[2689] channel.c: Planning to masquerade
channel SIP/gxp824-00000013 into the structure of SIP/gxp823-00000012
[2011-05-04 22:30:36.141438] DEBUG[2689] channel.c: Done planning to
masquerade channel SIP/gxp824-00000013 into the structure of
SIP/gxp823-00000012
[2011-05-04 22:30:36.141607] DEBUG[2799] channel.c: Actually Masquerading
SIP/gxp824-00000013(6) into the structure of SIP/gxp823-00000012(5)

[2011-05-04 22:30:36.144401] DEBUG[2799] channel.c: Done Masquerading
SIP/gxp824-00000013 (6)
[2011-05-04 22:30:36.144668] VERBOSE[2799] app_dial.c:     --
SIP/gxp824-00000013 answered SIP/gxp822-00000011
[2011-05-04 22:30:36.145129] DEBUG[2800] features.c: No call pickup
possible... for DAHDI/33-1

[2011-05-04 22:30:36.148954] DEBUG[2800] channel.c: Scheduling timer at
(50 requested / 50 actual) timer ticks per second
[2011-05-04 22:30:36.149069] DEBUG[2799] chan_sip.c: ** Our prefcodec:
(nothing)
[2011-05-04 22:30:36.149323] VERBOSE[2800] file.c:     -- <DAHDI/33-1>
Playing 'beeperr.gsm' (language 'en')
[2011-05-04 22:30:36.149125] DEBUG[2689] channel.c: Scheduling timer at
(50 requested / 50 actual) timer ticks per second
[2011-05-04 22:30:36.150070] VERBOSE[2689] file.c:     --
<SIP/gxp824-00000013> Playing 'beep.gsm' (language 'en')</pre> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 05:48 alecdavis      Note Added: 0134408                          
======================================================================




More information about the asterisk-bugs mailing list