freetdm: set outbound flag in the core
This commit is contained in:
parent
ce910093dd
commit
44a99f14b0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue