Do you have STUN server configured on your phones? Some VoIP servers require that each phone behind the nat registers using a different local port. For example, local port of phone1 is 5060, for phone2 5061, and so on..I comment on NAT, because 100 calls have no audio 8 on one side, from what I read, would come to be a subject of Symmetric NAT, what do I know my provider, to implement NAT rules in the nat or filter ?
As my VOIP provider uses large ranges of ports and ips, to implement the rule becomes non-functional. How to make the router work differently to symmetric nat. I also disabled the sip helper, because my provider works with STUN.
The QoS I have, is for marking packages and adrees list for voip (or would be too convenient to do so by packet size, ie up to 100k, for example?). But now bothering me this much the theme of NAT.
Yes,Do you have STUN server configured on your phones? Some VoIP servers require that each phone behind the nat registers using a different local port. For example, local port of phone1 is 5060, for phone2 5061, and so on..I comment on NAT, because 100 calls have no audio 8 on one side, from what I read, would come to be a subject of Symmetric NAT, what do I know my provider, to implement NAT rules in the nat or filter ?
As my VOIP provider uses large ranges of ports and ips, to implement the rule becomes non-functional. How to make the router work differently to symmetric nat. I also disabled the sip helper, because my provider works with STUN.
The QoS I have, is for marking packages and adrees list for voip (or would be too convenient to do so by packet size, ie up to 100k, for example?). But now bothering me this much the theme of NAT.
/ip firewall mangle
add action=mark-packet chain=postrouting disabled=no dst-address-list=VoIP new-packet-mark=voip_out out-interface=ether1 passthrough=no protocol=udp
add action=mark-packet chain=prerouting disabled=no in-interface=ether1 new-packet-mark=voip_in passthrough=no protocol=udp src-address-list=VoIP
add action=mark-packet chain=postrouting disabled=no new-packet-mark=voip_out out-interface=ether1 packet-size=0-100 passthrough=no protocol=udp
add action=mark-packet chain=prerouting disabled=no in-interface=ether1 new-packet-mark=voip_in packet-size=0-100 passthrough=no protocol=udp
add action=mark-packet chain=postrouting disabled=no new-packet-mark=internet_out out-interface=ether1 passthrough=no
add action=mark-packet chain=prerouting disabled=no in-interface=ether1 new-packet-mark=internet_in passthrough=no
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2500k name=TotalIN packet-mark=ALL-IN parent=global-in priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=350k name=TotalOut packet-mark=ALL-OUT parent=global-out priority=1
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=300k max-limit=500k name=VOIP_IN packet-mark=voip_in parent=TotalIN priority=1 queue=pcq-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=150k max-limit=200k name=VOIP_OUT packet-mark=voip_out parent=TotalOut priority=1 queue=pcq-up
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2200k name=INTERNET_IN packet-mark=internet_in parent=TotalIN priority=2 queue=pcq-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=200k name=INTERNET_OUT packet-mark=internet_out parent=TotalOut priority=2 queue=pcq-up
/routing bgp instance