[svn-commits] jrose: branch 1.8 r324768 - /branches/1.8/include/asterisk/logger.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 24 11:48:10 CDT 2011


Author: jrose
Date: Fri Jun 24 11:48:06 2011
New Revision: 324768

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324768
Log:
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


Modified:
    branches/1.8/include/asterisk/logger.h

Modified: branches/1.8/include/asterisk/logger.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/logger.h?view=diff&rev=324768&r1=324767&r2=324768
==============================================================================
--- branches/1.8/include/asterisk/logger.h (original)
+++ branches/1.8/include/asterisk/logger.h Fri Jun 24 11:48:06 2011
@@ -181,7 +181,7 @@
 #endif
 #define AST_LOG_DTMF    __LOG_DTMF, _A_
 
-#define NUMLOGLEVELS 6
+#define NUMLOGLEVELS 7
 
 /*!
  * \brief Get the debug level for a module




More information about the svn-commits mailing list