Navigation

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

    Shaping VoIP doesent work.

    Traffic Shaping
    4
    11
    3892
    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.
    • C
      Cojo last edited by

      I have an asterisk server in my network and want to get high priority on the sip protocol.
      The problem is that what ever I do the traffic from my asterisk gets in to the qlandef and the qwandef instead of the voip queues.
      I have tried several settings including the default from the shaper but all with the same result.
      My p2p traffic however get in to the p2p queues as it should.
      I'm runing a clean install of the 1.0-RELEASE.

      I'm about to loosing my mind soon about this problem so I realy hope someone here can help me.

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

        Try using the "IP" setting in the wizard instead of the asterisk setting.  This will allow you to enter an IP address for your Asterisk box and shape based on that instead of ports.  Lots of people find that to be a better setting for them.

        –Bill

        pfSense core developer
        blog - http://www.ucsecurity.com/
        twitter - billmarquette

        1 Reply Last reply Reply Quote 0
        • C
          Cojo last edited by

          The problem is that I also have a webserver and a ftpserver on the same machine as asterisk. And i don't wont to give these as high priority as the voip.

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

            After you set up your shaper rules reboot the pfSense. This will reset the states (though you could do that from the gui too) and will reload the new ruleset for sure (unfortunately 1.0-RELEASE has a bug where rules are sometimes not reloaded anymore).

            Version 1.0.1 which fixes the filter reload bug will be out soon.

            Also make sure your ftp passive port ranges don't conflict with the asterisk port range.

            1 Reply Last reply Reply Quote 0
            • C
              Cojo last edited by

              I have now reseted the states and then rebooted the pfSense box but I still have the same problem. The voip traffic ends up in the qlandef and qwandef.
              The only thing that are change from the wizard is the portrange for voip and bittorrent. I have set the same portrange as i have configured asterisk to use. And when i check the states during an active call asterisk uses the ports (10000-10010 and 5060) as i configured.

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

                Use an alias to define all the VOIP endpoints and plug the alias name into the shaping wizard.

                This is a sure fire way to guarantee that your voice over ip clients and servers will end up in the correct queues.

                Also should note that this has been discussed in these forums quite a bit.

                1 Reply Last reply Reply Quote 0
                • C
                  Cojo last edited by

                  Have already tried that. But will try that again and then reboot pfsense.

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

                    @Cojo:

                    Have already tried that. But will try that again and then reboot pfsense.

                    Make sure you enter the phones ip address AND the servers network block or ip.

                    1 Reply Last reply Reply Quote 0
                    • C
                      Cojo last edited by

                      I noticed that if I put my asterisk ip in the alias it will prioritize all the traffic from my server and not just the voip traffic.
                      As I said before, I have also an webserver and ftpserver on that machine too. And i don't want to get the traffic from them into the VoIP queue.

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

                        @Cojo:

                        I noticed that if I put my asterisk ip in the alias it will prioritize all the traffic from my server and not just the voip traffic.
                        As I said before, I have also an webserver and ftpserver on that machine too. And i don't want to get the traffic from them into the VoIP queue.

                        Well then your up against a nice challange.  Good luck! :P

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

                          Maybe you need some other order of your rules. They are applied top down.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post