freeswitch/libs/freetdm
Stefan Knoblich 548222f9f3 FreeTDM: Add span start/stop callbacks to ftdm_io_interface.
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>
2012-08-15 13:34:22 +02:00
..
build
conf freetdm - ISDN added Q.931 timers 2012-01-03 14:11:47 -05:00
docs freetdm: added documentation regarding ftdm open known issues 2011-08-27 00:19:09 -04:00
mod_freetdm mod_freetdm: Fix typo. 2012-08-10 17:16:05 +02:00
msvc Merge remote branch 'smgfs/master' 2011-03-06 22:11:39 -05:00
sample freetdm: remove remaining references to boost (sample code, visual studio project references) 2011-02-24 19:26:40 -05:00
src FreeTDM: Add span start/stop callbacks to ftdm_io_interface. 2012-08-15 13:34:22 +02:00
.gitignore JANITOR-10 - Thanks Peter 2011-03-17 08:34:00 -05:00
.update commenting this out completely until a better solution is implemented. also FYI you should be refreshing .update on each commit that changes the lib or any of its mods to force a rebuild from the top level 2012-02-03 15:23:46 -06:00
acinclude.m4 FreeTDM: Add ax_compiler_vendor.m4 to acinclude.m4 2011-11-01 15:37:51 +01:00
AUTHORS
bootstrap freetdm: use /bin/sh and not /bin/bash in the bootstrap script 2011-01-06 09:51:17 -05:00
ChangeLog
CMakeLists.txt
configure.ac FreeTDM: Add ftmod_analog(_em) and ftmod_zt to summary screen (always built). 2012-07-19 20:42:17 +02:00
configure.gnu fix configure --srcdir for freetdm 2010-12-10 14:56:29 -05:00
cyginstall.sh freetdm: add WIN32_LEAN_AND_MEAN fix 2011-01-27 17:27:50 -05:00
freetdm.2008.sln freetdm: remove remaining references to boost (sample code, visual studio project references) 2011-02-24 19:26:40 -05:00
freetdm.2010.sln freetdm: remove remaining references to boost (sample code, visual studio project references) 2011-02-24 19:26:40 -05:00
freetdm.pc.in
Makefile.am ftmod_skel: Add -shared libtool flag. 2012-07-19 20:42:17 +02:00
mkrelease.sh freetdm: fixes to mkrelease.sh 2011-03-11 17:36:42 -05:00
NEWS
ozrename.sh
ozreplace.sh
README
TODO freetdm: added threaded media to the TODO 2011-01-21 10:51:34 -05:00

FreeTDM
http://wiki.freeswitch.org/wiki/FreeTDM