From: Nenad Corbic Date: Thu, 16 Aug 2012 06:06:10 +0000 (-0400) Subject: Changed EC ENABLE/DISABLE failure from ERROR to WARNING. X-Git-Tag: v1.2.3^2~71^2^2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24706aed65c727cb9eecc9a539b99b7956b5d75;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/libs/freetdm/mod_freetdm/tdm.c b/libs/freetdm/mod_freetdm/tdm.c index 6c8657a4c9..f344f5a096 100644 --- a/libs/freetdm/mod_freetdm/tdm.c +++ b/libs/freetdm/mod_freetdm/tdm.c @@ -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"); } } }