FS-3214 try this patch too
This commit is contained in:
parent
d3ea42d82a
commit
7330a06f99
|
@ -295,6 +295,7 @@ typedef enum {
|
||||||
TFLAG_NOTIMER_DURING_BRIDGE,
|
TFLAG_NOTIMER_DURING_BRIDGE,
|
||||||
TFLAG_JB_PAUSED,
|
TFLAG_JB_PAUSED,
|
||||||
TFLAG_3PCC_INVITE,
|
TFLAG_3PCC_INVITE,
|
||||||
|
TFLAG_NOREPLY,
|
||||||
/* No new flags below this line */
|
/* No new flags below this line */
|
||||||
TFLAG_MAX
|
TFLAG_MAX
|
||||||
} TFLAGS;
|
} TFLAGS;
|
||||||
|
|
|
@ -5245,7 +5245,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
||||||
match = sofia_glue_negotiate_sdp(session, r_sdp);
|
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;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4390,6 +4390,10 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s
|
||||||
if (got_udptl && m->m_type == sdp_media_image && m->m_port) {
|
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);
|
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"))) {
|
if (switch_true(switch_channel_get_variable(channel, "refuse_t38"))) {
|
||||||
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38);
|
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38);
|
||||||
match = 0;
|
match = 0;
|
||||||
|
|
Loading…
Reference in New Issue