<div dir="ltr">Thanks Eric, for respectfully pointing that link, it is the reason why I am posting my question for lack of knowledge. I had been working on Asterisk for the last 4 years, I am always learning something knew. <div><br></div><div>- Motty</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 2:15 PM, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1f497d">Your question demonstrates a fundamental lack of Asterisk concepts and knowledge.  You should start by reading <a href="http://www.asteriskdocs.org/" target="_blank">http://www.asteriskdocs.org/</a> and go from there.    Asterisk is not something you can learn in a few days.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>motty cruz<br><b>Sent:</b> Thursday, September 18, 2014 4:52 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Asterisk prefix code to dial a high fraud country - security mechanism<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Thank you Julian, <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">would it be possible to block calls to international calls except certain countries? I just want to make sure that if attackers try to place calls outside the states they not succeed.  <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks, <br>Motty<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, Sep 18, 2014 at 12:55 PM, Julian Beach <<a href="mailto:jb_soft@trink.co.uk" target="_blank">jb_soft@trink.co.uk</a>> wrote:<u></u><u></u></p><p class="MsoNormal">Hello motty,<br><br>Thursday, September 18, 2014, 6:35:40 PM, you wrote:<br><br>> Hello, I would to allow users to place calls overseas such as India<br>> and Malaysia but only with a security code. if they don't have a<br>> security code I want to be able to drop the calls. <br><br>I use this<br><br>exten => _0041,1,Log(NOTICE,Pin Code for Switzerland calls)<br>        same => n,Playback(silence/1)<br>        same => n,Authenticate(9084,,4)<br>        same => n,Macro(outgoingTrunk,${EXTEN})<br>        same => n,Hangup()<br><br>It  uses  a  fixed PIN number which calls a macro which deals with the<br>actual  dialling,  but  a  standard  Dial command would work here too.<br>Quick  and  easy, but there are lots of options. If the correct PIN is<br>not entered, the call is not made.<br><span style="color:#888888"><br><span>--</span><br><span>Best regards,</span><br><span> Julian                            mailto:<a href="mailto:jb_soft@trink.co.uk" target="_blank">jb_soft@trink.co.uk</a></span><br><br><br><span>--</span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --</span><br><span>New to Asterisk? Join us for a live introductory webinar every Thurs:</span><br><span>               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a></span><br><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span>   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></span><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></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>