Hunting group (sometimes multi-line hunting, MLH,or MHG, multi-line hunting group) is a feature that allows multiple local users (extensions) going into a business to act as a single group, called a hunting group. If current local user is busy, the call goes to the next available local user. Only if no local users in the group are available, the calling party gets a busy signal.
There are always several strategies to reach a local user. Typically, we often use following strategy:
In circular hunting, the calls are processed "round-robin".If a call is delivered to local user 1, the next call will go to local user 2, the next to local user 3. The succession throughout each of the local users even if one of the previous local users is free. When the end of the hunting group is reached, the hunting starts over at the first local users. Local users are only skipped if they are still busy.
Linear hunting is also referred to serial hunting. In linear hunting, calls are always delivered to the first local user, unless it is busy, then the second, third,and so on.
In fact, there is another hunting strategy: ringing all. In some systems, such as miniSIPServer, this strategy is implemented as another service: ringing-group. This document will not disucss "ringing all" strategy.
Following scenario is an example of hunting group.
Hunting group feature often works with auto-attendant feature to service small business. In the auto-attendant service document, we have a demo scenario:

In this scenario, the sales team, or the support team, can be arranged to ringing groups if we want all their lines ringing together for incoming calls. And we can also configure them with hunting group, then once calling party press 1 or 2, we can route the call to an available guy of the sales team (or other teams).
miniSIPServer can support several groups, and each hunting group can have several operators. These hunting group can be configured with independant hunting strategy. As described in above chapters, "linear strategy" and "round-robin strategy" are supported in miniSIPServer hunting group. "Ringing all" is supported in ringing-group feature.
The local user in a hunting group is named as "operator" in miniSIPServer.
Local users can be configured to one or several hunting groups.
By default, once the operator registers itself to miniSIPServer, it will login to the its hunting groups automatically. miniSIPServer will route incoming calls to the operator according to its status and the group strategy. If the operator is offline, of course miniSIPServer will not route calls to it.
If there is an incoming call while all operators are busy, miniSIPServer can process it in two ways:
By default, miniSIPServer will release the call.
In another way, miniSIPServer can put the incoming call to a queue until there is an available operator to process it. This queue is "call queue". Each "hunting group" can have its own call queue. In one call queue, we can configure how many calls can be held to wait and how long the calling party can wait.
When the incoming call is put to a call queue, the calling party will hear the waiting number to know how many users are waiting. And he/she will continue to hear music when they are waiting.
When we configure hunting group feature in miniSIPServer, we need to think about following items:
That means we need to configure three tables: (1) group, (2)operator, and (3)detection.
We can visit miniSIPServer menu "Services / Multi-lines hunting group" to configure them.
Please click sub-menu "Hunting group informaiton" to configure group like following:

In this configuration, the "no-answer timer" can be applied to all its operators. Once the operator cannot answer the incoming call within such time, miniSIPServer will try to find next operator.
If we want to enable "call queue" for this group, we need enable "put the call into queue if all operaors are busy" item.
When we configure "call queue" with current group, we can control how many calls can be held in the queue which is indicatd by item "Maximum call counts in queue", and how long the calling party can wait which is indicated by item "Maximum waiting duration" -- the call will be released finally if there isn't available operator when the duration is expired.
Please click sub-menu "Operators" to configure operators.

"Group ID" is configured in above section. The "operator number" must be a local user.
Please click sub-menu "Detection" to configure detections.

It is very flexible to trigger hunting groups. Different hunting group can be triggered with the same called number if they are configured with different dial plans. Of course, with the same dial plan, different called numbers of incoming calls or IVR results can trigger different hunting groups.
In above figure, when the "called number" of incoming calls is "1", the calls will be routed the the sales team whose "Group ID" is 1.
After we finish above configurations and all operators are online, the hunting group is ready.