> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ooma.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Hunt Groups

Hunt groups are a powerful capability to achieve important call flows for businesses.  To set up hunt groups on AirDial, you will need to use a combination of [Conditional Call Forwarding](/en/article/call-forwarding-features-1w7vpex/) settings and [Outbound Caller ID](/en/article/outbound-caller-id-1jt436z/) settings.   

Here is an example of how a hunt group can be used in combination with an on-premise PBX system, and how to set it up:   

###### Scenario 

A large retail store wants to be able to receive multiple simultaneous calls from customers.  The store publishes a single phone number, 408-555-1111, for customers to call.  Inside the retail store are multiple phones, distributed throughout the store.  When a customer calls the store, employee #1 answers the call on a phone that's convenient.  When another customer calls, the same 408-555-1111 number, the store wants a second employee #2 to be able answer that call on a different phone while employee #1 is still on the first call.  The store wants to be able to handle up to 6 such simultaneous calls from customers.  

###### How it Works 

The retail store has an on-premise PBX, a device that handles the ringing of phones in the store, and transferring between phones.  The PBX is connected to 6 phone lines, to be able to handle 6 simultaneous calls.  This bundle of 6 phone lines is sometimes called a "trunk".  One or more Ooma AirDial devices can provide such a trunk to the PBX.  

For the PBX to receive the calls correctly, an incoming call to the main store number 408-555-1111 needs to "hunt" through the available lines.  In other words, an incoming call should try to ring the first line.  But if that line is busy, it should ring a second line.  If the second line is busy, it should ring a third line, and so on.  

This "hunting" capability is achieved using a combination of conditional call forwarding rules.  

###### How to Set Up Hunting on Ooma AirDial 

The PBX expects the main store number 408-555-1111 to ring Line 1 first.  So we will assign the number 408-55-1111 number to be assigned to FXS Port 1 on AirDial 1.  

If Line 1 is busy, we want the incoming call to ring Line 2, or 408-555-2222, which is assigned to FXS Port 2.  So we will set up a rule on FXS Port 1 to "forward on busy" to 408-555-2222.  Like this: 

![](https://storage.crisp.chat/users/helpdesk/website/224c88586e79e200/screenshot-2023-09-27-at-20058_4h9hss.png)

If Line 2, or 408-555-2222, is busy, we want the incoming call to ring Line 3, or 408-555-3333.  So we will set up a forwarding rule on FXS Port 2 to, like this:  


![](https://storage.crisp.chat/users/helpdesk/website/224c88586e79e200/screenshot-2023-09-27-at-20154_w1wvi4.png)

...And so on.  You can continue to set up forwarding rules as necessary, to achieve the hunting through 6 lines.  

On the last line, you may choose to send the call to a number with voicemail enabled.  

###### Outbound Caller ID 

Lastly, we must consider what happens when an employee calls a customer from the store from one of the lines in the hunt group.  The store wants all outbound calls from the store to appear as coming from the main store number, 408-555-1111.  So, we want to set up the Outbound Caller ID for each FXS port in the hunt group as the main store number.  We can do that, like this:  

![](https://storage.crisp.chat/users/helpdesk/website/224c88586e79e200/hgscenario3_1m8wvif.png)

Learn more about [Caller ID](/en/article/outbound-caller-id-1jt436z/). 

###### Other Notes

In addition to forwarding on busy, you can also choose to forward if the line is not answered or if the AirDial device is offline.  

Note that this conditional call forwarding can be set up to work across multiple AirDial devices.  

Also note that the example given here is only one use case.  A PBX is not required to use hunt groups.  






