<div dir="ltr">hello johan,<div><br></div><div style>i use <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Authenticate and i get what i want thank you so much for your help :)</span></div><div style>
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">exten => 600,1,Ringing(2)</span></div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">exten => 600,n,Answer</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">exten => 600,n,Authenticate(1234)</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">exten => 600,n,Goto(home,s,1)</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/5 Steve Edwards <span dir="ltr"><<a href="mailto:asterisk.org@sedwards.com" target="_blank">asterisk.org@sedwards.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, 5 Dec 2013, Salaheddine Elharit wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i have one question related to the IVR below<br>
<br>
exten => 600,1,Ringing()<br>
exten => 600,n,Wait(2)<br>
exten => 600,n,Goto(home,s,1)<br>
<br>
how can i ask the customer to enter a password before to go to (home,s,1)<br>
<br>
and where i must to store a password for example password 1234<br>
<br>
if the customer enter 1234 he can Goto(home,s,1) and if the password is wrong i playback an error message<br>
</blockquote>
<br></div>
That's 3 questions :)<br>
<br>
You need to provide more details.<br>
<br>
Is the password fixed or stored in a database? Is it the same as their voicemail password?<br>
<br>
There are examples for all these scenarios. Goggle about, read ATFOT, visit <a href="http://voip-info.org" target="_blank">voip-info.org</a> or use the Asterisk 'help' commands.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
exten => s,1,SetGlobalVar(sounds_path=/<u></u>var/lib/asterisk/sounds/)<br>
exten => s,n,Background(${sounds_path}<u></u>error<br>
</blockquote>
<br></div>
Why are you fiddling with global variables? Isn't '/var/lib/asterisk/sounds/' your 'default' sounds path?<br>
<br>
Please don't top post.<br>
<br>
Please trim irrelevent cruft from previous posts.<br>
<br>
Please don't burn all your karma points asking simple questions.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Thanks in advance,<br>
------------------------------<u></u>------------------------------<u></u>-------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br></div>