[asterisk-users] issue with speech in IVR

Paul Belanger paul.belanger at polybeacon.com
Wed Nov 27 18:30:26 CST 2013


On 13-11-27 04:57 PM, Salaheddine Elharit wrote:
> hello list
>
> i have an IVR menu in asterisk 1.4
>
> like below
>
> exten => 600,1,Ringing()
> exten => 600,n,Wait(2)
> exten => 600,n,Goto(home,s,1)
>
>
>
>
> [home]
> exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
> exten => s,n,Background(${sounds_path}music1)
> exten => s,n,Background(${sounds_path}music2)
> exten => s,n,Background(${sounds_path}music3)
> exten => s,n,WaitExten(5)
> exten => s,n,goto(home,s,1)
> exten => i,1,Playback(${sounds_path}error)
> exten => i,n,WaitExten(5)
> exten => i,n,goto(home,s,1)
> exten => 1,1,Goto(project,s,1)
>
exten => _X,1,NoOp(Digit entered during prompt)
exten => _X,2,Goto(project,s,1)

>
> [project]
>
>
> exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
> exten => s,n,Background(${sounds_path}mymusic)
> exten => s,n,WaitExten(5)
> exten => s,n,Goto(project,s,1)
> exten => i,1,Playback(${sounds_path}error)
> exten => i,n,goto(project,s,1)
>
> my problem when the customor call the number 600 and press 1 in order to go
> to the project menu  he must wait all the speech music1 music2 and music 3
>
> if there is any way to go to project menu during the speech
>
> thanks and regards
>
>
>


-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger



More information about the asterisk-users mailing list