Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WAN AckQueue on VOIP Shaping

    Scheduled Pinned Locked Moved Traffic Shaping
    16 Posts 3 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KOMK
      KOM
      last edited by

      In your two VoIP rules, change the protocol from any to UDP, and get rid of the qACK queue redirect.

      1 Reply Last reply Reply Quote 0
      • B
        BeerCan
        last edited by

        I doubt that any udp packet is being classified as ack, it is probably something else in that queue.

        Just curious but what method of traffic shaping are you using? 
        When I was initially setting my voip stuff up I tried HFSC but had issues getting it right.  I switched to PRIQ and things went much smoother.  PRIQ is so much easier to config.
        My needs are VOIP over everything else and it seems your needs are similar.  You might want to run the wizard again and try PRIQ.  If you are using PRIQ already then I typed that for nothing :)

        Do you have a local pbx and you are trunking to an upstream provider or is your pbx itself hosted elsewhere?  Not that it makes a huge difference, just wondering.  FWIW once I got traffic shaping working I noticed a huge jump in call quality, so it is worth it to keep at it.  No more weird dropouts and stuttering.

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Why is qACK named qACKph?  Did you rename it after creation or did you manually create all your queues?

          1 Reply Last reply Reply Quote 0
          • K
            klou
            last edited by

            I'll make those changes to UDP and eliminating the qAckph soon enough.

            We originally used the wizard, and then went back in and created the queues manually (trying to understand how this all works), so renamed the queue.

            I originally had Firewall rules under specific instances, but wanted to move them to Floating so that we don't have any confusion with Gateway policy routing, etc.

            And I'm using PRIQ - was going to look into HFSC but it's probably not worth the effort.

            As far as VOIP needs are concerned, we're actually using a hosted solution so the PBX is offsite (with the vendor).  All I need to do is provide the phone with power and an internet connection, and the rest is cloud-managed.  Because of this, part of me thinks that limiting to just UDP traffic might get actual call traffic, but I would think that there's more than that.  (edit:  This is why I have all traffic to the subnet hitting the queue).

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              For the record, we're using RingCentral which is exactly the same type of cloud-based VoIP provider you're likely using.  All I have are a bunch of phones and an Internet connection.  My VoIP queues are busy when people are on the phones, and everything works well.  We have two IPs that our phones talk to, and I have a pair of floating rules that move traffic from the RingCentral IP alias to their respective queues.

              If you've been playing around and trying various things, including manually creating your shaper and queues, I might suggest blowing it all away and starting off fresh with a simple PRIQ queue with VoIP support only.  Create an alias for your upstream cloud IP address(es) and then use that alias as your generic VoIP provider in the Voice Over IP section of the wizard.

              1 Reply Last reply Reply Quote 0
              • K
                klou
                last edited by

                Out of curiosity, could I see your floating rules?  You also don't have ackQueues and UDP only?

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  Here you go, and yes I don't have any VoIP traffic using an ACK queue.

                  floatrules.jpg
                  floatrules.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • B
                    BeerCan
                    last edited by

                    I assume you are using Jive based on your alias.
                    According to their docs their phones need tcp traffic, so maybe that acks were to your provider. https://wiki.getjive.com/display/COREMAN/2.0+Network+Requirements+and+Best+Practices

                    I agree with KOM you should blow your config away and start again.  I would do it real basic and make sure it works, then massage the rules if needed.  I would only worry about sip and rtp traffic at this point which is udp so no ack queue is needed.

                    1 Reply Last reply Reply Quote 0
                    • K
                      klou
                      last edited by

                      Thanks for all of your help.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BeerCan
                        last edited by

                        @klou:

                        Thanks for all of your help.

                        klou, did you get this working correctly?  Just wondering . . .

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.