Prioritize VoIP - post your ideas

currently we are using two techniques to matching voice traffic.
All customers that doing voip using an AVM-Fritzbox as VoIP ATA.

The device using port 5060 for SIP and port 7078-7097 for RTP.
we are using this port ranges to match the traffic, also we are using the destination address from our voip providers voip gateways and servers.

The rest is a matter of 802.11q,queue tree and nv2.

Sincerely, Richard

I was wondering if anyone had any updated VOIP QOS best practices with the new version of RoS?

Currently we are using the “mark TOS” method and just creating Queue Tree entries. This doesn’t seem to work real well when users are flooding the networks.

Any info is very much appreciated.

Thank you

This is what we use. But we found that the speeds don’t actually match what they have. For example: If the customer has 50Mbps down and i put that in the parent rule, they will not get even close to 50, more like 16. If i turn off that rule or change it to 200M then they get the 50. Am i doing something wrong here?

#Packet Marks for Media Server
/ip firewall mangle
add action=mark-packet chain=prerouting dst-address=“voip media server IP” in-interface=bridge-local new-packet-mark=“VOIP UP”
add action=mark-packet chain=prerouting dst-address=!“voip media server IP” in-interface=bridge-local new-packet-mark=“Data UP”
add action=mark-packet chain=postrouting new-packet-mark=“VOIP DL” out-interface=bridge-local src-address=“voip media server IP”
add action=mark-packet chain=postrouting new-packet-mark=“Data DL” out-interface=bridge-local src-address=!“voip media server IP”

#QoS Setup. Please Do a speed test to verify Upload/Download Speeds and then adjust the following rules to match
/queue simple
add comment=“Reconfigure to match actual total Up/Dn speeds” max-limit=10M/40M name=Parent target=bridge-local
add comment=“Configure Up/Dn speeds in this rule by multipling the amount of phones x 100k” max-limit=768k/768k name=“VOIP UL” packet-marks=“VOIP UL” parent=Parent priority=1/1 target=192.168.88.0/24
add comment=“Configure Up/Dn speeds in this rule by multipling the amount of phones x 100k” max-limit=768k/768k name=“VOIP DL” packet-marks=“VOIP DL” parent=Parent priority=1/1 target=bridge-local
add comment=“Configure this rule with your Up/Dn speeds minus the bandwith you put for the VOIP rules.” max-limit=9M/39M name=“Data UP” packet-marks=“Data UP” parent=Parent target=192.168.88.0/24
add comment=“Configure this rule with your Up/Dn speeds minus the bandwith you put for the VOIP rules.” max-limit=9M/39M name=“Data DL” packet-marks=“Data DL” parent=Parent target=bridge-local

Let me know what you think.

thanks

Bump!

Guys,

I bought the Mikrotik router and used AP and PPOE settings to enable the router and my ISP provider.

I have 10MBs service, but when I use speediest websites such as testmy.net net performance maxes out at 3.2MBps.

I need your help with streamlining my configuration and with QOS. The requirement for QOS is as per the priority listed, can any one help me.

VOIP
Streaming video content - You tube
SSH
FTP
Downloading
Torrent downloads.

What about this simple solution from another poster on this forum:

Qos Script Lite v1.0

September 7, 2013

Compatible with RouterOS 6.3

Rename ether-WAN and ether-LAN to match your environment

Mark all UDP traffic for an IP-PBX.

/ip firewall mangle
add chain=forward action=mark-connection protocol=udp src-address=10.0.1.11
connection-state=new new-connection-mark="VOIP" comment="IP-PBX"
add chain=forward action=mark-packet passthrough=no connection-mark="VOIP"
new-packet-mark="VOIP"
add chain=forward action=mark-connection protocol=udp dst-address=10.0.1.11
connection-state=new new-connection-mark="VOIP"
add chain=forward action=mark-packet passthrough=no connection-mark="VOIP"
new-packet-mark="VOIP"

Mark everything else.

add chain=forward action=mark-connection connection-mark=no-mark
new-connection-mark="OTHER" comment="OTHER"
add chain=forward action=mark-packet passthrough=no connection-mark="OTHER"
new-packet-mark="OTHER"

Create two queue trees set to 90% of ISP Internet service.

/queue tree
add name="LEVEL_A_UP" parent=ether1-gateway queue=default max-limit=900k
add name="LEVEL_A_DOWN" parent=ether2-local queue=default max-limit=4M
add name="LEVEL_B_UP" parent=ether1-gateway queue=default max-limit=900k
add name="LEVEL_B_DOWN" parent=ether2-local queue=default max-limit=4M

Add our marked connections as children of queue so priority works.

add name="VOIP_U" parent="LEVEL_A_UP" packet-mark="VOIP" queue=default priority=1
add name="VOIP_D" parent="LEVEL_A_DOWN" packet-mark="VOIP" queue=default priority=1
add name="OTHER_U" parent="LEVEL_B_UP" packet-mark="OTHER" queue=default priority=2
add name="OTHER_D" parent="LEVEL_B_DOWN" packet-mark="OTHER" queue=default priority=2

I have problem with skype video, is any way how to prioritize it?