[asterisk-dev] ExternalIVR with sockets on release 1.6.2.0

Kevin P. Fleming kpfleming at digium.com
Thu Mar 4 16:01:12 CST 2010


Dan Cropp wrote:
> Additional info, I'm using X-Lite to place a call into Asterisk.
> 
> The dialplan is...
> 
> exten => 101,1,Verbose(1,Unrouted call handler)
> exten => 101,2,Answer()
> exten => 101,n,Playback(beep)
> exten => 101,n,Playback(enter-a-time)
> ;Everything up to this point plays perfect
> ;Everything played from the script (as well as when I tried from netcat)
> ;For example, enter-a-time was about 6 seconds of playing above
> ;Inside ExternalIVR enter-a-time plays in about 3 seconds
> exten => 101,n,ExternalIVR(/root/play_beep.sh)
> exten => 101,n,Hangup()
> 
> 
> play_beep.sh is...
> 
> #!/bin/sh
> 
> echo "O,autoclear"
> echo "A,beep"
> echo "A,enter-a-time"
> sleep 10

app_externalivr does have its own audio generator implementation (it has
to, so that it control playback interruption and know when one file ends
and the next begins), so it is entirely possible that something has been
broken in it.

What audio format (codec) and sampling rate are you using for these calls?

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list