I have the privilege of trying to optimize our network at work to help improve the quality of the voip system we have. The general setup is:

• Bandwidth is 18 Mbps down, 3 Mbps up.
• ~10 people in office with max ~5 tje on phone at any time.
• One consumer grade router in place between us and the cable modem: Asus RT-AC66U.

Without QoS enabled the phones work "ok", but when the network gets busy, call quality degrades. Enabling QoS seems to be the obvious solution. That's where the problem comes up.

I've enabled QoS on this router to give highest priority to destination TCP and UDP ports in the range of 10000 - 20000 and 5000 - 8999. These were the ports given to me by our voip provider as the ones to prioritize. No other traffic gets this level of priority in the QoS setup.

With this enabled, the voip quality is much worse. It's now significantly more sensitive to other network traffic. I'm at a loss. Can someone shed some light on what is going on here?

QoS settings below...

• consumer grade router <-- I would suspect your problem lies deep in the dark, unknowable heart of this device. "consumer grade" hardware tends to be pretty lousy at things like this. That said, if you want us to try to help you you'll need to (a) show us your QoS settings, and (b) show us your traffic statistics (both when things are working well and when the quality drops off). – voretaq7 May 15 '14 at 15:34
• How can I show traffic statistics? Basically when the upload traffic approaches the bandwidth limit (~3Mb), it goes to crap. The garbling is less intelligible with QoS on. – CJ F May 15 '14 at 15:41
• The biggest problem with VoIP is that you can't control the whole path. QoS only goes as far as your router and then the packets do as they will along the rest of the journey to their intended destination. I did a pretty thorough write-up on SU: superuser.com/questions/80580/how-to-improve-voip-sound-quality/… – MaQleod May 15 '14 at 15:54
• @CJF You will need to consult the documentation for your router for information on how to view traffic statistics. (Frankly if you don't have them already you don't know if your link is being saturated, though it's probably a good guess...) – voretaq7 May 15 '14 at 15:55
• @voretaq7 Not exactly. I can watch the traffic monitor which just gives me a graph of incoming and outgoing traffic. I just watch that and correlate it with call quality. – CJ F May 15 '14 at 16:21

• For what it's worth, I do my VoIP QoS/Traffic Shaping with pf pretty successfully (we still have occasional quality issues, mostly attributable to upstream congestion). You could probably put pfsense in place of your current router/firewall and get reasonable results without too much expense. – voretaq7 May 15 '14 at 17:02