<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>I use the following in rc.local for setting tos bits using iptables:<br><br>iptables -A POSTROUTING -t mangle -p udp -m udp --sport 10000:20000 -j DSCP --set-dscp 0x2e<br><br>Works like a champ!<br><br>> 1. RE: Setting QOS settings in asterisk and/or CentOS?<br>> (Redouane Doumer)<br>> De : BerkHolz, Steven [mailto:StevenBerkHolz@TESCOGroup.com] <br>> Envoyé : jeudi 21 septembre 2006 15:33<br>> À : asterisk-users@lists.digium.com<br>> Objet : [asterisk-users] Setting QOS settings in asterisk and/or CentOS?<br>> <br>> <br>> How would I go about setting the TOS bit to "RTP IP TOS Byte: 18 (hex)" for SIP and IAX traffic at the asterisk server?<br>> <br>> Also, <br>> Do you have a quick reference on how to configure a Cisco switch to prioritize SIP traffic?<br>> I check in various Cisco docs, and there are so many references, and none of them seem to relate directly to using the TOS bit for QOS.<br>> <br>> I am looking into using the TOS bit because that is the only method that my SIP devices use. (Citel Handset Gateway)<br>> <br>> ref:<br>> QOS settings from Citel Handset Gateway:<br>> Handset Gateway - QoS Configuration<br>> <br>> IP Type of Service <br>> RTP IP TOS Byte: 18 (hex) <br>> <br>> Silence Suppression <br>> Mute Mode: On, UDP keep-alive every 10 seconds<br>> G.711 Voice Activity Detection: Off<br>> <br>> Codec Preferences <br>> G.711u: 1 (Highest priority) <br>> G.711a: 2<br>> <br>> <br>> <br>> Thank You,<br>> <br>> Steven BerkHolz<br>> - MCSA - MCSE -<br>> Manager of Information Systems<br>> TESCO Group Companies<br>> Fax. 248-836-5101<br>> www.TESCOGroup.com<br><br></body>
</html>