 HUGE2U
join:2005-07-22 North Hollywood, CA
| Viatalk QOS Setting
I have been getting call quality complaints of late, and I have installed tomato 1.21 on my Linksys WRT54G v3.1. When I try some of the Qos settings I have seen around in an attempt to alleviate the issue the phones (I have two separate ATAs) either do not work, or the quality is still crap (choppy).
I should note that I am using utorrent for uploading fully legal files. I have gotten to where if I want to use the phone I disable utorrent.
I believe I am doing something wrong, something with the ports used I think but I could use some help.
Thanks, HUGE
PS: I have 5 lines with Viatalk as a Sunrocket refugee, and all are coming up for renewal. Viatalk has yet to impress me so if anyone has any other suggestions for reliable inexpensive (if there is such a combo) I would appreciate it. |
|
  Aveamantium Formerly Reiper
join:2006-10-02 Loveland, CO
·ViaTalk
| Qos really only works in the outbound direction. In other words when you set up Qos in Tomato it will dynamically prioritize the available upload bandwidth depending on how you've set the class. For example, I have a rule that sets 192.168.1.2 (ATA IP) as the "Highest" classification and it is at the top of the list (tomato process the rules in order). Then in the basic settings you set your upload speed (about 85% of your max). Now if the ATA is in use it will get top priority for uploading (outbound voice) assuming this is the only item that has the "Highest" classification. (I just use Tomato's defaults for everything but VoIP)
For download control it is more complicated as you can't control how fast things are sent to your router, all you can do is have your router essentially tell the ISP to slow down. This is done by the router dropping packets, which is not a very elegant way to do things but it does work. Now to control this in Tomato you have to set a download speed (about 90% of your actual speed) in the basic settings tab. Then you have to give 100% of the available bandwidth to the "Highest Class" if you've set the ATA to this classification. After this you need to make sure that all other classifications only get about 90% of your download speed. This will basically set aside 10% of your speed for VoIP. Unfortunately this setting is not dynamic like the upload so your other applications will always be limited to 90% of your max. |
|
  Aveamantium Formerly Reiper
join:2006-10-02 Loveland, CO
·ViaTalk
| I just wanted to add that if you disable utorrent and the phone works ok, then it has nothing to do with VT. Once you get Qos set up properly you shouldn't have to worry about it anymore as Tomato has probably the best Qos of the 3rd party firmwares for the WRT54Gs.
As for port forwarding, the only thing this will solve is one way audio as it gets around NAT. Now if you have Comcast you may consider having VT move your SIP ports to 5080 from 5060 as they have been known to cause issues with VoIP. |
|
 HUGE2U
join:2005-07-22 North Hollywood, CA
| reply to HUGE2U So this attached photo is how I just set it up. Look right? Also,m I want to make sure when I upload via ftp that to is kept in check when on the phone.
Sadly, it is not just when utorrent is on that there are dropouts and sound quality issues.
Thanks for the help,
A |
|
  Aveamantium Formerly Reiper
join:2006-10-02 Loveland, CO
·ViaTalk
| That looks right for the classification... Now you'll just have to play with the settings on the basic tab in order to set you priority bandwidth. Watch the "View Details" tab and you should see that all access with either 192.168.1.141 or 192.168.1.106 should have the Highest Class. For FTP you'll want to add another rule for DST Port 21 set to Med or Low. |
|
 HUGE2U
join:2005-07-22 North Hollywood, CA | reply to HUGE2U Checking the details really helped me to dial everything in. Thanks for all the help.
HUGE |
|
 HUGE2U
join:2005-07-22 North Hollywood, CA | One last question - what is the difference between dst and src IP?
Thanks,
HUGE |
|
  Aveamantium Formerly Reiper
join:2006-10-02 Loveland, CO
·ViaTalk
| src IP (source IP) is inside your network and dst IP (destination IP) would be a connection outside of your network. In fact I just looked back at your rules above and you have "To 192.168.1.141" and "To 192.168.1.106" so you must have used dst instead of src. I've always used src and my rules say "From 192.168.1.2". Since the rules are based on outgoing connections, I'd probably prioritize using SRC for you ATA's and DST for you FTP connections. Make sense? |
|
 HUGE2U
join:2005-07-22 North Hollywood, CA | mostly....  |
|
 scott2020
join:2008-07-20 El Dorado Springs, MO
·VOIPo
·BroadVoice
·Callcentric
| reply to HUGE2U What speeds up and down do you get when you do a speed test? I use Tomato and have had great luck with it. My speed tests show about 5 meg down and about 650k up. In Tomato I set my max download and max upload about 90% of my speed test. The trick is to adjust your downstream setting in Tomato so you can never saturate your DSL modem with downloads, by controlling how fast you are allowing PC's to download. I can run a speed test while on a VOIP call and only hear a quick "burp" at the beginning and then things are solid. |
|
  n1zuk This Space Available Premium join:2001-10-24 South Burlington, VT
·Future Nine Corpor..
·Comcast
·ViaTalk
·Packet8
| reply to HUGE2U You can also throttle the upload bandwidth of your torrent client. Combined with Tomato's QoS, I never seem to have a voice quality problem with any of the services I use. -- New to Forum Life? Click here and learn. |
|
 HUGE2U
join:2005-07-22 North Hollywood, CA
| said by n1zuk :You can also throttle the upload bandwidth of your torrent client. Combined with Tomato's QoS, I never seem to have a voice quality problem with any of the services I use. What do you mean by that?
HUGE |
|
  n1zuk This Space Available Premium join:2001-10-24 South Burlington, VT
·Future Nine Corpor..
·Comcast
·ViaTalk
·Packet8
| reply to HUGE2U I don't use utorrent as my client, but somewhere in the program, you can set "Global Bandwidth Limiting" (try clicking on 'Options' or the program's menu tray icon.
Set this maximum speed to be 150kbps less than your max upload bandwidth (if you only have the one computer + an ATA) or about 60-70% of your speed (more computers). -- New to Forum Life? Click here and learn. |
|