3 Replies Latest reply on Mar 3, 2015 2:55 PM by patrick

    How to block international calling except certain countries

    billphx New Member

      We are using an Atlas 800 to share (3) network PRI's between 6-8 different devices (user PRI)

       

      Right now, the network term Out#Accept is set to $, Out#Rej is blank.

       

      I would like to set up a rule so that only certain countries can be dialed internationally out the network term PRI circuits.

      Example:

      01131.... accept

      01144.... accept

      011anything else: reject

       

      Possible?

       

      Could I do something like

      a) Setting the network term Out#Accept to 01131, 01141, $ and setting Out#Rej to 011

      or

      b) Setting the network term Out#Accept to 01131, 01141, $ and setting an unused user term In#Accept to 011

       

      Is there a wildcard that can be used for unknown number of digits following a prefix?

       

      Any other suggestions?

       

      thanks

      bill

        • Re: How to block international calling except certain countries
          patrick Employee

          Thank you for your question.

           

          The "$" is used to indicate an unknown number of digits. So for international numbers you can use "011$" so if the number starts with "011" and is followed by any number of additional digits it matches.

           

          The problem I see is that if you put "011$" in the OUT#REJECT then all international calls will be rejected (even if you specify other patterns in the OUT#ACCEPT). The OUT#REJECT is matched first, so if a number is rejected it cannot be allowed out the specified interface.

           

          You could remove the "$" from the OUT#ACCEPT and put in "1-NXX-NXX-XXXX" for long distance, "0-NXX-NXX-XXXX" for toll free, and then specify the international prefixes you want to allow, such as "011-31$" and "011-41$" etc. You should also include "411" and "911" and either 7-digit or 10-digit local dialing patterns. This way if the number does not match one of the patterns specified it will be rejected (but may then be routed out a USER TERM if any of those accept "$").

           

          This is the only way I know to allow specific international dialing.

           

          Hope this helps,

          Patrick