In QoS section, set these parameters. It's also extremely important to run bandwidth tests with NOTHING running on any computer that uses bandwidth in order to determine the maximum upload and maximum download speeds. The Tomato router will then use these values to calculate ratios of what different types of traffic are allowed to use. As you can see, my actual connection is not quite fast, but that's allright

In the Classification screen, erase everything that is already there and put the following rules. Their order in the list is extremely important, so use the up/down green arrows to order them accordingly. Yes I could have brought DNS 512 lower it makes no difference. Note that I've used a number of tricks to detect voip traffic because not all rules apply all the time.<
The traffic is detected if any of these is true:
1. Connects to FreePhoneLine's main voip server.
2. Any UDP packet going anywhere, and flagged with layer-7 SIP
3. Any UDP packet going anywhere, and flagged with layer-7 RTP
4. Any UDP packet in the 5xxx port range
The rest of the rules are also important because they force "anything else" to be lower priority. General web traffic (top two rules) assigns a high priority (but not top priority) to small web traffic (loading webpages) and lwoer priority for larger transfers (downloads).
Finally, DNS traffic is put to the top just to help your casual web browsing experience.