[asterisk-bugs] [Asterisk 0012848]: use ast_getformatname_multiple instead of ast_getformatname for log message

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jun 19 11:55:54 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12848 
====================================================================== 
Reported By:                klaus3000
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12848
Category:                   Core/Channels
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta7.1 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-13-2008 02:41 CDT
Last Modified:              06-19-2008 11:55 CDT
====================================================================== 
Summary:                    use ast_getformatname_multiple instead of
ast_getformatname for log message
Description: 
Hi!

When debugging codec problems (non matching codecs) I often see the log
message:

WARNING[19062]: channel.c:2757 set_format: Unable to find a codec
translation path from unknown to unknown

This log message is not very useful as it does not display the codecs as a
channel my support multiple codecs. Using ast_getformatname_multiple
instead of ast_getformatname would solve this issue
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-19-08 11:55  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 123931

_U  trunk/
U   trunk/main/channel.c

------------------------------------------------------------------------
r123931 | tilghman | 2008-06-19 11:55:52 -0500 (Thu, 19 Jun 2008) | 13
lines

Merged revisions 123930 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5
lines

Change informative messages to use the _multiple variant when multiple
formats
are possible.
(Closes issue http://bugs.digium.com/view.php?id=12848)
Reported by klaus3000

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=123931 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-19-08 11:55  svnbot         Note Added: 0088943                          
======================================================================




More information about the asterisk-bugs mailing list