[asterisk-commits] trunk r31840 - /trunk/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jun 3 15:08:26 MST 2006


Author: bweschke
Date: Sat Jun  3 17:08:25 2006
New Revision: 31840

URL: http://svn.digium.com/view/asterisk?rev=31840&view=rev
Log:
 Make sure DEBUG is really cranked up before we decide to flood the logs with messages about Internal timing when a channel has to make a decision about generating internal timing (eg - MOH)


Modified:
    trunk/channel.c

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=31840&r1=31839&r2=31840&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Sat Jun  3 17:08:25 2006
@@ -2097,7 +2097,7 @@
 int ast_internal_timing_enabled(struct ast_channel *chan)
 {
 	int ret = ast_opt_internal_timing && chan->timingfd > -1;
-	if (option_debug > 3)
+	if (option_debug > 20)
 		ast_log(LOG_DEBUG, "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd);
 	return ret;
 }



More information about the asterisk-commits mailing list