]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve
authorBrian West <brian@freeswitch.org>
Fri, 2 Feb 2018 03:32:14 +0000 (21:32 -0600)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:40 +0000 (07:21 +0000)
src/mod/endpoints/mod_sofia/sofia.c

index 54f3e6802a61812c873717b280f5e6960679d3db..b50857b9d6078b88e453784787ddea208429c6dc 100644 (file)
@@ -7300,7 +7300,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                        } else {
                                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Remote SDP:\n%s\n", r_sdp);
                                tech_pvt->mparams.remote_sdp_str = switch_core_session_strdup(session, r_sdp);
-
+                               switch_channel_mark_pre_answered(channel);
                 //if ((sofia_test_flag(tech_pvt, TFLAG_LATE_NEGOTIATION) || switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND)) {
                                //      switch_core_media_set_sdp_codec_string(session, r_sdp, status < 200 ? SDP_TYPE_REQUEST : SDP_TYPE_RESPONSE);
                                //}