Can anyone help with this. Need a script to dedicate bandwidth for my voip calls. This is the scenerio. Each call requires 8kbpsx8kbps. When a call is initiated through any of my voip gateway (with public addresses 216.139.170.234, 216.139.170.139.235 and 216.139.170.237), I need 8kbps to be immediately available for each of the calls. So if browsing was taking all of the bandwidth I have at the point in time, this should be freed immediately. As many voip calls as are initiated, 8kps must be released for each call. Once a call is terminated, then to also free this 8kbps after 15 seconds and make this available for browsing.
Iam new to Linux and don’t have a clue what to do here.
if these addresses serves only for VoiPconnections that you can mark all packets coming to these interfaces and give them bigger priority number under ‘/queue tree’ than ones coming to/from other interfaces or addresses.
You can use also set-tos parameter in firewall for VoIP packets. Read the documentation for more information:
http://www.mikrotik.com/docs/ros/2.8/ip/mangle.frameset
http://www.mikrotik.com/docs/ros/2.8/root/queue.frameset
Edgars