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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 21 13:47:38 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:                     new
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-21 13:47 CDT
====================================================================== 
Summary:                    [patch] 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105247) jsmith (administrator) - 2009-05-21 13:47
 https://issues.asterisk.org/view.php?id=15157#c105247 
---------------------------------------------------------------------- 
Here are my two cents:

1) While it's a hackish form of NAT keepalive, the unknown payload type
RTP packets are gaining more and more traction in the SIP community

2) Obviously Asterisk is just printing notices, which wouldn't be too bad,
except that it does tend to fill up the log files much more quickly than I
would like to see happen.

Tilghman (or any other -devs), would you be amenable to a config option in
rtp.conf that simply suppressed the notices for this particular situation? 
I think it's a reasonable compromise... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-21 13:47 jsmith         Note Added: 0105247                          
======================================================================




More information about the asterisk-bugs mailing list