[asterisk-bugs] [Asterisk 0013442]: wait_for_answer never receives HANGUP frame sent via ast_queue_hangup

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 16 09:02:45 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13442 
====================================================================== 
Reported By:                gui
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13442
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-08 14:24 CDT
Last Modified:              2008-09-16 09:02 CDT
====================================================================== 
Summary:                    wait_for_answer never receives HANGUP frame sent via
ast_queue_hangup
Description: 
1) A user calls into our Asterisk pbx via one of our PSTN lines and dials
   a SIP extension.
2) The caller hangs up the PSTN line before anyone answers the SIP
extension.
3) Our channel driver calls ast_queue_hangup to inform Asterisk of the
hangup.
4) Asterisk never acknowledges the hangup and the call eventually times
out.

====================================================================== 

---------------------------------------------------------------------- 
 (0092551) jvandal (reporter) - 2008-09-16 09:02
 http://bugs.digium.com/view.php?id=13442#c92551 
---------------------------------------------------------------------- 
Using latest branches/1.4 (SVN rev 143202), got these locks, maybe this is
related to this ticket ? 

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 2997132192 (pbx_thread           started at [ 2645] pbx.c
ast_pbx_start())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (channel.c): MUTEX 1451
ast_hangup &chan->lock 0xb28b59a8
(1)
=== ---> Lock http://bugs.digium.com/view.php?id=1 (chan_local.c): MUTEX 519
local_hangup &p->lock
0xb28ff118 (1)
=== ---> Tried and failed to get Lock http://bugs.digium.com/view.php?id=2
(channel.c): MUTEX 962
ast_queue_hangup &chan->lock 0xb2823b10 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 2960927648 (pbx_thread           started at [ 2645] pbx.c
ast_pbx_start())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (channel.c): MUTEX 2613
ast_write &chan->lock 0xb2823b10
(1)
=== ---> Waiting for Lock http://bugs.digium.com/view.php?id=1 (chan_local.c):
MUTEX 313 local_write
&p->lock 0xb28ff118 (1)
=== --- ---> Locked Here: chan_local.c line 519 (local_hangup)
=== -------------------------------------------------------------------
===
======================================================================= 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-16 09:02 jvandal        Note Added: 0092551                          
======================================================================




More information about the asterisk-bugs mailing list