<div dir="ltr">Thank you Julian, <div><br></div><div>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.  </div><div><br></div><div>Thanks, <br>Motty</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 12:55 PM, Julian Beach <span dir="ltr"><<a href="mailto:jb_soft@trink.co.uk" target="_blank">jb_soft@trink.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello motty,<br>
<span class=""><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>
</span>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 class="HOEnZb"><font color="#888888"><br>
--<br>
Best regards,<br>
 Julian                            mailto:<a href="mailto:jb_soft@trink.co.uk">jb_soft@trink.co.uk</a><br>
<br>
<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></font></span></blockquote></div><br></div>