Appendix b: dialing plans, B.1 dialing plan syntax – CounterPath X-Lite 3.0 User Guide User Manual
Page 57

CounterPath X-Lite 3.0
55
Appendix B: Dialing Plans
When a user places a call, X-Lite processes the input—what the user types, selects or drags onto the Call
display—to modify the input as required for ensuring that the call succeeds. This ability to modify user input
depends on the existence of a valid dialing plan for the account.
X-Lite processes user input as follows:
• Cleanup — X-Lite cleans up user input by removing spaces, dashes, and brackets. Cleanup allows X-Lite
to support calls placed using contacts from a contact list (including Microsoft
®
Outlook
®
).
• Matching — X-Lite compares user input to patterns defined by the dialing plan for the enabled account.
Each account has one dialing plan, and each dialing plan consists of one or more patterns.
After finding a match between the input and a pattern, X-Lite will perform specified transformations on
input based on the matched pattern.
After finding no matches from a user’s account, X-Lite will perform no transformations on the input for
the outgoing call.
For details on matching see “How X-Lite Processes Input” on
.
• Transformation — X-Lite performs the specified transformation.
After processing user input, X-Lite places the call using the transformed input.
Transformation Keywords
Order of Transformations
X-Lite always performs transformations in the following order (the order in which dialing plan composers enter
transformations is not significant):
prestrip
>
poststrip
>
pre
>
post
>
replace
B.1 Dialing Plan Syntax
In X-Lite, the dialing plan establishes the expected patterns of characters for a telephone number or SIP address,
and allows for modification (transformation) of input based on matches to a pattern.
Keyword
Transformation Action
prestrip
Strip the first n characters from the input before
placing the call.
poststrip
Strip the last n 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
Replace the input with the specified string before
placing the call.