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

    VoIP Shaping

    Scheduled Pinned Locked Moved Traffic Shaping
    16 Posts 4 Posters 8.1k 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.
    • S
      sullrich
      last edited by

      That would be recent enough.  Only thing that I can think of at this point is to truely make sure all traffic are in the correct queues.  I know that you said that they where, but maybe double check.

      1 Reply Last reply Reply Quote 0
      • H
        Helix26404
        last edited by

        Question…I'm running Asterisk, and it's sits at 172.16.20.1. I have Cisco phones all over the office connected to Asterisk.

        Do I need to place all of those phones in the provider field along with 172.16.20.1 or not since Asterisk is on the edge and is what connects to the VoIP providers?

        All phone conversations go through Asterisk, i.e. there's no re-inviting going on that would establish a direct outside connection between one of my phones and the VoIP provider itself.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Make sure you tell * to turn off the low-delay bit.  This has been discussed previously here.

          You might also visit some of the other articles in the Traffic Shaper section where folks create aliases for all of their voip devices + server blocks and then plugin this value to the red box during the voip configuration screen.  This makes sure only the voip devices + servers go in the VoIP queue.

          1 Reply Last reply Reply Quote 0
          • H
            Helix26404
            last edited by

            Interesting about the lowdelay bit. I have disabled that and we'll see what happens.

            Also, thanks for your suggestion about the VoIP devices. I will check into that. Theoretically speaking, however, I shouldn't need to include all of the phones IP addresses in the alias because the connection that passes through the firewall is between Asterisk and the VoIP servers, correct?

            1 Reply Last reply Reply Quote 0
            • J
              Justinw
              last edited by

              I would be curious to know what kind of hardware the the pf box is on as well.  I would check out top and see what your cpu and memory usage is looking like when you are working with the web interface.

              1 Reply Last reply Reply Quote 0
              • B
                ben.suffolk
                last edited by

                @sullrich:

                Make sure you tell * to turn off the low-delay bit.  This has been discussed previously here.

                I have done a search for asterisk and low-dealy bit can't see any relevant topics. Can you point me in the direction of where it was discussed, or just give me a quick summary of the why it needs turning off, and what the best setting is.

                In asterisk it seems I can set tos to any combination of lowdelay, throughput, reliability, mincost or none. On my phone I can set tos to be any one of IP_ROUTINE,  IP_PRIORITY, IP_IMMEDIATE, IP_FLASH, IP_OVERIDE, IP_CRITIC (it defaults to IP_CRITIC), presumably its important for me to make sure they both tie up, any idea on the correlation between them?

                Regards

                ben

                1 Reply Last reply Reply Quote 0
                • H
                  Helix26404
                  last edited by

                  I checked the lowdelay bit within the shaper config in pfSense and my VoIP calls went to hell. Luckily I tested the phones right after this and realized it otherwise I don't know if I would have ever figured it out.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Keep in mind you should reboot your phone or reset the states after making traffic shaper changes since it is stateful.

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helix26404
                      last edited by

                      Holding line quality, internet congestion, and ITSP provider issues as non-existant and constant, if there are no drops in my VoIP queues, should I be experiencing choppy phone calls?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        You could if there are drops in the ACK queues.

                        1 Reply Last reply Reply Quote 0
                        • H
                          Helix26404
                          last edited by

                          Providing that there are no drops there either?

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