Commit e095830b authored by Simon Morlat's avatar Simon Morlat
Browse files

Fix : don't trigger legacy stun tests when ICE is enabled

parent 42af41d5
......@@ -1362,7 +1362,8 @@ LinphoneCall * linphone_call_new_outgoing(struct _LinphoneCore *lc, LinphoneAddr
linphone_call_check_ice_session(call, IR_Controlling, FALSE);
if (linphone_nat_policy_ice_enabled(call->nat_policy)) {
if (linphone_nat_policy_stun_enabled(call->nat_policy) && !(linphone_nat_policy_ice_enabled(call->nat_policy)
|| linphone_nat_policy_turn_enabled(call->nat_policy))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment