B dial plan, Do you need to read this information – CounterPath Bria 3.3 for Mac User Guide - Retail Deployments User Manual
Page 82
CounterPath Corporation
78
B Dial Plan
When a call attempt is made, the call input (what you type, select or drag onto the call entry field) is processed
to select the SIP account to use and to modify the input if that is required to ensure that the call gets placed
successfully. This ability to select an account and modify the input relies on the existence of a “dial plan” for
each account.
Do You Need to Read this Information?
You do not have to read this dial plan information if the default dial plan behavior (below) is acceptable.
If you want to be able to place calls on a specific account without including the account prefix, then you must
create a dial plan for one or more accounts.
The default dial plan is:
#n\a\a.T;match=1;prestrip=2;
where #n is the account prefix (#1 for the first account in the list (proxy0), #2 for the second account (proxy1),
and so on).
If the input is the account prefix and the number, then the Account for this dial plan is selected. The account
prefixed is stripped from the number before the call is placed.
If all Accounts use this dial plan, then the behavior is as follows: if the input includes the account, then that
account is used. In other words, you can force selection of a specific account by including the account prefix. If
the input does not include #n, then the default account is used.
Processing of Phone Numbers when a Phonecall is Placed
When a phone call is placed, the input (the phone number or SIP address) is processed as follows:
•
Cleanup: Input is cleaned up by removing spaces, dashes, open brackets, and close brackets.
•
Matching: The input is compared to the patterns defined by the dial plan for each enabled account. Each
account has one dial plan, and each dial plan has one or more patterns.
When a match is found between the input and the pattern, the account that this pattern belongs to is selected
and the transformation for this pattern is performed.
If no match is found, the default account is selected and no transformation is performed.
For details on matching see “How the Input Is Processed” on page 81.
•
Transformation: The selected transformation is performed.
•
Then the call is placed using the transformed input.