From: Moises Silva Date: Thu, 29 Jul 2010 21:20:28 +0000 (-0400) Subject: freetdm: remove validation X-Git-Tag: v1.2-rc1~526^2~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450ac1347eb4df832398e45db83103d4ea0132c0;p=thirdparty%2Ffreeswitch.git freetdm: remove validation --- diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c index 75af0c176c..6c90f0d174 100644 --- a/libs/freetdm/src/ftdm_io.c +++ b/libs/freetdm/src/ftdm_io.c @@ -1916,12 +1916,6 @@ FT_DECLARE(ftdm_status_t) _ftdm_channel_call_answer(const char *file, const char goto done; } - if (ftdmchan->state >= FTDM_CHANNEL_STATE_UP) { - ftdm_log_chan(ftdmchan, FTDM_LOG_WARNING, "Ignoring answer because the call state is (%d/%s)\n", ftdmchan->state, ftdm_channel_state2str(ftdmchan->state)); - status = FTDM_FAIL; - goto done; - } - if (ftdmchan->state < FTDM_CHANNEL_STATE_PROGRESS) { ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS, 1); }