From: Jonathan Rose Date: Fri, 24 Jun 2011 16:50:49 +0000 (+0000) Subject: Merged revisions 324768 via svnmerge from X-Git-Tag: 11.0.0-beta1~1436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65773316cef3348be8e5ef92df589e3900d9378b;p=thirdparty%2Fasterisk.git Merged revisions 324768 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r324768 | jrose | 2011-06-24 11:48:06 -0500 (Fri, 24 Jun 2011) | 11 lines 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/trunk@324769 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