freetdm: set outbound flag in the core

This commit is contained in:
Moises Silva 2010-05-04 14:11:44 -04:00
parent ce910093dd
commit 44a99f14b0
1 changed files with 1 additions and 1 deletions

View File

@ -1923,7 +1923,7 @@ FT_DECLARE(ftdm_status_t) ftdm_channel_call_place(ftdm_channel_t *ftdmchan)
ftdm_status_t status;
ftdm_assert(ftdmchan != NULL, "null channel");
ftdm_set_flag_locked(ftdmchan, FTDM_CHANNEL_OUTBOUND);
if (ftdmchan->span->outgoing_call) {
if ((status = ftdmchan->span->outgoing_call(ftdmchan)) == FTDM_SUCCESS) {
ftdm_set_flag(ftdmchan, FTDM_CHANNEL_OUTBOUND);