Outbound Dial Pattern

This topic describes dial pattern settings of Outbound Route.

Dial Pattern components

A dial pattern comprises Pattern, Strip, and Prepend.

Pattern
Required.
Defines which dialed numbers will be matched.
The Pattern field allows a full number or special characters that will match specific numbers. The following table shows descriptions of the allowed characters in the Pattern field.
Pattern Description
X Match any digit from 0 -9.
Z Match any digit from 1- 9.
N Match any digit from 2 - 9.
[###] Match any digit in the bracket.

Example: [123] matches the numbers 1, 2, or 3.

Note: Range of numbers can be specified with a dash, example [136-8] matches the numbers 1, 3, 6, 7, or 8.
. Match one or more numbers.

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

! Match one or more characters.

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

Strip
Optional.
Defines how many digits will be stripped from the beginning of a dialed number when the dialed number successfully matches a Pattern.

Example:

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

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

Note:
  • The system strips leading digits before sending the number to the carrier.
  • If both Strip and Prepend are configured, the system first strips leading digits from the dialed number then prepends digits to the dialed number.
Prepend
Optional.
Defines which digits will be added at the beginning of a dialed number when the dialed number successfully matches a Pattern.

Example:

202 is the area code for Washington, D.C. For users who often make calls to the city, you can set Prepend as 202.

In this case, if a user wants to call number 2025553097, the user should dial 5553097.

Note:
  • The system prepends the digits before sending the number to the carrier.
  • If both Strip and Prepend are configured, the system first strips leading digits from the dialed number then prepends digits to the dialed number.

Prefix and Dial Pattern

A prefix is the digit that will be removed from the dialed number before sending to the carrier.

Scenarios
Prefix setting appears when you are configuring the following settings:
  • Mobile phone number for notification contacts.

  • External number for IVR keypress.

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 on an outbound route, you need to set the prefix according to the Pattern.

    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.