Your question demonstrates a fundamental lack of Asterisk concepts and 
knowledge.  You should start by reading http://www.asteriskdocs.org/ and go 
from there.    Asterisk is not something you can learn in a few days.

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of motty cruz
Sent: Thursday, September 18, 2014 4:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk prefix code to dial a high fraud country 
- security mechanism

Thank you Julian,

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.

Thanks,
Motty

On Thu, Sep 18, 2014 at 12:55 PM, Julian Beach 
<jb_s...@trink.co.uk<mailto:jb_s...@trink.co.uk>> wrote:
Hello motty,

Thursday, September 18, 2014, 6:35:40 PM, you wrote:

> Hello, I would to allow users to place calls overseas such as India
> and Malaysia but only with a security code. if they don't have a
> security code I want to be able to drop the calls.

I use this

exten => _0041,1,Log(NOTICE,Pin Code for Switzerland calls)
        same => n,Playback(silence/1)
        same => n,Authenticate(9084,,4)
        same => n,Macro(outgoingTrunk,${EXTEN})
        same => n,Hangup()

It  uses  a  fixed PIN number which calls a macro which deals with the
actual  dialling,  but  a  standard  Dial command would work here too.
Quick  and  easy, but there are lots of options. If the correct PIN is
not entered, the call is not made.

--
Best regards,
 Julian                            
mailto:jb_s...@trink.co.uk<mailto:jb_s...@trink.co.uk>


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to