Print

To TelURI settings for variable length extensions

The following example demonstrates how to administer the To TelURI settings in the AE Services Management Console to support a dial plan that uses variable-length extensions. The set of rules in this example assumes the following:

Example - To TelURI rules for an installation with variable length extensions

You can use one of the following two methods of analyzing or matching dial plan strings, as explained in the topic Pattern matching using Pattern and RegEx (regular expressions) above.

  Minimum Length Maximum Length Pattern Match Delete Length Replacement
A 1 4 * 0 4969710
B * * 00 2  
C * * 0 1 49
D * * * 0 4969

How the To TelURI rules process numbers for variable length extensions

A AE Services receives 1234, a 4-digit number from the switch. Because the number is within the minimum and maximum length requirements, and the wild card (*) permits a match of any 1- to 4-digit number, AE Services deletes no digits and prepends 4969710 to the number. AE Services sends 49697101234 to Microsoft Office Communicator.
B AE Services receives 0017328524321, a 13-digit number, from the switch. Because the number is not within the range specified by the 1- to 4-digit rule (A) it satisfies this rule, which permits a number of any length where first two digits (00) are a pattern match. AE Services deletes the first 2 digits, prepends nothing to the number, and sends 17328524321 to Microsoft Office Communicator.
C AE Services receives 0306441234, a 10-digit number, from the switch. Because the number is not within the range specified by the 1- to 4-digit rule (A) it satisfies this rule, which permits a number of any length where first digit (0) is a pattern match. AE Services deletes the first digit, prepends 49 to the number, and sends 49306441234 to Microsoft Office Communicator.
D AE Services receives 45427, a 5-digit number, from the switch. Because the number is not within the range specified by the 1- to 4-digit rule (A) it satisfies this "catch-all" rule that permits a number of any length and any pattern of digits. AE Services deletes no digits, prepends 4969 to the number, and sends 496945427 to Microsoft Office Communicator.