Re: [asterisk-users] Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.

2016-11-18 Thread Jonathan H
Right, well I tried a few things (I mean, days of things) and this is what I came up with. 2 Questions: 1: Is there a simpler way? 2: Is there a trick to pass back a variable to the calling channel, rather than setting a global? (This is for an agi process that can take up to ten seconds to query

[asterisk-users] Timing test

2016-11-18 Thread Jerry Geis
On two different systems I did the "timing test". Both are running asterisk 11.24.1 One system reported (with good audio) It has been 1000 milliseconds and we got 50 timer ticks the system with the garbled audio reported It has been 1019 milliseconds and we got 51 timer ticks. how do I know if t

Re: [asterisk-users] Asterisk 11.24.1 garbled audio

2016-11-18 Thread Olivier
On a newly installed idle 11.13.1 enabled system, I do also have: CLI> module show like timing Module Description Use Count res_timing_pthread.so pthread Timing Interface 0 res_timing_timerfd.so Timerfd Timing Interface 0 2 mod

[asterisk-users] Any way of just killing ALL stray WHILE loops?

2016-11-18 Thread Jonathan H
tl;dr Is there ANY way/hack of just telling Asterisk to destroy *all* WHILE loops it may be nested in at a certain time? Reason: you know the thing about WHILE loops not only having to have "seen" their endwhile to finish properly? If not, a reminder before it gives you 3am sleepless nights: http