Example 3 – CounterPath X-Lite 3.0 User Guide User Manual

Page 61

Advertising
background image

CounterPath X-Lite 3.0

59

Example 3

#1xxxxxxxT|#19xxxxxxx|xxxxxxxT|9xxxxxxx|;match=1;prestrip=2;pre=9;match=2;

prestrip=2;match=3;pre=9;

This example does not cover all situations for which a dialing plan should be designed for a particular locale
(e.g. local calls, long-distance calls, international calls, etc.).

The example does illustrate two ideas:

• Automatic handling of the appropriate account prefix (e.g. “#1”), an important feature for users who are

upgrading from X-Lite 2.0 and are accustomed to entering the account number themselves.
Use of “#” to identify an account is now deprecated. The dialing plan should be capable of determining
the appropriate account to use. Since users may still be in the habit of entering the prefix, they may want
to include this particular pattern to deal with such possibilities.

• Distinguishing between a local seven-digit call for which the user does not dial “9” to access an outside

line and one for which the user does dial “9” to access an outside line.

match=2;pre="9";

This portion of the dialing plan pattern specifies that X-Lite should prefix “9” to the
user input whenever the input matches the second pattern (see above).

match=3;pre="91";

This portion of the dialing plan pattern specifies that X-Lite should prefix a “9” and
a “1” to the user input whenever the input matches the third pattern (see above).

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

This portion of the dialing plan pattern specifies that X-Lite should strip the “+”
from and prefix a “9011” to the user input whenever the input matches the fourth
pattern (see above).

#1xxxxxxxT

The first pattern represents a “#” character followed by seven additional digits. The timer
forces X-Lite to wait for the user to enter more digits/characters that may match a different
pattern; after the timer elapses, X-Lite assumes a match with this pattern and will strip the
“#1” and add a “9” prefix to the user input before placing the call.

#19xxxxxxx

The second pattern represents a “#” character followed by a “19” and seven additional
digits. After detecting a match between this pattern and user input, X-Lite will strip the “#1”
from the input before placing the call.

xxxxxxxT

The third pattern represents seven digits. The timer forces X-Lite to wait for the user to
enter more digits/characters that may match a different pattern; after the timer elapses,
X-Lite assumes a match with this pattern and will add a “9” prefix to the user input before
placing the call.

9xxxxxxx

The fourth pattern represents a “9” followed by seven additional digits. After detecting a
match between this pattern and user input, X-Lite will place the call without performing any
transformations.

Advertising