From fcf385d5b53051e81bc108006221d62b5639a36a Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 18 May 2009 08:34:07 +0000 Subject: [PATCH] More ticket #851: bug on Role Conflict case. The (now) controlling agent is resending the Binding request but without USE-CANDIDATE git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/sipit24@2708 74dad513-b988-da41-8d7b-12977e46ad98 --- pjnath/src/pjnath/ice_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c index 77953c059..648a6e86b 100644 --- a/pjnath/src/pjnath/ice_session.c +++ b/pjnath/src/pjnath/ice_session.c @@ -2041,7 +2041,7 @@ static void on_stun_request_complete(pj_stun_session *stun_sess, LOG4((ice->obj_name, "Resending check because of role conflict")); check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_WAITING, 0); perform_check(ice, clist, msg_data->data.req.ckid, - check->nominated); + check->nominated || ice->is_nominating); pj_mutex_unlock(ice->mutex); return; }