B.3 how the input is processed, Comparing input to the dial plan patterns – CounterPath X-Lite 4 for Windows User Guide User Manual

Page 58

Advertising
background image

CounterPath Corporation

54

Transformation Keywords

Order of Transformations

These transformations are always performed in the following order (the order in which the transformations are
entered in the dial plan is not significant):

prestrip > poststrip > pre > post > replace

B.3 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 each pattern.

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 again.

.

Digit map rules

Repeat the last element 0 or more times. For example, xxxx. means repeat the last x 0 or
more times, which means this pattern matches three or more digits (not four or more
digits)! Use of this element results in a pattern with “minimum requirements”.

T

Digit map rules

A timeout period will take place before automatic dialing starts.

The T timer forces X-Lite to wait after a match is made. This timer should always be
included in these situations:

• Any pattern that uses the . (dot). For example, if the pattern is xxxx. then adding a

timer lets you type three or more digits. If there is no timer, then as soon as you type
three digits, X-Lite makes the match as soon as you type three digits.

• Any dial plan that has two patterns that are similar in elements but different in length.

For example, if one pattern is xxx and the other pattern is xxxxxxx, then adding the
timer lets you continue typing past three digits, in order to get a match on the second
pattern.

In this situation, the T timer should be included in the shorter pattern.

Keyword

Description

prestrip

Strip the first n characters from the input before placing the call.

poststrip

Remove n number of characters from the end of the input before placing the call.

pre

Add the specified prefix to the input before placing the call.

post

Attach the specified postfix to the input before placing the call.

replace

Replaces the input with the specified string before placing the call.

Element

Origin

Description

Advertising