5 examples, 5examples, Example 1 – CounterPath Bria 4 Dial Plan Guide User Manual
Page 7: Example 2

Bria 4 Dial Plan Guide
5
5
Examples
Example 1
\a\a.T|xxxxxxx.T;match=2;pre="9"
This simple example shows how to differentiate between a PSTN number and a softphone address, and how to
add a “9” dialing prefix only to the PSTN number.
Example 2
3xxT|1xxxxxxxxxx|[2-9]xxxxxxxxx|+x.T;match=2;pre="9";
match=3;pre="91";match=4;prestrip=1;pre="9011"
3xxT
The first pattern is any three-digit number beginning with 3. No transformation. The
assumption is that this is an internal extension. The timer forces Bria to wait after detecting a
three-digit number beginning with 3, in case you are actually dialing a local call starting with
3.
1xxxxxxxxxx
The second pattern is any eleven-digit number beginning with 1. Prefix with 9 and dial as is.
The assumption is that this is a long-distance PSTN call within North America (within North
America, all long-distance calls start with 1).
[2-9]xxxxxxxxx
The third pattern is any ten-digit number beginning with a number other than 1. The
assumption is that this is a local PSTN call within a ten-digit dialing zone.
+x.T;
The fourth pattern is a number of any length that begins with +, to indicate an international
PSTN call from North America. Delete the +, prefix with 9011 (011 is the number to access
an international line from North America).
match=2;pre="9";
For the second pattern, prefix 9 to access an outside line.
match=3;pre="91";
For the third pattern, prefix 9 and 1 to access an outside line and enter the long-distance code.
match=4;prestrip=1;
pre="9011"
For the fourth pattern, remove the + and prefix 9011 to access an outside line and enter the
international code.