Dial plan syntax – CounterPath Bria Professional 2.5 Configuration Guide User Manual
Page 11

Configuring Bria Professional (Retail Edition)
7
Transformation
The selected transformation is performed.
Place Call
Then the call is placed using the transformed input.
Quick Reference to the Dial Plan Settings
For information on the individual Bria Professional settings that relate to the dial plan:
•
digit_map. See “Dial Plan Syntax”, below.
•
digit_map_timer_critical. See “Timers” on page 8.
•
digit_map_timer_partial. See “Timers” on page 8.
Dial Plan Syntax
The dial plan establishes the expected patterns of characters for a telephone number or SIP address, and allows
for modification (transformation) of input based on the match to a pattern.
The dial plan is defined for each account in proxies:proxyn:digit_map, where n is the account number.
The dial plan has the following syntax:
pattern[|pattern[|…]];match=1;
Where
•
Items in [ ] are optional.
•
Pattern: the pattern that will be matched. Each pattern is separated by a | pipe. The pipe is optional after the
last pattern. Each pattern is implicitly numbered, starting from 1.
•
Match and Transformation: A pair that identifies the pattern number to compare to the input, and the
transformation or transformations to perform on the input when a match is obtained. The transformation is
optional (meaning the input that matches this pattern is not transformed).
"match=" is a literal. "n" identifies the pattern. "transformation=" is replaced by a keyword, see below.
"value" is replaced by a value.
Spaces are allowed only in the
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.
•
Some elements use the back slash \ character. If you are defining a pattern via remote provisioning (that is,
in an HTTP response), you must enter two backslashes, because the Bria Professional provisioning
software interprets one backslash as an escape key.
Remember that dial plans are applied after the input has been cleaned up (page 6)!