freeswitch/libs/freetdm
Stefan Knoblich c1f4e7f719 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-09-11 14:29:57 -04:00
..
build FreeTDM: Buildsystem cleanup 2010-11-01 02:13:27 +01:00
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 Fix for NFAS when one of the d-channels are down 2012-09-11 14:25:07 -04: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-09-11 14:29:57 -04: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
AUTHORS convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
CMakeLists.txt created cmake files for freetdm 2010-10-06 17:51:29 -03:00
ChangeLog convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
Makefile.am ftmod_skel: Add -shared libtool flag. 2012-07-19 20:42:17 +02:00
NEWS convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
README freetdm: add mkrelease.sh script 2010-09-30 17:58:25 -04:00
TODO freetdm: added threaded media to the TODO 2011-01-21 10:51:34 -05:00
acinclude.m4 FreeTDM: Add ax_compiler_vendor.m4 to acinclude.m4 2011-11-01 15:37:51 +01:00
bootstrap freetdm: use /bin/sh and not /bin/bash in the bootstrap script 2011-01-06 09:51:17 -05:00
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 [FreeTDM] Add modulesdir to freetdm.pc.in 2010-07-05 23:54:33 +02:00
mkrelease.sh freetdm: fixes to mkrelease.sh 2011-03-11 17:36:42 -05:00
ozrename.sh Linux renaming from openzap to freetdm 2010-01-15 19:22:49 +00:00
ozreplace.sh added ozreplace.sh handy script 2010-02-09 19:25:26 +00:00

README

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