mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 19:52:41 +00:00
Merge branch 'master' of git.sangoma.com:smg_freeswitch
This commit is contained in:
commit
7d13655b74
5 files changed
+24
-6
No files matched your search
@@ -0,0 +1,13 @@
|
||||
Last Updated: Jan 19, 2011
|
||||
|
||||
== BACKGROUND ==
|
||||
|
||||
The IO module provides an abstracted IO interface to FreeTDM.
|
||||
|
||||
== SHUTDOWN ==
|
||||
Upon global shutdown, for each channel FIO_CLOSE_FUNCTION will be called.
|
||||
When FIO_CLOSE_FUNCTION is called, all waiters on this channel shall be signalled.
|
||||
If FIO_WAIT_FUNCTION is called on a function that has already been closed, this function shall return FTDM_TIMEOUT without blocking.
|
||||
FIO_CHANNEL_DESTROY will eventually be called, and IO module is responsible for clearing all internal states and free allocated memory upon channel destroy.
|
||||
|
||||
|
||||
@@ -394,8 +394,7 @@ static void *ftdm_sangoma_isdn_dchan_run(ftdm_thread_t *me, void *obj)
|
||||
default:
|
||||
ftdm_log_chan_msg(dchan, FTDM_LOG_CRIT, "Unhandled IO event\n");
|
||||
}
|
||||
}
|
||||
ftdm_channel_close(&dchan);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user