You could also change the tos setting in sip.conf and use a rule similar
to the one found in the LARTC. This is a bit easier, and perhaps cleaner
than matching many ports.



# tc filter add dev eth0 parent 1:0 prio 10 u32 \
     match ip tos 0x10 0xff \
     flowid 1:4


That would match TOS of 0x10, which is the "Low Delay" bit enabled. You
should change this to link to your appropriate flowid and parent node,
of course.




On Thu, 2005-01-27 at 16:39 -0600, [EMAIL PROTECTED] wrote:
> 
> <snip> 
> Does your script work for SIP too? Only for IAX? 
>   
> I’d like to put two of your bridges in my setup – one between the
> local LAN and the net, and the other at our branch office between the
> LAN and WAN there. 
>   
> But I need to be able to allow for sip to be QOSed, as we currently
> have an asterisk server at the remote office, and sip clients here. 
> </snip> 
> 
> SIP can easily be added. I am placing IAX2 into high priority by port.
> You could do this with SIP as well. Add port 5060 and 10000-20000 to
> the high priority queue. This HOWTO is meant to be read before
> implementing it. My example includes shaping video and Citrix, which
> you may not be interested in doing. In that case you'll need to remove
> those priority levels. 
> 
> -Ron 
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to