summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-09-30 15:42:40 -0300
committerJoshua Colp <jcolp@digium.com>2015-09-30 13:46:00 -0500
commit9f229d6a49ffbc0ab246e6907cf511e7a05e861f (patch)
tree6b44508face4f6b65820225c772cb66a4af71b9e
parent12feec0bf7d40e2b3bce3601ffc2e034ad801a4d (diff)
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
-rw-r--r--res/res_rtp_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index a51e07c8d..870c4f1b7 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -799,7 +799,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;
}