Defining patterns to match the dialed digits

You can include any of the characters listed below in the Digits dialed that the routing rule uses to match digits received (see “Use this rule under the following conditions” on page 8-36).

Routing rules can match the exact digits in phone numbers, such as 16173540600, or use number patterns that include variables to match all dialed digits that fall into a more general category. For example, using the pattern 1617Nxxxxxx to match the dialed digits would match all phone numbers in the 617 area code. The pattern 1NxxNxxxxxx could be used to match any long distance number in the North American Numbering Plan.

By default, the system defines the following routing variables:

nN matches any digit from 2-9. These are the initial digits used in exchanges and area codes.

n

n

xmatches any digits (0-9).

~matches any sequence of digits and asterisks to the end of dialed digits. This creates an ambiguous timeout (see “Avoiding dialing ambiguities” on page 8-8).

You also can define your own routing variables to match combinations of digits, as described in “Adding new routing variables” on page 8-38.

Here are some examples of match patterns and the phone numbers that these patterns would match:

n1617Nxxxxxx matches 16173540600 and any other seven-digit phone number in the 617 area code.

n1617~ matches 1617, 16173540600, 16173540600123456789, or any other set of digits following “1617”.

nNxxxxxx matches 3540600, 2000000, or any other seven digits in which the first digit is from 2-9.

Adding new routing variables

Routing rules use a set of variables to define the phone numbers to be matched. By default, the system defines the routing variables N and x (see “Defining patterns to match the dialed digits” on page 8-38). You may want to define additional routing variables that match individual digits or combinations of digits, such as area codes or exchanges.

For example, if you are in the 617 area code and calls to the 617, 781, and 508 area codes have the same low cost over certain trunks, you could create a new routing variable AAA that matches the digit sequences 617, 781, and 508. By using the AAA routing variable, for example, in a 1AAANxxxxxx match pattern, you could

8-38

STRATA CS ADMINISTRATOR MANUAL

BETA DOCUMENT - PRELIMINARY & CONFIDENTIAL

Page 174
Image 174
Toshiba Release 4.0 manual Defining patterns to match the dialed digits, Adding new routing variables