[asterisk-users] issue with speech in IVR

Salaheddine Elharit salah.elharit200 at gmail.com
Thu Nov 28 04:22:57 CST 2013


hello,

i have add the the code below but the issue still the same i can't go to
the project during the speech
any other solution

best regards

NB:for the version of asterisk i can't move to another version for the
moment

exten => _X,1,NoOp(Digit entered during prompt)
exten => _X,2,Goto(project,s,1)


2013/11/28 Paul Belanger <paul.belanger at polybeacon.com>

> 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
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131128/42857b9a/attachment.html>


More information about the asterisk-users mailing list