Activating the Smart Queue
UniFi Security Gateway offers a Smart Queue option based on Fair Queuing and Codel which prioritizes traffic and reduces delays when the router/bandwidth becomes overloaded. Activating this option will give priority to all traffic coming in and out of Aircall over other applications on the network.
However, please note that activating the Smart Queue may reduce the maximum throughput. It is then strongly recommended to monitor the available speed with and without Smart QoS enabled.
The QoS is now configured on the Security Gateway.
In order to make sure that traffic won't be blocked at the port level its necessary to open a specific set of ports:
Access your UniFi dashboard and navigate to Settings > Routing & Firewall > Firewall > LAN IN
Click on "+ Create a new rule" and set the settings to:
Address group: create a new group named VoIP with the type being Address and add the list of corresponding IPs to your VoIP Provider.
Port group: create a new group named VoIP_port and select Port in the Type option. Add the following ports
Finally, make sure to save these settings.
UniFi Access Points and Switches
By default, The UniFi access points and switches will automatically maps DSCP value to Wi-Fi Multimedia (WMM) priority. Voice is then automatically given highest priority on these devices on no further changes are needed.