switch_channel_set_flag(channel, CF_REQ_MEDIA);
}
sofia_set_flag_locked(tech_pvt, TFLAG_SENT_UPDATE);
+ switch_channel_set_variable(channel, "sip_require_timer", "false");
sofia_glue_do_invite(session);
} else {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "%s Request to send IMAGE on channel with not t38 options.\n",
char *mp = NULL, *mp_type = NULL;
char *record_route = NULL;
const char *recover_via = NULL;
- int require_timer = 0;
+ int require_timer = 1;
if (sofia_test_flag(tech_pvt, TFLAG_RECOVERING)) {
}
- if ((val = switch_channel_get_variable(channel, "sip_require_timer")) && switch_true(val)) {
- require_timer = 1;
+ if ((val = switch_channel_get_variable_dup(channel, "sip_require_timer", SWITCH_FALSE, -1)) && switch_false(val)) {
+ require_timer = 0;
}