Dial Patterns of Outbound Route

This topic describes dial pattern settings of Outbound Route to help you understand and configure the dial patterns of Outbound Route.

Pattern

A pattern specifies routing rules to route a call based on the digits dialed by a user. The PBX matches a dial pattern and routes the call out based on the dial pattern.
Pattern Description
X Refers to any digit between 0 and 9.
Z Refers to any digit between 1 and 9.
N Refers to any digit between 2 and 9.
[###] Refers to any digit in the brackets, example [123] would match the numbers 1, 2, or 3.

Range of numbers can be specified with a dash, example [136-8] would match the numbers 1, 3, 6, 7, and 8.

. Wildcard . matches one or more numbers.

Example 9011. matches any numbers starting with 9011 (excluding 9011 itself).

!

Wildcard ! matches none or more than one characters.

Example 9011! matches any numbers starting with 9011 (including 9011 itself).

Strip

Strip is an optional setting, it defines how many digits will be stripped from the front of the dialed number before the call is placed.

Example:

If you set Pattern as 9. and set Strip as 1.

If a user wants to call number 1588902923, he/she should dial 91588902923. The PBX will strip digit 9 from the dialed number, and call the number 1588902923.

Prepend

Prepend is an optional setting. The prepend will be added to the beginning of a successful match. If the dialed number matches the Pattern, the prepend will be added to the beginning of the number before placing the call.

Example:

If a trunk requires 10-digit dialing, but users are more comfortable with 7-digit dialing, you can prepend a 3-digit area code to all 7-digit phone numbers before the calls are placed.

Prefix and dial patterns

Scenarios
Prefix setting appears when you are configuring the following settings:
How to configure Prefix
You need to configure Prefix according to the dial pattern settings on your outbound route. If the Prefix is not configured correctly, the PBX cannot call to the external number successfully.
  • Leave Prefix setting blank

    If the Strip of outbound route is not set, you don't have to add a prefix before the phone number.

    As the following figure shows, only the destination number that starts with digit 1 can be called out through this outbound route.

    For example, to call number 125451, you should dial the number 125451 directly.

  • Add prefix before a number

    If Strip is set, you need to set the prefix according to the Patterns.

    As the following figure shows, to make calls through the outbound route, you need to add prefix 9 before the number, and the destination number should start with digit 1.

    For example, to call number 125451, you should add prefix 9 before the number 125451.