rtp.c: Unable to set TOS to 184

Discussion in 'General' started by jgibson, Feb 11, 2010.

  1. jgibson

    Joined:
    Dec 29, 2008
    Messages:
    78
    Likes Received:
    0
    I have been seeing this pop up in my log files. I have done some research on it and have added iptable command to rc.local. The code is bellow. I have read that iptables are disables on different distributions. After I put in this code I reset the box and I see the same warning. I imagine that asterisk doesn't know that I am setting the TOS with iptables. What I want is a little assurance that what I have done will work and a way to stop that warning from appearing.

    Code:
    /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
    
     

Share This Page