diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index a85098bc8d..cc40eb7663 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -4425,10 +4425,12 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s pass = switch_true(var); } + /* can't remember if this is necessary but its causing a bug so i'll leave this comment here to remind me if (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU)) { pass = 0; } - + */ + if (switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE) || switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MEDIA) || !switch_rtp_ready(tech_pvt->rtp_session)) { pass = 0;