B.2 how the input is processed, B.3 examples, Comparing input to the dial plan patterns – CounterPath X-Lite 4.6 for Mac User Guide User Manual

Page 57: Results of the comparison, Example 1, Example 2

Advertising
background image

X-Lite for Mac User Guide

53

B.2 How the Input Is Processed

Comparing Input to the Dial Plan Patterns

The input is compared to the dial plan. Keep in mind that the input being compared is different depending on
whether the input is dragged/selected or typed:

If the input is dragged or selected, then the entire input is compared to the dial plan.

If you are typing the input, then the digits are compared one by one as they are entered. Each time a new
digit is entered, the comparison starts over.

Results of the Comparison

X-Lite finds a match according to the following rules.

B.3 Examples

Example 1

\a\a.T|xxxxxxx.T;match=2;pre="9"

This simple example shows how to differentiate between a PSTN number and a softphone address, and how to
add a “9” dialing prefix only to the PSTN number.

Example 2

3xxT|1xxxxxxxxxx|[2-9]xxxxxxxxx|+x.T;match=2;pre="9";

match=3;pre="91";match=4;prestrip=1;pre="9011"

Type of Match

Result If User Presses Enter or Call Result if User Stops typing

The input matches the pattern and the
pattern does not include the T timer

The transformation is performed. X-Lite
attempts the call.

Nothing happens even after the T timer
has expired.

The input matches the pattern and the
pattern includes the T timer

The transformation is performed. X-Lite
attempts the call.

The transformation is performed. X-Lite
attempts the call.

The input does not match the pattern

No transformation is performed. X-Lite
attempts the call.

Nothing happens even after the T timer
has expired.

3xxT

The first pattern is any three-digit number beginning with 3. No transformation. The
assumption is that this is an internal extension. The timer forces X-Lite to wait after detecting
a three-digit number beginning with 3, in case you are actually dialing a local call starting
with 3.

1xxxxxxxxxx

The second pattern is any eleven-digit number beginning with 1. Prefix with 9 and dial as is.
The assumption is that this is a long-distance PSTN call within North America (within North
America, all long-distance calls start with 1).

Advertising