Merge 51eab5cfe823ea14cbb75d6d5731e82b2ffeea41 into 3b58ebc5f309708bde0ad26eef73e606144792f6

This commit is contained in:
Anton Olofsson 2025-01-21 00:17:22 +00:00 committed by GitHub
commit 0a19b26e1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8503,7 +8503,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
/* sdp changed since 18X w sdp, we're supposed to ignore it but we, of course, were pressured into supporting it */
uint8_t match = 0;
sofia_clear_flag(tech_pvt, TFLAG_NEW_SDP);
switch_channel_set_flag(tech_pvt->channel, CF_REINVITE);
@ -8531,6 +8531,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
}
}
sofia_clear_flag(tech_pvt, TFLAG_NEW_SDP);
if (r_sdp && sofia_test_flag(tech_pvt, TFLAG_NOSDP_REINVITE)) {
sofia_clear_flag_locked(tech_pvt, TFLAG_NOSDP_REINVITE);