[asterisk-bugs] [Asterisk 0015157]: Annoying "Unknown RTP codec 126 received" messages confuse people

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 19 14:43:51 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15157 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15157
Category:                   Core/RTP
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-19 12:51 CDT
Last Modified:              2009-05-19 14:43 CDT
====================================================================== 
Summary:                    Annoying "Unknown RTP codec 126 received" messages
confuse people
Description: 
The X-Lite Softphone, one of the most commonly used softphones on Asterisk,
sends RTP codec 126 messages, which annoy and confuse users who are running
with verbosity set to 3, the most likely verbosity setting for watching a
system in operation.

I propose:

a. modifying main/rtp.c to test VERBOSITY_ATLEAST(4) prior to the call to
ast_log(LOG_NOTICE, "Unknown RTP codec %d received from...",...)

b. (and/or possibly) explicitly ignoring 126 no matter what the
verbosity.

I will generate a patch in the next two or three days; in the interim I
welcome any comments.

I also note that in trunk rtp.c has been replaced by rtp_engine.c; I have
not yet determined whether a similar issue exists.  Comments?

Regards/john
====================================================================== 

---------------------------------------------------------------------- 
 (0105039) tilghman (administrator) - 2009-05-19 14:43
 https://issues.asterisk.org/view.php?id=15157#c105039 
---------------------------------------------------------------------- 
Neither of your two suggestions will be committed:  1) these messages are
NOTICE, not WARNING or ERROR, so they are already at a level where they can
be ignored, and 2) combining LOG level messages with VERBOSE levels is not
a welcome change. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-19 14:43 tilghman       Note Added: 0105039                          
======================================================================




More information about the asterisk-bugs mailing list