[asterisk-users] IAX and SETLANGUAGE delays
Joel Hill
jhill at asteriskit.com.au
Wed May 2 20:38:45 MST 2007
Hi Jonathon,
Here's the relevant part (I hope!)
exten => _XX5,1,Answer
exten => _XX5,2,Set(COUNT=0)
exten => _XX5,3,Wait(1)
exten => _XX5,4,Background(ST1000-001-1) ;english
exten => _XX5,5,Background(STS1000-001-1) ;spanish
exten => _XX5,6,Background(STG1000-001-1) ;greek
exten => _XX5,7,Background(STI1000-001-1) ;italian
exten => _XX5,8,WaitExten(1)
exten => 1,1,Set(LANGUAGE()=english) ; english
exten => 1,2,Goto(STE1050,s,1)
exten => 2,1,Set(LANGUAGE()=spanish) ;spanish
exten => 2,2,Goto(STE1050,s,1)
exten => 3,1,Set(LANGUAGE()=greek) ;greek
exten => 3,2,Goto(STE1050,s,1)
exten => 4,1,Set(LANGUAGE()=italian) ;italian
exten => 4,2,Goto(STE1050,s,1)
exten => 7,1,Goto(incoming,_XX5,1)
exten => 8,1,Set(COUNT=$[${COUNT} + 1]) ; after pressing 8 2 times then
goes to consultant
exten => 8,2,GotoIf($[${COUNT} = 3]?4:3)
exten => 8,3,Goto(incoming,_XX5,4)
exten => 8,4,Goto(STE1850,s,1)
exten => 9,1,Playback(STE-thankyou) ; hangs up after plays thank you
for calling msg
exten => 0,1,Goto(STE1850,s,1) ; sends to consultant
Cheers,
Joel
On Wed, 2007-05-02 at 22:49 -0400, Jonathan Barratt wrote:
> Hi Joel,
>
> 6 seconds sounds suspiciously like Asterisk's dialplan timeout value.
> Perhaps you have a wildcard extension that it's waiting to match
> against. Either post the relevant section of dial plan or send it to me
> off-list, as you prefer, and we'll see what we can find...
>
> Best,
> Jonathan
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joel Hill
> Sent: Wednesday, May 02, 2007 9:27 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] IAX and SETLANGUAGE delays
>
> Hi all,
>
> I'm having some trouble. I've got an IVR with 4 different languages
> using the SETLANGUAGE command and I'm getting a 6 second delay when I
> make the first selection, after that all is fine. There's nothing in my
> dial plan that I can find that would be causing it. And the delay is
> driving me nuts!
> I have an IAX connection from a provider coming in. Could this be the
> cause? Has anyone experienced anything similar.
>
> Thanks,
>
> Joel.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list