[asterisk-bugs] [Asterisk 0018110]: Playback stalls when playing demo-congrats to an IAX2 channel

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 8 15:58:16 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18110 
====================================================================== 
Reported By:                tpanton
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18110
Category:                   Channels/chan_iax2
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2351 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 290936 
Request Review:              
====================================================================== 
Date Submitted:             2010-10-08 08:29 CDT
Last Modified:              2010-11-08 15:58 CST
====================================================================== 
Summary:                    Playback stalls when playing demo-congrats to an
IAX2 channel
Description: 
Calls from IAX to test context often stall (50% of the time?) in playback.
Call is up, but no progress made.
Problem does not occur in SIP calls.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018105 Playback of audio file (gsm,ulaw) audio...
====================================================================== 

---------------------------------------------------------------------- 
 (0128713) svnbot (reporter) - 2010-11-08 15:58
 https://issues.asterisk.org/view.php?id=18110#c128713 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 294277

U   branches/1.6.2/include/asterisk/timing.h
U   branches/1.6.2/main/channel.c
U   branches/1.6.2/main/timing.c
U   branches/1.6.2/res/res_timing_timerfd.c

------------------------------------------------------------------------
r294277 | jpeeler | 2010-11-08 15:58:15 -0600 (Mon, 08 Nov 2010) | 16
lines

Fix playback failure when using IAX with the timerfd module.

To fix this issue the alert pipe will now be used when the timerfd module
is
in use. There appeared to be a race that was not solved by adding locking
in the
timerfd module, but needed to be there anyway. The race was between the
timer
being put in non-continuous mode in ast_read on the channel thread and the
IAX 
frame scheduler queuing a frame which would enable continuous mode before
the
non-continuous mode event was read. This race for now is simply avoided.

(closes issue https://issues.asterisk.org/view.php?id=18110)
Reported by: tpanton
Tested by: tpanton

I put tested by tpanton because it was tested on his hardware. Thanks for
the
remote access to debug this issue!

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=294277 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-08 15:58 svnbot         Checkin                                      
2010-11-08 15:58 svnbot         Note Added: 0128713                          
======================================================================




More information about the asterisk-bugs mailing list