From: Jonathan Rose Date: Fri, 24 Jun 2011 16:48:06 +0000 (+0000) Subject: DTMF wasn't being logged on connected consoles when enabled in logger.conf X-Git-Tag: 1.8.5-rc1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83fad31713f5f556e312479fcd004cd840549baf;p=thirdparty%2Fasterisk.git DTMF wasn't being logged on connected consoles when enabled in logger.conf Previously in order for DTMF to be logged in a connected console session, the user would have to do logger set channel DTMF on. This corrects that so that it is on by default. This issue was caused by an off by one error incurred by a logger level count of 6 in logger.h where it should have been 7. (closes issue: ASTERISK-17974) Reported by: Luke H git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324768 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index 322214e739..a2a28809f2 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -181,7 +181,7 @@ void ast_console_toggle_loglevel(int fd, int level, int state); #endif #define AST_LOG_DTMF __LOG_DTMF, _A_ -#define NUMLOGLEVELS 6 +#define NUMLOGLEVELS 7 /*! * \brief Get the debug level for a module