FS-10258: [mod_sofia] FW must keep previously negotiated DTLS role during SIP re-INVITE -- this part backwards
This commit is contained in:
parent
69eee29078
commit
62807092a9
|
@ -3641,7 +3641,7 @@ static switch_call_direction_t switch_ice_direction(switch_rtp_engine_t *engine,
|
|||
}
|
||||
|
||||
if (switch_rtp_has_dtls() && dtls_ok(smh->session)) {
|
||||
r = engine->dtls_controller ? SWITCH_CALL_DIRECTION_OUTBOUND : SWITCH_CALL_DIRECTION_INBOUND;
|
||||
r = engine->dtls_controller ? SWITCH_CALL_DIRECTION_INBOUND : SWITCH_CALL_DIRECTION_OUTBOUND;
|
||||
} else {
|
||||
if ((switch_channel_test_flag(session->channel, CF_REINVITE) || switch_channel_test_flag(session->channel, CF_RECOVERING))
|
||||
&& switch_channel_test_flag(session->channel, CF_AVPF)) {
|
||||
|
|
Loading…
Reference in New Issue