Summary:ASTERISK-16922: Playback/Background stops after 4 or less seconds
Reporter:Danny Nicholas (sethsdad)Labels:
Date Opened:2010-11-05 10:42:46Date Closed:2011-06-07 14:04:58
Versions:Frequency of
Environment:Attachments:( 0) full_1105.txt
( 1) full_1105c.txt
Description:When connecting to 1.8.0 from 1.4.26 via IAX2, the playback/Background commands will lose audio and seem to stop dialplan.  This is only an illusion, since pressing DTMF produces a continuation through the dialplan.  Occurs randomly, but consistently.  If I play 5 prompts, it may stop on #1 one time, #3 the next and ASTERISK-1 another, but will consistently stop on one of the playbacks.
Comments:By: Danny Nicholas (sethsdad) 2010-11-05 11:12:29

Also occurs on Read command.  I installed DAHDI to see if timing had anything to do with it, but still no joy.

On my last test, call got "hung" trying to play "goodbye" message.  see log full_1105.txt.

By: Danny Nicholas (sethsdad) 2010-11-05 11:38:38

did iax2 set debug on and iax2 set debug trunk on and did a call.  Log from call attached as full_1105c.txt

By: Danny Nicholas (sethsdad) 2010-11-08 12:43:45.000-0600

Resolution from issue 18110 seems to have this under control
The work around seems to be to set

internal_timing = yes

in asterisk.conf


noload => res_timing_dahdi.so
;noload => res_timing_pthread.so
noload => res_timing_timerfd.so

in modules.conf

Which forces asterisk to use the (older less efficient/accurate) pthreads timer.