Designing the dial plan, Testing the dial plan – CounterPath Bria Android Edition 3.1 User Guide User Manual

Page 72

Advertising
background image

CounterPath Corporation

68

Designing the Dial Plan

A dial plan has two parts:

A pattern that the phone number (the input) must match. This corresponds to the Match Number field.

The modification to make if the input matches that pattern: removing a prefix, adding a prefix, or removing
one prefix and adding another one. The modification can add or remove characters and can be made up of
digits, wildcards or symbols. These correspond to the Remove Prefix and Add Prefix fields.

Example 1

Match number: +1613x.

Remove Prefix: +1613

Add Prefix: 9

If the input starts with “+1613”, then remove the “+1613” then add “9” and dial the number. So +16135550012
is dialed as 95550012.

Example 2

Match number: [2-9]xxxxxxxxx

Add Prefix: 1

If the input is a 10-digit number starting with a number other than 1, then add “1” and dial the number. So
6045550012 is dialed as 16045550012.

Match Number - Configuring the Pattern

The pattern can be made up of any combination of the following:

Testing the Dial Plan

You can enter a phone number in Bria to verify if the dial plan is configured correctly. To test a dial plan, type a
phone number in the Number to test field. Bria applies the dial plan, and displays the resulting number.

Element

Description

0 to 9

Any digit

x

A single wildcard

* # +

These keyboard symbols

[ ]

A collection that can include a range. For example [6-9] means 6 7
8 9. Or [136-9] means 1 3 6 7 8 9.

.

Repeat the last element 0 or more times. For example, with the
pattern “12.” the following input will match:

1 (The “2” is repeated zero times)

12

122

1222 and so on

Advertising