[asterisk-bugs] [Asterisk 0017151]: Playback deadlock?

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 15 16:38:53 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17151 
====================================================================== 
Reported By:                RobinFood
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17151
Category:                   Applications/app_playback
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.6 
JIRA:                       SWP-1304 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-08 12:24 CDT
Last Modified:              2010-04-15 16:38 CDT
====================================================================== 
Summary:                    Playback deadlock?
Description: 
My issue is very close to the issue id 0014412. 

I'm using the Local channel to make a dialout calls.
I'm using the Playback application to play a gsm-file.
Sometimes (approximately 1 from 10 Playback calls) Playback application
stops to play after 1-5 seconds of a voice. Next-priority extensions does
not start. MixMonitor records a silence from * and a voice from a called
party. 
====================================================================== 

---------------------------------------------------------------------- 
 (0120518) RobinFood (reporter) - 2010-04-15 16:38
 https://issues.asterisk.org/view.php?id=17151#c120518 
---------------------------------------------------------------------- 
There is no channel in the memory after hangup. 

This appears to be not dialout-specific - dialin has the same problem.
Moreover, the problem remains after switching from SIP to H.323, so it's
not SIP-specific.

Here is the simplified dialplan to reproduce the issue:
[Alcatel]
exten => 791,1,Dial(Local/791 at dialtest2)
exten => 791,n,Hangup()
[dialtest2]
exten => 791,1,Playback(/etc/asterisk/sounds/dialtest/2)
exten => 791,n,Hangup()
The way to reproduce: dial from the Alcatel context to the 791 extension
several times. One of them will stuck (now it was on 6th retry).

I agree that there may be something wrong with the Local channel -
replacing Dial(Local...) with Goto(dialtest2...) resolves problem (or at
least reduces its repeat rate - I tried 35 calls with Goto and all 35 calls
succeeded).
----------------
Before hangup there was one thing which may be interesting: channel
Local/791 at dialtest2-88c9;1 was in state 'Up', but channel
Local/791 at dialtest2-88c9;2 was in state 'Ringing (5)'. 

On the other hand, when I encountered this issue for the first time, there
were seven sequential Playback calls in the one context - and I remember
that
Playback always stuck soon (1-5 seconds) after starting play, even if it
was not first Playback in sequence. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-15 16:38 RobinFood      Note Added: 0120518                          
======================================================================




More information about the asterisk-bugs mailing list