1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Qos & voip

Discussion in 'Tomato Firmware' started by rolelael, May 6, 2009.

  1. rolelael

    rolelael Addicted to LI Member

    Hello, I enabled QOS on my tomato firmare ( latest build ) , but see this in the details :

    UDP 192.168.1.102 5060 sip.zalloo.com ( 62.213.196.39) 5060 Highest
    UDP 192.168.1.102 5060 sip.zoiper.com (62.213.196.36) 5060 Unclassified
    UDP 192.168.1.102 5060 sip.3starsnet.com (85.119.188.3) 5060 Highest

    Why is it Unclassified ? I have 1 general classification saying :

    ANY ADDRESS , tcp/udp --> SRC/DST PORT 5060 --> Highest prio

    It seems ok, but always for the entry with IP 62.213.196.36 it says unclassified

    I don't see why ?
     
  2. paped

    paped LI Guru Member

    I had a similar issue I think it sometimes get confused if the rules are too "open" so I changed it to a 2 rule solution that just does everything (port wise) to the voice system.

    rule one is: from xx.xx.xx.xx (your ip address) highest
    rule two is: to xx.xx.xx.xx (your ip address) highest

    This does have one other benefit if your device is a voip spa device in that port 5060 is only the registration port other ports carry the actual call traffic which often differ between suppliers and theres also RTP on 5004 and possibly STUN which will use a port. All of which especially the voice channels need priority. These rules will thus capture these and give the correct priority. However if your device is a PC with say a softphone the rules above would not be suitable and would need to be much more complex, as you would need to note all the individual ports used and give priority only to them, your sip provider should be able to give you full port details.
     
  3. gregg098

    gregg098 LI Guru Member

    If this is for a VOIP device separate from your computer, you could just put the units mac address in the QOS rule and set it to Highest. Thats what I do and it works perfectly.
     
  4. rolelael

    rolelael Addicted to LI Member

    Tried

    I did try the mac, but it gave a similar issues

    This it how it's set up now :

    Match Rule
    TCP/UDP
    Port: 5060
    L7: sip
    Highest SIP

    TCP/UDP
    Port: 5160
    L7: sip
    Highest SIP2

    TCP/UDP
    Port: 10000-20000
    L7: rtp-2
    Highest RTP

    So in my eyes it should work, but it doesn't

    It gives :

    UDP 192.168.1.102 5060 62.213.196.39 5060 Highest
    UDP 192.168.1.102 5060 62.213.196.36 5060 Unclassified
    UDP 192.168.1.102 5060 85.119.188.36 5060 Highest

    It's indeed a voip device connected via the LAN ( router ) , with IP 192.168.1.102 ( static IP )

    Anyone who could give me some good settings --> appreciated... What's Vegas ? I checked it , but no idea if it will help my voip quality.

    Reason I went for QOS and classification is the sometimes bad call quality I have a 12mbitdown/400kup speed line, but sometimes ( even when I don't do anything on the pc ( or it's turned off ), people suddenly doen't hear me or it's hacked up.
    VOIP foon settings seems fine. Anyone who can help me with good settings on tomato ( latest version ) ? There are a lot of guides on the net.... but it's a mess

    tx

    R
     
  5. rolelael

    rolelael Addicted to LI Member

    Still no luck

    looking for the diehards here :)

    I now have tried the 2 rules as suggested

    From : 192.168.1.102 to any address ( any port ) HIGHEST
    To : 192.168.1.102 from any ( any port ) HIGHEST

    But still getting :

    UDP 192.168.1.102 5060 stun01.sipphone.com (69.0.208.27) 3478 Highest
    UDP 192.168.1.102 5060 sip.3starsnet.com (85.119.188.3) 1025 Unclassified
    UDP 192.168.1.102 5060 sip.3starsnet.com (85.119.188.3) 5060 Highest
    UDP 192.168.1.102 5060 sip.zalloo.com (62.213.196.39) 5060 Highest
    UDP 192.168.1.102 5060 sip.zoiper.com (62.213.196.36) 5060 Unclassified


    Seems not correct and buggy

    Any help appreciated
     
  6. Toastman

    Toastman Super Moderator Staff Member Member

    The last post is pretty clear - anything to and from that IP should be classified. but it isn't. Perhaps if you post all your rules and basic QOS setup it may reveal something, the diehards can examine it for leeches :biggrin:
     
  7. gregg098

    gregg098 LI Guru Member

    Another thing to look at, which kind of goes along with Toastman's post, is to check the order. QOS rules are processed from top to bottom. I would try to simplify the process by again trying to prioritize by MAC address only, but place the rule at the very top of the list.
     
  8. Toastman

    Toastman Super Moderator Staff Member Member

Share This Page