Skip to content
Snippets Groups Projects
Commit a4579471 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

app_softhangup.c: Reduce unnecessary warning to verbose message.

Why log a warning for something your dialplan explicitly asked for?

Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7
parent cee68ea4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment