<div dir="ltr"><div>The Authenticate application will do this for you.<br><br><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate">https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate</a><br><br></div>You can either give it a single PIN to use for all calls, Authenticate using a value in the Asterisk Database, Or use a plain text file for the PIN's<br><br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 2:43 PM, Motty Cruz <span dir="ltr"><<a href="mailto:motty.cruz@gmail.com" target="_blank">motty.cruz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
I will like to configure Asterisk to use PIN Code for all outgoing international calls.<br>
<br>
Also, any suggestions as to when should I prompt users for code prior to dialing the number or after dialing the number?<br>
<br>
can someone provide with a example on how to accomplish this goal? I am a bit confuse by this : <a href="http://forums.digium.com/viewtopic.php?p=130936&sid=707f657f7a61dfed55e4922304925091" rel="noreferrer" target="_blank">http://forums.digium.com/viewtopic.php?p=130936&sid=707f657f7a61dfed55e4922304925091</a><br>
<br>
Thanks for your help.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</div>