MINISIPSERVER

Routing group

1. Description

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:

Routing group network

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.

2. Configuration

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.

2.1 Routing group

Please click menu 'data / routing group / group' to configure group information.

group configuration

Item Type or value Description
Routing group ID Integer (>0) Routing group ID which will be referred by other tables.
2.2 Routing

Please click menu 'data / routing group / routing' to configure routing information.

routing configuration

Item Type or value Description
Routing group ID Integer (>0) Routing group ID defined in above table.
Routing type
  • External line
  • SIP trunk

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.
2.3 Dial plan

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:

dial plan configuration

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.