FS-4875 auto setting ignore_early_media causes unwanted side effects for others, it will have to be supplied by the user

This commit is contained in:
Anthony Minessale 2013-05-02 21:21:51 -05:00
parent 95d31525ce
commit d0e2e9ae9c
1 changed files with 0 additions and 4 deletions

View File

@ -2252,10 +2252,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
}
}
if ((var_val = switch_event_get_header(var_event, "fax_enable_t38_request"))) {
switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "ignore_early_media", "true");
}
if ((var_val = switch_event_get_header(var_event, "ignore_early_media"))) {
if (switch_true(var_val)) {
oglobals.early_ok = 0;