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.
miniSIPServer V14.2 (build 20130914) or abover versions can provide 'routing-group' feature to support above key functions. 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 lines' or 'data / peer server' rightly for normal routing. Then, we can continue our 'routing-group' configurations.
Please click menu 'data / routing group / group' to configure group information.
Here we only need define a 'group id' for subsequent configurations.
Please click menu 'data / routing group / routing' to configure routing information.
Below table illustrate parameters in this configuration.
|Routing group ID||Group ID defined in above chapter 2.1.|
|Route 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', 'Peer server ID' must be configured together.
|Specific external line||External line to be combined into this group. Please click menu 'data / external line' to configure your external line firstly.|
|Peer server ID||SIP trunk ID to be combined into this group. Please click menu 'data / peer server' to configure your SIP trunk.|
Finally, 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.