diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 062da61a98..54c946ad58 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -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)),