From: Joshua Colp Date: Wed, 30 Sep 2015 18:42:40 +0000 (-0300) Subject: res_rtp_asterisk: Move "Set role" warning to be debug. X-Git-Tag: 11.20.0-rc2~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0985851aba9bc8ca234b66cd47c50e45eae61f;p=thirdparty%2Fasterisk.git res_rtp_asterisk: Move "Set role" warning to be debug. In practice the set_role API callback can be invoked even when no ICE is present on an RTP instance. This can occur if ICE has not been enabled on it. ASTERISK-25438 #close Change-Id: I0e17e4316f0f0d7f095c78c3d4fd73a913b6ba69 --- diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index a88130d5e6..fcbc12ea83 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -797,7 +797,7 @@ static void ast_rtp_ice_set_role(struct ast_rtp_instance *instance, enum ast_rtp role == AST_RTP_ICE_ROLE_CONTROLLED ? "CONTROLLED" : "CONTROLLING", instance); if (!rtp->ice) { - ast_log(LOG_WARNING, "Set role failed; no ice instance (%p)\n", instance); + ast_debug(3, "Set role failed; no ice instance (%p)\n", instance); return; }