<div>See "core show application authe<TAB>"</div><div>If passwords are already the same as those of voicemail.conf go for application VMAuthenticate() - DIA generates a dial-tone which I don't think is suitable for dialling out from users(insiders)</div>
<div><br></div><div><font class="Apple-style-span" color="#cc33cc"> -= Info about application 'Authenticate' =-</font></div><div><br></div><div><font class="Apple-style-span" color="#cc33cc">[Synopsis]</font></div>
<div>Authenticate a user</div><div><br></div><div><font class="Apple-style-span" color="#cc33cc">[Description]</font></div><div>This application asks the caller to enter a given password in order to continue</div><div>dialplan execution.</div>
<div>If the password begins with the '/' character, it is interpreted as a file</div><div>which contains a list of valid passwords, listed 1 password per line in the</div><div>file.</div><div>When using a database key, the value associated with the key can be anything.</div>
<div>Users have three attempts to authenticate before the channel is hung</div><div>up.</div><div><br></div><div><font class="Apple-style-span" color="#cc33cc">[Syntax]</font></div><div>Authenticate(password[,options[,maxdigits[,prompt]]])</div>
<div><br></div><div><font class="Apple-style-span" color="#cc33cc">[Arguments]</font></div><div>password</div><div> Password the user should know</div><div>options</div><div> a: Set the channels' account code to the password that is entered</div>
<div> d: Interpret the given path as database key, not a literal file</div><div> m: Interpret the given path as a file which contains a list of account</div><div> codes and password hashes delimited with ':', listed one per line in the</div>
<div> file. When one of the passwords is matched, the channel will have its</div><div> account code set to the corresponding account code in the file.</div><div> r: Remove the database key upon successful entry (valid with 'd'</div>
<div> only)</div><div>maxdigits</div><div> maximum acceptable number of digits. Stops reading after maxdigits</div><div> have been entered (without requiring the user to press the '#' key).</div><div> Defaults to 0 - no limit - wait for the user press the '#' key.</div>
<div>prompt</div><div> Override the agent-pass prompt file.</div><div><br></div><div><font class="Apple-style-span" color="#cc33cc">[See Also]</font></div><div>VMAuthenticate(), DISA()</div><div><br></div><br><div class="gmail_quote">
On Wed, Sep 21, 2011 at 9:47 AM, Malvin Rito <span dir="ltr"><<a href="mailto:mrito@mail.altcladding.com.ph">mrito@mail.altcladding.com.ph</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Thanks. ?If I want to use unique PIN for every user that dials out
how can I implement it using Authenticate app?<br>
<br>
Regards,<br><font color="#888888">
Malvin</font><div><div></div><div class="h5"><br>
<br>
On 9/21/2011 12:42 PM, Sam Govind wrote:
<blockquote type="cite">DISA and DB based Auth could be an overkill.
<div><br>
<div>Kyle showed the very simplistic dial plan if Dial-out pin
is common for the whole system.</div>
<div>See application <b>Authenticate(password[,options[,maxdigits[,prompt]]]
</b>and if Voicemail PIN are required to be used use
application <b>MAuthenticate([mailbox][@context][,options] </b> </div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>- Sammy<br>
<div><br>
On Wed, Sep 21, 2011 at 8:32 AM, Kyle Sexton <span dir="ltr"><<a href="mailto:ks@mocker.org" target="_blank">ks@mocker.org</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Something like this
should work:
<div><br>
</div>
<div>
<div>exten => _011.,1,Answer</div>
<div>exten => _011.,n,Wait(1)</div>
<div>exten =>
_011.,n,Read(password,enter-password,5)</div>
<div>exten => _011.,n,GotoIf($[${password} =
12345]?5:9)</div>
<div><br>
</div>
<div>exten => _011.,n,NoOp(Matched _9011 -
CheckRec-InternationalCall)</div>
<div>exten =>
_011.,n,Dial(SIP/+${EXTEN:3}@outbound)</div>
<div><br>
</div>
<div>exten => _011.,n,Hangup</div>
<div>exten => _011.,n,Playback(invalid)</div>
<div>exten => _011.,n,Hangup</div>
<div><br>
</div>
<div>Could be cleaned up (the GotoIf isn't very
descriptive about where it's going), but it's a
starting point.</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>On Sep 20, 2011, at 8:34 AM, Malvin Rito
wrote:</div>
<br>
<blockquote type="cite">
<div><span style="font-size:10pt;font-family:Arial;font-weight:Normal">Hi
List,<br>
I currently have a asterisk server running
used for dialing-out for IDD but I want to
Put a pincode wherein only users with the
right pin code will be allowed to dial
IDD. Any sample dialplan you can suggest
pls?<br>
<br>
Thanks,<br>
Malvin</span></div>
--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a></blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</div></div></div>
<br>--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>