If you already mangle packets with IPTABLES, then you should comment the line[s] tos_* on sip.conf.

Regards,
Juan

Bart Fisher wrote:
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
 
From what I have read the reason is asterisk can't set TOS if not running in root.  Mine is running as asterisk.
 
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
 
Does this make sense? Is this the only method to end ths warning?
 
Thanks, Bart

_______________________________________________ -- 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
_______________________________________________
-- 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

Reply via email to