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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 22 02:59:17 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-22 02:59 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105280) dimas (reporter) - 2009-05-22 02:59
 https://issues.asterisk.org/view.php?id=15157#c105280 
---------------------------------------------------------------------- 
jcovert,
"Sorry, Leif and Brian, but the RTP spec (RFC 3550) clearly says that the
receiver is to ignore any RTP payload types which it does not understand."
Well technically, Asterisk ignores these packets so there is NO violation
of any kind. Unless you can point me out where RFC requires not writing
anything to the log file in this situation :)


However I would agree, this message better be logged as DEBUG level 1
instead of NOTICE. And I personally would prefer it over having one more
configuration option... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-22 02:59 dimas          Note Added: 0105280                          
======================================================================




More information about the asterisk-bugs mailing list