]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9376 #comment please try this
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 23 Jul 2016 03:43:55 +0000 (22:43 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 23 Jul 2016 03:43:55 +0000 (22:43 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index fb46114071264789d4601d2b20d88b3f200b0361..ed020b17c7b1cb2aeb3da84b1b70af2517329de0 100644 (file)
@@ -7463,15 +7463,13 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
 
                        switch_core_media_gen_local_sdp(session, SDP_TYPE_RESPONSE, NULL, 0, NULL, 0);
 
-                       nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END());
-                       goto done;
-                       
-                       /* } else if (0 && r_sdp && !sofia_use_soa(tech_pvt)) {
                        nua_respond(tech_pvt->nh, SIP_200_OK,
                                                NUTAG_MEDIA_ENABLE(0),
                                                SIPTAG_CONTACT_STR(tech_pvt->profile->url),
                                                SIPTAG_CONTENT_TYPE_STR("application/sdp"), SIPTAG_PAYLOAD_STR(tech_pvt->mparams.local_sdp_str), TAG_END());
-                       */
+
+                       goto done;
+                       
                } else {
                        ss_state = nua_callstate_completed;
                        goto state_process;