FS-9943: [core] Default 488 handling for t.38 re-invite switches to udptl mode when it should not. #resolve

This commit is contained in:
Brian West 2017-01-12 11:47:25 -06:00
parent 394d2602d1
commit 6ff51458e2
1 changed files with 1 additions and 1 deletions

View File

@ -4403,7 +4403,7 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
goto done;
}
if (switch_channel_var_true(channel, "refuse_t38")) {
if (switch_channel_var_true(channel, "refuse_t38") || !switch_channel_var_true(channel, "fax_enable_t38")) {
switch_channel_clear_app_flag_key("T38", session->channel, CF_APP_T38);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s T38 REFUSE on %s\n",
switch_channel_get_name(channel),