From a45794719871496249386744a471e8f6f8d8ddba Mon Sep 17 00:00:00 2001 From: Richard Mudgett <rmudgett@digium.com> Date: Sun, 29 Dec 2019 17:31:28 -0600 Subject: [PATCH] app_softhangup.c: Reduce unnecessary warning to verbose message. Why log a warning for something your dialplan explicitly asked for? Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7 --- apps/app_softhangup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c index 5c143afef3..2e3c7fc369 100644 --- a/apps/app_softhangup.c +++ b/apps/app_softhangup.c @@ -117,7 +117,7 @@ static int softhangup_exec(struct ast_channel *chan, const char *data) *cut = 0; } if (!strcasecmp(name, args.channel)) { - ast_log(LOG_WARNING, "Soft hanging %s up.\n", ast_channel_name(c)); + ast_verb(4, "Soft hanging %s up.\n", ast_channel_name(c)); ast_softhangup(c, AST_SOFTHANGUP_EXPLICIT); if (!ast_test_flag(&flags, OPTION_ALL)) { ast_channel_unlock(c); -- GitLab