summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-11-14 16:48:03 +0000
committerJoshua Colp <jcolp@digium.com>2006-11-14 16:48:03 +0000
commit964f27f316bcdc8b062aae1790e35a53a8f56788 (patch)
tree19c3fc1d9126b97cbc8fa856882c627f51fcfe5e /apps
parent6e4ed956bcb887bc4bfc5aaa3aadc5a4a09f0478 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/app_amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c
index 21e9b90fa..e5dee1efc 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)