Valores para asterisk 1.8 protocolo SIP tos_sip y protocolo RTP tos_audio
Archivo sip.conf
tos_sip=cs3
tos_audio=ef
tos_video=af41
Equivalencias:
ef = dscp 46 = 101110 = tos 0xb8 (184) = ip prec 5
af31 = dscp 26 = 011010 | tos 0x68 (104) = ip prec 3
af32 = dscp 28 = 011100 = tos 0x70 (112) = ip prec 3
cs3 = dscp 24 = 011000 = tos 0x60 (96) = ip prec 3
Mikrotik:
/ip firewall mangle
add action=mark-packet chain=prerouting comment=VOIP new-packet-mark=voip-mark passthrough=no protocol=udp \ src-address=10.0.0.2
add action=mark-packet chain=prerouting comment=VOIP dst-address=10.0.0.2 new-packet-mark=voip-mark protocol=udp
add action=mark-packet chain=prerouting comment=VOIP dscp=46 new-packet-mark=voip-markadd action=mark-packet chain=prerouting comment=VOIP new-packet-mark=bulk packet-mark=!voip-mark \ passthrough=no
/queue tree
add name=Cola_Principal parent=PPOE_CASA priority=1
add limit-at=1M max-limit=2M name=Trafico_VOIP packet-mark=voip-mark parent=Cola_Principal priority=1 queue=\ ethernet-default
add limit-at=8M max-limit=10M name=Trafico_Bulk packet-mark=bulk parent=Cola_Principal queue=\ ethernet-default
No hay comentarios:
Publicar un comentario