forked from Mirrors/freeswitch
548222f9f3
Callbacks are invoked from ftdm_span_start/_stop(). I/O is started before SIG and shut down in reverse order. This is needed for ftmod_misdn, to move the mISDN message handling into a separate thread (solving the mISDN socket vs. FreeTDM API issues). With these callbacks, the I/O thread can be started after the span I/O configuration has been (successfully) completed and stopped before destroying the span. NOTE: Both SIG and I/O callbacks are called with the span mutex locked, so threads created or destroyed synchronously in either of the custom start/stop functions, can not use ftdm_span_*() functions that lock the span mutex (e.g. ftdm_span_get_channel_count()). Signed-off-by: Stefan Knoblich <stkn@openisdn.net> |
||
---|---|---|
.. | ||
build | ||
conf | ||
docs | ||
mod_freetdm | ||
msvc | ||
sample | ||
src | ||
.gitignore | ||
.update | ||
acinclude.m4 | ||
AUTHORS | ||
bootstrap | ||
ChangeLog | ||
CMakeLists.txt | ||
configure.ac | ||
configure.gnu | ||
cyginstall.sh | ||
freetdm.2008.sln | ||
freetdm.2010.sln | ||
freetdm.pc.in | ||
Makefile.am | ||
mkrelease.sh | ||
NEWS | ||
ozrename.sh | ||
ozreplace.sh | ||
README | ||
TODO |
FreeTDM http://wiki.freeswitch.org/wiki/FreeTDM