Project "FreeSWITCH Source" received a push.

branch: master updated

       via: 62d000ed20305dcccefd5ac8b9ddbb40016e879b (commit)
      from: deec244b9d1c55f46efaf87f908462838d4f8416 (commit)


= COMMIT LOG ===========================================================
committer: Moises Silva
comments: 
freetdm: remove sanity state check in outgoing function

diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c
index 504c00f..1334209 100644
--- a/libs/freetdm/src/ftdm_io.c
+++ b/libs/freetdm/src/ftdm_io.c
@@ -2430,11 +2430,6 @@ static ftdm_status_t _ftdm_channel_call_place_nl(const char *file, const char *f
 		goto done;
 	}
 
-	if (ftdmchan->state != FTDM_CHANNEL_STATE_DOWN) {
-		ftdm_log_chan(ftdmchan, FTDM_LOG_ERROR, "Cannot place call in channel in state %s!\n", ftdm_channel_state2str(ftdmchan->state));
-		goto done;
-	}
-
 	status = ftdmchan->span->outgoing_call(ftdmchan);
 	if (status == FTDM_BREAK) {
 		/* the signaling module detected glare on time */
========================================================================

Summary of changes:
 libs/freetdm/src/ftdm_io.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH Source