Use the pendingchans queue only on request by signaling modules.

Remove suggest_chan_id member and add a span flag instead.
This commit is contained in:
Moises Silva committed 2010-04-05 16:01:08 -04:00
1 parent b9d5c62b3d
commit 428931bce2
6 files changed
+17 -11

No files matched your search

@@ -1331,7 +1331,7 @@ static FIO_SIG_CONFIGURE_FUNCTION(ftdm_libpri_configure_span)
if ((isdn_data->opts & FTMOD_LIBPRI_OPT_SUGGEST_CHANNEL)) {
span->channel_request = isdn_channel_request;
span->suggest_chan_id = 1;
ftdm_set_flag(span, FTDM_SPAN_SUGGEST_CHAN_ID);
}
span->state_map = &isdn_state_map;