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">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 class="im"><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>