[asterisk-bugs] [Asterisk 0019287]: inverse / incorrect behavior for CLI / console logging of DTMF

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 2 18:47:23 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19287 
====================================================================== 
Reported By:                luckman212
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19287
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.4 
JIRA:                       SWP-3468 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-12 23:54 CDT
Last Modified:              2011-06-02 18:47 CDT
====================================================================== 
Summary:                    inverse / incorrect behavior for CLI / console
logging of DTMF
Description: 
try this:

set /etc/asterisk/logger.conf as so:
[general]
dateformat=%F %T

[logfiles]
messages => notice,warning,error
full => dtmf,notice,warning,error,debug,verbose
console => dtmf,notice,warning,error


Now, start Asterisk CLI and try to play some DTMF tones, you won't see
them logged to the console (but they ARE logged to /var/log/asterisk/full)

now,
type 'logger set level DTMF off'   (yes, OFF)

and test again, now DTMF is being logged to console! 
so it seems the switch is somehow 'backwards'
====================================================================== 

---------------------------------------------------------------------- 
 (0135659) luckman212 (reporter) - 2011-06-02 18:47
 https://issues.asterisk.org/view.php?id=19287#c135659 
---------------------------------------------------------------------- 
Yes it makes sense that the defaults would have been backwards, thus sort
of hiding the original problem.  It's odd that out of all the 6 channels,
only DTMF is set properly when it gets initialized.  But maybe that's
because it was the last one added.  

I tried feebly to dig up the bit of code where these defaults are being
set.  But I really have no clue where this is hiding.  Anyone know? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-02 18:47 luckman212     Note Added: 0135659                          
======================================================================




More information about the asterisk-bugs mailing list