![]() |
You can use one of the following two methods of analyzing or matching dial plan strings, as follows:
Pattern - Select Pattern when you want to use a digit string as a way of detecting the presence of a specific sequence of digits in an incoming dial string. When you select Pattern, you can create a matching string based on literal digits (0 through 9), one character literal (the #), and one special character, the asterisk (*) which will match any digit or sequence of digits. If you select Pattern, valid dial string characters are: all digits (0-9), the number sign (#), and the asterisk (*). The minimum length and maximum length fields important aspects to consider when writing a pattern match rule.
RegEx - Select RegEx (regular expression) when you want to use a Java regular expression to analyze an incoming dial string. In certain cases (especially variable extension), RegEx rules will allow an administrator to minimize the number of rules that must be administered.
Regular expressions rely on symbolic notation - grouping of digits and special characters for analyzing incoming dial strings. For example, ([0-5]\\d{0,3}) is a regular expression which matches extensions that start with digits 0 - 5, and are 1 to 4 digits in length. Specifying a minimum, maximum, or delete length do not apply to regular expressions. These fields apply to pattern matching only.
You can mix rule types
A From TelURI table in the AE Services Management Console can consist of rules based on the Pattern setting and rules based on the RegEx setting. That is, you can create a From TelURI table that uses rules based on Pattern and rules based on RegEx.