]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3818 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 20 Jan 2012 19:33:54 +0000 (13:33 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 20 Jan 2012 19:33:54 +0000 (13:33 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index 61936af0edeb775260f04419122164e7738117ae..822c6b85b6f3cefd392c90939be6977d334fafe2 100644 (file)
@@ -6033,7 +6033,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                        }
                break;
        case nua_callstate_ready:
-               if (r_sdp && !is_dup_sdp && switch_rtp_ready(tech_pvt->rtp_session)) {
+               if (r_sdp && !is_dup_sdp && switch_rtp_ready(tech_pvt->rtp_session) && !sofia_test_flag(tech_pvt, TFLAG_NOSDP_REINVITE)) {
                        /* 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;