freetdm: set outbound flag in individual channel open too

This commit is contained in:
Moises Silva 2010-09-08 07:21:56 -04:00
parent 381233ae0b
commit 4d3357e18c
1 changed files with 1 additions and 0 deletions

View File

@ -1805,6 +1805,7 @@ FT_DECLARE(ftdm_status_t) ftdm_channel_open(uint32_t span_id, uint32_t chan_id,
status = FTDM_SUCCESS;
}
ftdm_set_flag(check, FTDM_CHANNEL_INUSE);
ftdm_set_flag(check, FTDM_CHANNEL_OUTBOUND);
*ftdmchan = check;
}