V3 Outbound Routes
On this page |
What’s about
An outbound route is a mechanism to handle outgoing calls based on the dialled phone number.
When you make an outgoing call, the system analyses the dialled number and routes the call to the respective outbound route. This section covers topics related to managing outbound routes.
Don't forget to configure a Trunk to route outgoing calls.
The Outbound Route section
You can find the Outbound Routes section under the Voice menu:
When you click it, you'll see all the configured outbound routes. Of each route, you can see the id, phone number, context, company, alias and description
Create an outbound route
To create an outbound route click the New button and enter:
Phone Number: this field may be filled with the pattern that will be matched with the number to be called
Phone Number is not limited to a single specific number. It can also be a pattern that represents a series of numbers. A phone number is a pattern if it starts with the underscore symbol (_) and is followed by character(s). The most useful characters are:
- X which indicates a number from 0 to 9, and
- . which indicates 0 or more numbers from 0 to 9.
For example, “_3X” means from 30 to 39 and “12X.” means all numbers starting with 12 plus at least one other number, like 124, 120, but not only 12)
Click here for more information about pattern matchingContext (by default: from-sip)
Recording (choose format among none; wav; wav49; gsm)
Cut Digits: insert how many digits of the dialled phone number to be cut automatically
Company: associate a route to a Company
Alias: (optional) descriptive name associated to the phone number
Description (optional)
Edit/Modify an outbound route
To edit an outbound route find the route from the list and click on Edit Outbound Route:
In the Settings tab, you can modify Phone Number, Context or Description.
In the Actions tab, you need to add one or more applications (see the next paragraph) to execute when the call enters the route.
Applications
To add an application, drag and drop it from the list of applications and fill out the necessary fields.
Application execution depends on:
the position of the application in the actions table. If you add multiple applications for a single outbound route, execution starts from the top application and continues until the bottom. You can drag and drop items in the list to arrange the applications order.
the time interval that defines when an application can be executed (by default, it’s set to always).
The following table shows the list of applications you can use in outbound routes:
Application | Description | Parameters |
Outbound Dial | Attempts to dial out through the selected trunk |
|
Custom | Executes an Asterisk Dial Plan Application |
|
After defining one or more applications, you can edit, modify intervals, delete or sort them.
To modify an application’s execution time click on the clock icon or click the specific menu entry and select interval type from the list:
If you choose Custom, select your custom intervals of hours and days/months:
If you choose List, select a custom interval already defined (in the Section Tools → Intervals), containing a complete set of sub-intervals:
A notification appears to remember to save the changes.