...
Please read about trunks at the links below:
How to: Interpret the trunks page
How do I add a VoIP Trunk/Account?
Centrex Users!
If your analog lines use Centrex - DO NOT EVER STRIP THE 9 IN THE EXAMPLES BELOW.
...
Click on Options --> dial plan
For trixbox Pro and Dell customers, you may choose the leading digit to dial an outside number (9 by default) by choosing any digit from the drop down menu.
In the box under 'Dial String' enter a new dial string. Examples of valid dial strings are:
nxxnxxxxxx - matches any 10-digit phone number
310nxxxxxx - matches any 10-digit phone number beginning with area code 310
nxxxxxx - matchs a 7-digit phone number
800nxxxxxx - matches any 800 number
1nxxnxxxxx - matches any 10-digit number preceeded by a 1.
011. - matches any international number. 011 represents the three digits required to inform your telephone company you are about to make an international call, and '.' indicates any number of subsequent digits entered. Use the '.' as a wildcard to say 'match any and all digits'
You can create dial plans using any combination of numbers and the wildcard characters: 'n' 'x' '.'
Enter a Description for your new dial plan. This description serves to help the administrator quickly tell various dial plans apart. Descriptions have no effect on the functionality of any dial plan.
The 'Type' field serves to prioritize dial strings. Choose from among the following types:
Toll Free
Local Call
Long Distance
International
Select the first route from the drop-down under 'Route'. PBXtra s allow up to three unique routes per dial plan. If the first route becomes unavailable for any reason, the system attempts to complete the call via the second route. If the first and second routes are unavailable, the system attempts to complete the call via the thrid third route. If all three routes are unavailable, the system plays a busy signal to the caller.
Choose the number of digits to remove from the dial string entered by the user. By default, users place outbound calls by dialing 9 + some number. Your telephone carrier does not need the initial '9', so all PBXtra s are configured to remove the leading 9 by default.
Hint: If you would like to create 'security codes' for a particular dial plan (e.g. international calls), enter the security code before the '011' and then strip a number of digits equal to 9 + your security code. Example: 9 + 12345 + 011. Strip = 6 (912345). Digits sent to carrier = 011.
Choose a number of digits to be prepended to your dial plan. This option is particularly useful if you wish to allow your employees to dial 7 digits only for local numbers even in areas where 10-digit dialing is mandatory. You can create a dial plan like: 9 + nxxxxxx, Strip 1, Prepend 310. Now whenever an employee dials 9 + 7-digits, the system will dial 310 + 7-digits which would complete a local call from a Los Angeles location to another Los Angeles location.
Click 'Add Dial Plan'
...
Let's look at the Route, Strip, and Prepend fields:
The first route is http:// Bandwidth.com . Bandwidth requires some interesting formatting for dial plans:
All International calls should NOT contain "011" when sent to Bandwidth - therefore we strip 4 digits (9 + 011) and send only the country code and number to Bandwidth.
All outbound calls require a leading + sign according to Bandwidth. Therefore we prepend a + sign to the number.
The result is an International number send to Bandwidth as follows (using Japan as the country for example):
...
Customers who purchased the Linked Server option can configure their dial plans such that users on Server A can place outbound calls through Server B's trunks (PRI, Analog lines, VoIP trunk, etc.)
...