No subject
Sun Jul 19 19:54:31 CDT 2009
running in root. Mine is running as asterisk.
I found one post that says to run at boot:
#!/bin/bash=20
/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
------=_NextPart_000_0039_01CA58B5.F7298A20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18812">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2 face=3DArial>I don't understand this =
message:</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>[2009-10-29 16:31:51] WARNING[28510]: =
rtp.c:1997=20
ast_rtp_settos: Unable to set TOS to 184</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>From what I have read the reason is =
asterisk can't=20
set TOS if not running in root. Mine is running as =
asterisk.</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>I found one post that says to run at=20
boot:</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>#!/bin/bash <BR>/sbin/iptables -A =
OUTPUT -t mangle=20
-p udp -m udp --sport 4569 -j DSCP --set-dscp-class ef<BR>/sbin/iptables =
-A=20
OUTPUT -t mangle -p udp -m udp --sport 10000:20000 -j DSCP =
--set-dscp-class=20
ef<BR>/sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 5060 -j =
DSCP=20
--set-dscp-class ef</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>Does this make sense? Is this the only =
method to=20
end ths warning?</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial>Thanks, Bart</FONT></DIV></BODY></HTML>
------=_NextPart_000_0039_01CA58B5.F7298A20--
More information about the asterisk-users
mailing list