[Asterisk-code-review] res rtp asterisk: Move "Set role" warning to be debug. (asterisk[11])

Joshua Colp asteriskteam at digium.com
Wed Sep 30 13:45:29 CDT 2015


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/1346

Change subject: res_rtp_asterisk: Move "Set role" warning to be debug.
......................................................................

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
---
M res/res_rtp_asterisk.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/46/1346/1

diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index a88130d..fcbc12e 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -797,7 +797,7 @@
 		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;
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/1346
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e17e4316f0f0d7f095c78c3d4fd73a913b6ba69
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list