Dial Plan Notations
The notations that you can use for configuring the 'Prefix field in the Dial Plan Rule table are described in the table below. As this field is used in the Dial Plan to match a number pattern (source or destination) based on prefix, suffix or entire number, the notations are relevant to both prefix and suffix of the number (unless explicitly stated otherwise).
Notation |
Description |
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0-9 |
Specific digit. |
|||||||||||||||||||||||||||
a-z |
Lower-case letter. Note: Case-sensitivity of Dial Plan matching depends on the settings of the 'Prefix Case Sensitivity' parameter in the Dial Plan table. |
|||||||||||||||||||||||||||
A-Z |
Upper-case letter. Note: Case-sensitivity of Dial Plan matching depends on the settings of the 'Prefix Case Sensitivity' parameter in the Dial Plan table. |
|||||||||||||||||||||||||||
x |
Wildcard (metacharacter) that represents any single digit from 0 through 9. Note:
|
|||||||||||||||||||||||||||
z |
Wildcard (metacharacter) that represents any single digit from 1 through 9. Note:
|
|||||||||||||||||||||||||||
n |
Wildcard (metacharacter) that represents any single digit from 2 through 9. Note:
|
|||||||||||||||||||||||||||
. |
(Dot) Wildcard (metacharacter) that represents any single character (letter, digit or symbol). To represent the dot "." character itself, precede it with the escape "\" character (see below). |
|||||||||||||||||||||||||||
* |
(Asterisk symbol) If it is the only character in the rule, it functions as a wildcard (metacharacter) that represents any amount of digits or letters (i.e., matches everything). To represent the asterisk "*" symbol itself, precede it with the escape "\" character (see below). Note: You can’t use a non-escaped * as part of the rule. For example, the following are invalid rules: “333*” or “192\.168\.0\.*” |
|||||||||||||||||||||||||||
\ |
(Backslash escape character) When it prefixes the wildcard character “n”, “x”, “z”, or “.”, the character is escaped and used literally instead of the wildcard function. For example, “10\.255\.255\.x” represents the IP address 10.255.255.[0-9]. As each dot (.) is prefixed by a backslash, the device considers these dots as the "." character (and not the . wildcard). In addition, as the “x” at the end of the value is not prefixed by a backslash, the device considers it the x wildcard. |
|||||||||||||||||||||||||||
# |
(Pound or hash symbol) When used at the end of the prefix, it represents the end of the number. Examples:
|
|||||||||||||||||||||||||||
[n1-m1,n2-m2,a,b,c,...] |
Represents a range of numbers for the prefix. The range can include both contiguous numbers and standalone numbers. Examples:
Note:
|
|||||||||||||||||||||||||||
([…]) |
Represents a range of numbers for the suffix. The range can include both contiguous numbers and standalone numbers. Examples:
Note:
|
|||||||||||||||||||||||||||
(…) |
Represents a specific suffix, which can contain digits and letters. Examples:
Note: You can’t use an empty suffix (e.g., "+91()”). |