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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 3 13:59:28 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-03 13:59 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'
====================================================================== 

---------------------------------------------------------------------- 
 (0135687) jrose (manager) - 2011-06-03 13:59
 https://issues.asterisk.org/view.php?id=19287#c135687 
---------------------------------------------------------------------- 
I looked all over and couldn't find it any friggen-where.  It's obscured
quite nicely, could be anything involving logger.h really.  If I had to
take a guess, I wouldn't be surprised if it was something completely
ridiculous like chan_dahdi.

I've changed the patch to a slightly more superficial one, but it makes
sense and it doesn't rock the boat much, so I'm going to go ahead and
commit it as soon as someone gives a ship it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-03 13:59 jrose          Note Added: 0135687                          
======================================================================




More information about the asterisk-bugs mailing list