To create an Inbound Internal Rule click on the button New Route and fill the form with the following information͗:
DID: geographic number or internal numbering
Name: Route Name
Description: Route Description.
In addition to the creation of the Route it is necessary to specify the Rule settings, through the button Edit:
- in the General Setting section you can change the values of DID, Name and Description;
- in the Advanced section you can associate an Application to the Route through the New Application button.
For each application, in the creation form, it’s possible to define in which time interval the rule it’s valid and its priority over other applications.
There are different types of applications which can be associated to the route:
1. Queue Application:
- Queue Name
- Queue Options
- URL
- Announce Override
- Timeout
- AGI
- Macro
- Gosub
- Rule
- Position
2. Playback Application
- Audio File Path
- Options (Skip, No Answer, J, Say)
3. Application Dial (http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial)
- Type/ID: phone call (eg SIP/1003)
- Timeout: Timeout before the application terminates
- Options: Refer to the Asterisk’s wiki
- URL
4. Application AGI (http://www.voip-info.org/wiki/view/Asterisk+cmd+AGI)
- Agi Script: set the AGI’s name (Ex. agi :/ / 127.0.0.1/square, project = 3)
- Agi parameter 1 .. 6: Possible parameters to AGI.
5. Application IVR Cally Square
- It refers to a Cally Square project (previously loaded in the Cally Square section).
6. Goto
- Context
- Extension
- Priority
7. Hangup
- Cause Code
8. Set
- Variable
- Value
9. Custom
- Application Name
- Params
In the applications table it’s possible to:
- Edit the application, clicking on Edit
- Remove it, clicking on Delete
- Set its priority over other applications, by drag and drop.