[asterisk-bugs] [Asterisk 0010863]: log complaining about tos setting

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 16 05:16:29 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10863 
====================================================================== 
Reported By:                idkpmiller
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10863
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-01-2007 23:53 CDT
Last Modified:              10-16-2007 05:16 CDT
====================================================================== 
Summary:                    log complaining about tos setting
Description: 
If you set tos = ef in iax.conf then the log (full) says tos cannot be set
to 184, ee actual entries below:

[Oct  2 18:08:34] VERBOSE[18529] logger.c:   == Using TOS bits 184
[Oct  2 18:08:34] WARNING[18529] netsock.c: Unable to set TOS to 184

If you set tos = af41 then "Using TOS bits 136" is shown in the log.
Something is wrong with using ef although it is the recommended value. I
have yet to check to see if the packets are being marked correctly.



====================================================================== 

---------------------------------------------------------------------- 
 idkpmiller - 10-16-07 05:16  
---------------------------------------------------------------------- 
qwell,
Are you suggesting the lines in the log:
[Oct 2 18:08:34] VERBOSE[18529] logger.c: == Using TOS bits 184
[Oct 2 18:08:34] WARNING[18529] netsock.c: Unable to set TOS to 184

may actually be generated by RTP?
if so then it changes as stated when I set sip signalling tos below ef
i.e. af41 which to me implied the log messages pointed to SIP signalling
tos marking. I have not seen anything regarding RTP specifically in the log
if I set it to ef although looking at the code you stated it would be
obvious which flow was unable to be set!

Can someone please set RTP and SIP signalling to EF and tell me if they
see a warning message logged for both flows when asterisk is set to non
root.

Thanks 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-07 05:16  idkpmiller     Note Added: 0072073                          
======================================================================




More information about the asterisk-bugs mailing list