[asterisk-users] issue with speech in IVR

Steve Edwards asterisk.org at sedwards.com
Thu Dec 5 11:59:42 CST 2013


On Thu, 5 Dec 2013, Salaheddine Elharit wrote:

> i have one question related to the IVR below
>
> exten => 600,1,Ringing()
> exten => 600,n,Wait(2)
> exten => 600,n,Goto(home,s,1)
>
> how can i ask the customer to enter a password before to go to (home,s,1)
>
> and where i must to store a password for example password 1234
>
> if the customer enter 1234 he can Goto(home,s,1) and if the password is wrong i playback an error message

That's 3 questions :)

You need to provide more details.

Is the password fixed or stored in a database? Is it the same as their 
voicemail password?

There are examples for all these scenarios. Goggle about, read ATFOT, 
visit voip-info.org or use the Asterisk 'help' commands.

> exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
> exten => s,n,Background(${sounds_path}error

Why are you fiddling with global variables? Isn't 
'/var/lib/asterisk/sounds/' your 'default' sounds path?

Please don't top post.

Please trim irrelevent cruft from previous posts.

Please don't burn all your karma points asking simple questions.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list