Example, B.2 how x-lite processes input, Comparing input to dialing plan patterns – CounterPath X-Lite 3.0 User Guide User Manual

Page 59

Advertising
background image

CounterPath X-Lite 3.0

57

Timers

There are two timers:

• T — described in the table above; default value is four seconds (4000 milliseconds).
• The long timer — default value is twenty seconds (20000 milliseconds).

These timers are used during input comparison, as described in “How X-Lite Processes Input” on page 58.

Example

\a\a.T|xxxxxxxxxx;match=1;prestrip=2;match=2;pre=8;

...where:

\a\a.T

is the first pattern.

xxxxxxxxxx;

is the second pattern.

match=1;prestrip=2;

is the first match-transformation pair.

match=2;pre=8;

is the second match-transformation pair.

B.2 How X-Lite Processes Input

Comparing Input to Dialing Plan Patterns

X-Lite compares user input to the account’s dialing plan. The process is slightly different depending on how the
user places the call:

• If the user drags or selects the input, X-Lite compares the entire input to each dialing plan. After finding a

match, X-Lite performs associated transformations before placing the call. Upon finding no match from a
user’s accounts, X-Lite performs no transformations before placing the call.

• If the user types the input, X-Lite compares each digit one by one to account dialing plans. Such

comparisons will result in one of the types of matches described in the table below.

It is possible for the same input to get matched to different dialing plans, depending on whether the user enters
the input by typing or dragging/selecting. This is important to keep in mind while composing dialing plan
patterns.

Timer

T

Indicates that a pause should take place before any further automatic dialing
starts.

Typical timer values are four seconds (4000 milliseconds).

Dialing plan composers should use timers in at least the following situations:

Any pattern that uses the “.” wildcard. For a pattern of “xxxx.T” the added
timer element allows users to type three or more digits; a similar pattern
without a timer element might assume that a user has made a valid pattern
match after entering just the first three digits.

Any dialing plan that has two patterns with similar elements but different
lengths. For two patterns “xxxT” and “xxxxxx” the added timer element
allows users to continue typing past the first three digits (add the timer element
to the pattern of shorter length).

See below for more information about timers.

To Specify a...

Enter the following...

Comment

Advertising