]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3340 revert
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 4 Aug 2011 05:01:26 +0000 (00:01 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 4 Aug 2011 05:01:26 +0000 (00:01 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 062da61a983ba8d535de3e47fc607ceb50a2c117..54c946ad58cdb01aaab52aeb414fa812e6e77be1 100644 (file)
@@ -2427,8 +2427,10 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
        if (sofia_use_soa(tech_pvt)) {
                nua_invite(tech_pvt->nh,
                                   NUTAG_AUTOANSWER(0),
-                                  TAG_IF(zstr(tech_pvt->local_sdp_str), NUTAG_AUTOACK(0)),
-                                  TAG_IF(!zstr(tech_pvt->local_sdp_str), NUTAG_AUTOACK(1)),
+                                  //TAG_IF(zstr(tech_pvt->local_sdp_str), NUTAG_AUTOACK(0)),
+                                  //TAG_IF(!zstr(tech_pvt->local_sdp_str), NUTAG_AUTOACK(1)),
+                                  // The code above is breaking things...... grrr WE need this because we handle our own acks and there are 3pcc cases in there too
+                                  NUTAG_AUTOACK(0),
                                   NUTAG_SESSION_TIMER(session_timeout),
                                   NUTAG_SESSION_REFRESHER(session_timeout ? nua_local_refresher : nua_no_refresher),
                                   TAG_IF(sofia_test_flag(tech_pvt, TFLAG_RECOVERED), NUTAG_INVITE_TIMER(UINT_MAX)),