<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Something like this should work:<div><br></div><div><div>exten =&gt; _011.,1,Answer</div><div>exten =&gt; _011.,n,Wait(1)</div><div>exten =&gt; _011.,n,Read(password,enter-password,5)</div><div>exten =&gt; _011.,n,GotoIf($[${password} = 12345]?5:9)</div><div><br></div><div>exten =&gt; _011.,n,NoOp(Matched _9011 - CheckRec-InternationalCall)</div><div>exten =&gt; _011.,n,Dial(SIP/+${EXTEN:3}@outbound)</div><div><br></div><div>exten =&gt; _011.,n,Hangup</div><div>exten =&gt; _011.,n,Playback(invalid)</div><div>exten =&gt; _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><br></div><div><br></div><div><div>On Sep 20, 2011, at 8:34 AM, Malvin Rito wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><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">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br></div></body></html>