codian.gif IP GW 3510
host: IPGW
Index
Help contents > Managing Dial Plans > Understanding the dial plan

Understanding the dial plan

The IP gateway uses the dial plan to determine how to route IP calls either between the networks connected to Port A and Port B, or within those networks. When the IP gateway receives a request to initiate a new IP call, it examines the called number (if available), and uses the dial plan to determine whether to reject the call, find out which number should be called to initiate the outgoing part of the call, and to check whether or not the call should be connected to the operator or auto attendant.

There are a number of different ways in which you can use the dial plan. For example, you can use the dial plan to connect outside callers to an operator who can then connect the call, or you could configure the dial plan to allow internal callers to directly call any endpoint on their network.

The dial plan is actually divided into two; a dial plan for calls arriving on Port A and a dial plan for calls arriving on Port B. The behavior of the two dial plans is identical.

The maximum number of rules that can be added to each dial plan is 255.

Refer to the sections below for more information about the use and administration of dial plans:

Rules

Dial plans are administered using rules. Rules and their addition and control are identical for each dial plan.

Each rule has a name and comprises:

Using rules

Each dial plan comprises a set of rules. When the IP gateway receives a new incoming call, it selects the appropriate dial plan, then compares the called number (if available) to the condition of each rule in that dial plan until a match is found. When a match is found, no more rules are checked, and the action of the matching rule is used to determine what should be done next; typically the outgoing part of the connection will be initiated - calling a number specified by the action, the auto attendant is displayed or the connection will be rejected and the incoming part terminated.

If a dial plan contains no rules, or if no rule's condition matches the called number, calls are rejected by default.

Note that the IP gateway applies the dial plan to calls dialed using the auto attendant. This means that callers are able to use the same set of numbers regardless of whether they are dialing direct on their endpoint or dialing in the auto attendant. It also means that if you have a catch-all rule that connects callers to the auto attendant, calls matching that rule will never leave the auto attendant.

 

For more information on adding and modifying dial plan rules, see Adding and updating dial plan rules.

Rule ordering

Rules are always checked in the same order for each incoming call. This means that a dial plan can be designed to handle specific calling cases first, then general calls if no specific cases match. For example, a dial plan might be set up to call a particular endpoint if an incoming call is received to a specific number, but all other incoming calls get connected to an operator. Such a dial plan might look like this:

  1. Condition: Called number is "6056" / Action: Call this number $A (this calls the original dialed number).
  2. Condition: Match any called number / Action: Call the operator

Clearly rule ordering is important to achieve this functionality. You can view and test the rule list comprising a dial plan, and modify the ordering of the rules by dragging and dropping as required. (You can also use the up and down links to reorder.) For more information, see Displaying and testing the dial plan.

Related topics