From 976521c9a2e6984ee34462cb52ba091f41b9fd91 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Wed, 8 Sep 2021 06:52:43 -0600 Subject: [PATCH] bridge_softmix: Suppress error on topology change failure There are conditions under which a failure to change topology is expected so there's no need to print an ERROR message. ASTERISK-29618 Reported by: Alexander Change-Id: Idc168b8588e018bf3a23769f08c4ad646086d481 --- bridges/bridge_softmix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c index d51a55f7d1..c7b1d6c8ba 100644 --- a/bridges/bridge_softmix.c +++ b/bridges/bridge_softmix.c @@ -666,7 +666,8 @@ static void sfu_topologies_on_join(struct ast_bridge *bridge, ast_trace(-1, "%s: Requesting topology change.\n", ast_channel_name(joiner->chan)); res = ast_channel_request_stream_topology_change(joiner->chan, sc->topology, NULL); if (res) { - SCOPE_EXIT_LOG_RTN(LOG_ERROR, "%s: Couldn't request topology change\n", ast_channel_name(joiner->chan)); + /* There are conditions under which this is expected so no need to log an ERROR. */ + SCOPE_EXIT_RTN("%s: Couldn't request topology change\n", ast_channel_name(joiner->chan)); } AST_LIST_TRAVERSE(participants, participant, entry) { -- 2.47.2