mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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/branches/1.4@47617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -151,8 +151,8 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data)
|
|||||||
maximumNumberOfWords = atoi(args.argMaximumNumberOfWords);
|
maximumNumberOfWords = atoi(args.argMaximumNumberOfWords);
|
||||||
if (!ast_strlen_zero(args.argSilenceThreshold))
|
if (!ast_strlen_zero(args.argSilenceThreshold))
|
||||||
silenceThreshold = atoi(args.argSilenceThreshold);
|
silenceThreshold = atoi(args.argSilenceThreshold);
|
||||||
} else
|
} else if (option_debug)
|
||||||
ast_log(LOG_NOTICE, "AMD using the default parameters.\n");
|
ast_log(LOG_DEBUG, "AMD using the default parameters.\n");
|
||||||
|
|
||||||
/* Now we're ready to roll! */
|
/* Now we're ready to roll! */
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
|
Reference in New Issue
Block a user