C.1 dial plan syntax, Example – CounterPath Bria 3.1 for Windows User Guide - Retail Deployments User Manual

Page 93

Advertising
background image

Bria 3 for Windows User Guide – Retail Deployments

89

C.1 Dial Plan Syntax

In Bria, the dial plan establishes the expected patterns of characters for a telephone number or softphone
address, and allows for modification (transformation) of input based on the match to a pattern. The dial plan has
the following syntax:

pattern[|pattern];match=1;<transformation>=<value>;[match=2;

<transformation>=<value>;]

Where:

Items in [ ] are optional.

Pattern: the pattern that will be matched. One or more patterns. Each pattern is separated by a | pipe. The
pipe is optional after the last pattern. Each pattern is implicitly numbered, starting from 1.

Match; Transformation: A pair that identifies the pattern number to compare with the input, and the
transformation to perform on the input when a match is obtained. The transformation is optional (meaning
that if there is no transformation for a pattern, then the input that matches this pattern is not transformed).
One or more pairs.

“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 <value> items.

Example

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

where:

\a\a.Tis 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.

Advertising