On Fri, 2009-10-30 at 09:53 +0100, Karsten Wemheuer wrote: > Hi Bart, > > Am Donnerstag, den 29.10.2009, 16:36 -0700 schrieb Bart Fisher: > > I don't understand this message: > > > > [2009-10-29 16:31:51] WARNING[28510]: rtp.c:1997 ast_rtp_settos: > > Unable to set TOS to 184 > > You did not tell us, which version of asterisk You are running. > > The kernel restricts setting of high ToS-bits for non-root users. To > allow a process to run as non-root and be able to set these bits, there > is the possibility to use 'capabilities'. This feature was implemtented > and fixed in the past (issues 7074 and 14004 at issues.asterisk.org). > > > I found one post that says to run at boot: > > > > #!/bin/bash > > /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 4569 -j DSCP > > --set-dscp-class ef > > /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 10000:20000 > > -j DSCP --set-dscp-class ef > > /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 5060 -j DSCP > > --set-dscp-class ef > > In case Your iptables is working, I think You can ignore the warning. <snip> I'm assuming this is working for non-root users in 1.6.1.6. I'm pretty sure the last time I took a packet trace, TOS was being set properly and I am not running as root - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsulli...@opensourcedevel.com
http://www.spiritualoutreach.com Making Christianity intelligible to secular society _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users