From 964f27f316bcdc8b062aae1790e35a53a8f56788 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 14 Nov 2006 16:48:03 +0000 Subject: [PATCH] Merged revisions 47617 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47617 | file | 2006-11-14 11:45:57 -0500 (Tue, 14 Nov 2006) | 2 lines Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47618 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_amd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_amd.c b/apps/app_amd.c index 21e9b90faf..e5dee1efc5 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -151,8 +151,8 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data) maximumNumberOfWords = atoi(args.argMaximumNumberOfWords); if (!ast_strlen_zero(args.argSilenceThreshold)) silenceThreshold = atoi(args.argSilenceThreshold); - } else - ast_log(LOG_NOTICE, "AMD using the default parameters.\n"); + } else if (option_debug) + ast_log(LOG_DEBUG, "AMD using the default parameters.\n"); /* Now we're ready to roll! */ if (option_verbose > 2) -- 2.47.2