Some customers may work with several VoIP providers or gateways, and they often hope to select different routing to these providers for different calls. For example, when local users dial '9xxxx', their calls should be routed to some VoIP providers' networks. When local users dial '8xxxx', their calls should be routed to other VoIP providers' networks. Below figure illustrates a simple demo scenario:
In this scenario, we can see:
(1) Several external lins and SIP trunks can be bind into one routing group for specific calls.
(2) Different calls can be routed to different groups.
In miniSIPServer, one 'routing-group' can combine several external lines and sip trunks. Each routing in the same group will be selected in round-robin policy. We can configure calls to different 'routing-group' by using 'dial plan' feature.
Since routing-group uses 'external line' or 'sip trunk', please confirm you have configured 'data / external line' or 'data / SIP trunk' rightly for normal routing. Then, we can continue 'routing-group' configurations.
Please click menu 'data / routing group / group' to configure group information.
Item | Type or value | Description |
---|---|---|
Routing group ID | Integer (>0) | Routing group ID which will be referred by other tables. |
Please click menu 'data / routing group / routing' to configure routing information.
Item | Type or value | Description |
---|---|---|
Routing group ID | Integer (>0) | Routing group ID defined in above table. |
Routing type |
|
It can be 'external line' or 'SIP trunk'. If it is 'external line', 'specific external line' item must be configured together. If it is 'SIP trunk', 'SIP trunk ID' must be configured together. |
Specific external line | String | External line to be combined into this group. Please click menu 'data / external line' to configure the external line firstly. |
SIP trunk ID | Integer (>=0) | SIP trunk ID to be combined into this group. Please refer to "SIP trunk" document for more details. |
We need configure miniSIPServer to route calls to such routing-group.
Please click menu 'Dial plan / analyze called number' to add a new record. For example, we want to route '9xxxx' calls to above routing-group, please refer to following figure:
The key parameters are:
(1) 'Route type' must be 'Routing group'.
(2) 'Routing group ID' must be indicated together, then miniSIPServer can know which group should be routed to.
Please refer to "Dial plan" feature for more details.