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

Example dial plan rules

Use the examples on this page to help you configure your own dial plan rules.

Note that you need to consider both the Port A and Port B dial plans. Depending on how you have configured your network and which networks you have connected to Port A and Port B, you might need to configure different dial plans for each port.

Rules are always checked in the same order for each incoming call. This means that a dial plan must be designed to handle specific calling cases first, then general calls if no specific cases match. You might want to put a catch-all rule at the bottom of the dial plan; for example, a rule that will connect any call that does not match any of the preceding rules to the operator.

Examples on this page:

To see example rules working together in a dial plan, refer to Example dial plan.

Dial the operator

Using a gatekeeper, you can configure an extension so that callers can easily connect to the operator. For this example to work, both the IP gateway and the caller's endpoint must be registered with the same gatekeeper. In this example, the IP gateway has a dial plan prefix of 98 registered with the gatekeeper. This rule forwards any calls to 980 to the operator:

 

# Condition Action Description

0

Called number matches "980"

Call the operator

This rule forwards all calls to the dialed number to the operator.

Note that you can also set the action for a call to the IP address or hostname of the IP gateway to call the operator.

Dial an IP address

The dial plan can be used to allow callers to dial IP addresses. This can be useful where the IP gateway is between a company network and the internet. In this example, the IP gateway is registered with a gatekeeper with dial plan prefix 98 and the caller's endpoint is registered with the same gatekeeper.

 

# Condition Action Description

1

Called number matches "98 (D*) S (D*) S (D*) S (D*)"

Call this number: $1.$2.$3.$4

This rule takes an IP address with stars (asterisks) used to replace dots, and converts it into a dot-separated IP address and calls that IP address.

For example, the caller dials:

98198*192*12*12

The IP gateway calls:

198.192.12.12

 

Dial in to a conference on an MCU

You can configure the dial plan to allow callers to dial in to conferences on an MCU. For this example to work, the IP gateway and the caller's endpoint must both be registered with the same gatekeeper. In this example, the IP gateway is registered with a dial plan prefix of 98.

 

# Condition Action Description

2

Called number matches
"980 (D*)"

Call this number: 192.168.12.10 ! $1

In this rule, the caller dials 980 followed by the numeric ID of the conference they require on the MCU with the given IP address. In this example, the MCU has IP address 192.168.12.10. For example to dial a conference on that MCU with a numeric ID of 2222, the caller will dial:

9802222

Setting the action for a call to the IP address or hostname of the IP gateway

Use the dial plan to configure the action for a call to the IP address or hostname of the IP gateway. Use of this rule does not require the use of a gatekeeper.

 

# Condition Action Description

3

No called number

Depending on the action you require, one of:

  • Reject the call
  • Enter the auto attendant
  • Call the operator
  • Call this number <number>

Use of this rule in the dial plan (so long as it is above any rule with condition: Match any called number), controls the action for a call to the IP address or hostname of the IP gateway:

  • Reject the call: all calls to the IP address/hostname will be rejected - the call will not be allowed.
  • Enter the auto attendant: all calls to the IP address/hostname will be connected to the auto attendant. Note that you must also specify the name of the auto attendant menu to which you want
  • Call the operator: all calls to the IP address/hostname will be connected to the operator.
  • Call this number <number>: connect all calls to the IP address/hostname to the same endpoint.

 

 

Related Topics