if (tech_pvt->num_codecs) {
match = sofia_glue_negotiate_sdp(session, r_sdp);
}
-
- if (match && switch_channel_test_app_flag_key("T38", tech_pvt->channel, CF_APP_T38)) {
+
+ if (match && sofia_test_flag(tech_pvt, TFLAG_NOREPLY)) {
goto done;
}
if (got_udptl && m->m_type == sdp_media_image && m->m_port) {
switch_t38_options_t *t38_options = tech_process_udptl(tech_pvt, sdp, m);
+
+ if (switch_channel_test_app_flag_key("T38", tech_pvt->channel, CF_APP_T38)) {
+ sofia_set_flag(tech_pvt, TFLAG_NOREPLY);
+ }
if (switch_true(switch_channel_get_variable(channel, "refuse_t38"))) {
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38);