DID Pattern and Caller ID Pattern

This topic describes special characters that can be defined in a DID pattern or a Caller ID pattern, and provides examples to help you understand and configure the pattern.

Pattern

A Pattern field appears when you are configuring DID numbers or Caller IDs. The Pattern field allows you to enter a full number or special characters that will match specific numbers.

The following table shows descriptions of the allowed characters in the Pattern field.

Table 1.
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 none or more than one characters.

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

Pattern examples

The following table gives several patterns and list examples of matched numbers and mismatched numbers.

Table 2.
Pattern Matched Number Mismatched Number
0591.
  • 05910
  • 0591012345
  • 0591
  • 0592229929
+[13-5]XZN!
  • +4022
  • +1136282882
  • +0136282882
  • +1106282882
0591ZXXXX
  • 059123456
  • 059133456
  • 05912345
  • 059103456