Changed EC ENABLE/DISABLE failure from ERROR to WARNING.

As some installations have no ec. I will have to test
without ec and confirm that we handle that case gracefully.
This commit is contained in:
Nenad Corbic 2012-08-16 02:06:10 -04:00
parent e07d588d10
commit a24706aed6
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ static switch_status_t channel_receive_event(switch_core_session_t *session, swi
int enabled = !!switch_true(szval);
if (FTDM_SUCCESS != ftdm_channel_command(tech_pvt->ftdm_channel, enabled ? FTDM_COMMAND_ENABLE_ECHOCANCEL : FTDM_COMMAND_DISABLE_ECHOCANCEL, NULL)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Failed to %s echo cancellation.\n", enabled ? "enable" : "disable");
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Failed to %s echo cancellation.\n", enabled ? "enable" : "disable");
}
}
}