VoIP Shaping
-
You are using a recent snapshot, right?
If not, upgrade and then re-run the traffic shaping wizard.
http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/updates/
-
I was running the 4-21 snapshot, but I'm upgrading now to the 4-23 and will re-run the wizard and see what happens.
-
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.
-
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.
-
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.
-
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?
-
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.
-
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
-
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.
-
Keep in mind you should reboot your phone or reset the states after making traffic shaper changes since it is stateful.
-
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?
-
You could if there are drops in the ACK queues.
-
Providing that there are no drops there either?