[asterisk-users] Security on long distance calls

Dovid B asteriskusers at dovid.net
Sun Apr 1 02:53:47 MST 2007


Or you can do

exten => _011.,1,Authenticate(1234)
exten => _011.,2,Dial(SIP/${EXTEN}@sip_provider)

Also this is a bit more complicated but you can do it by sip extension. If CID of phone = phone that is allowed then let it go out..... This will be hard considering you will have to make a gotoif for every extension that you want to allow to call intl.
  ----- Original Message ----- 
  From: Rizwan Hisham 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Friday, March 30, 2007 11:18 AM
  Subject: Re: [asterisk-users] Security on long distance calls


  For operator:

  [longdistance]
  include=> local
  include=> International

  for extensions:

  [localcalls]
  include=> local

  now assign longdistance context to operator and localcalls context to every other user for whom you want to restrict intl calls 

  [local]
  should include all local extension codes

  [International]
  should include all international extension codes

  you get my point?


  On 3/30/07, Stefano Corsi <scorsi at floo.it> wrote:
    Hello, 

    which kind of method could you use to inhibit long distance calls to
    _some_ extensions?
    Is there a way to do it with freepbx or you have to do it manually in
    the config files? I wouldn't like to set a route password, because 
    that is not confortable for the pbx operator. I just would like the
    operator being able to call whatever number, while the extensions
    should only be able to make local calls.

    Thanks
    Stefano


    _______________________________________________
    --Bandwidth and Colocation provided by Easynews.com --

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




  -- 
  Regards
  Rizwan Hisham
  Software Engineer 


------------------------------------------------------------------------------


  _______________________________________________
  --Bandwidth and Colocation provided by Easynews.com --

  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
     http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070401/f878c3c7/attachment.htm


More information about the asterisk-users mailing list