Shaping VoIP doesent work.
-
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.
-
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
-
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.
-
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.
-
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. -
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.
-
Have already tried that. But will try that again and then reboot pfsense.
-
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.
-
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. -
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
-
Maybe you need some other order of your rules. They are applied top down.