[asterisk-commits] trunk r27436 - /trunk/apps/app_channelredirect.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue May 16 12:20:50 MST 2006
Author: oej
Date: Tue May 16 14:20:50 2006
New Revision: 27436
URL: http://svn.digium.com/view/asterisk?rev=27436&view=rev
Log:
Adding check of option_debug
Modified:
trunk/apps/app_channelredirect.c
Modified: trunk/apps/app_channelredirect.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_channelredirect.c?rev=27436&r1=27435&r2=27436&view=diff
==============================================================================
--- trunk/apps/app_channelredirect.c (original)
+++ trunk/apps/app_channelredirect.c Tue May 16 14:20:50 2006
@@ -105,7 +105,8 @@
goto chanquit;
}
- ast_log(LOG_DEBUG, "Attempting async goto (%s) to %s|%s|%d\n", args.channel, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio);
+ if (option_debug > 1)
+ ast_log(LOG_DEBUG, "Attempting async goto (%s) to %s|%s|%d\n", args.channel, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio);
if (ast_async_goto_if_exists(chan2, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio))
ast_log(LOG_WARNING, "%s failed for %s\n", app, args.channel);
More information about the asterisk-commits
mailing list