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
2012-09-11 14:29:56 -04:00
2012-06-25 08:55:48 +00:00
2009-12-17 18:33:45 +00:00
2010-04-01 21:00:45 -04:00
2012-05-28 16:35:00 +00:00
2012-06-14 22:47:21 +00:00
2012-09-11 14:29:56 -04:00
2012-07-06 17:54:21 -05:00
doh
2012-07-05 14:45:11 -05:00
2012-09-11 14:29:56 -04:00
2012-05-15 10:20:52 -05:00
2010-01-23 20:19:18 +00:00
2012-08-14 00:24:56 -05:00
2009-11-18 19:42:00 +00:00
2012-08-14 00:24:56 -05:00
2012-09-11 14:24:18 -04:00
add
2011-10-21 10:15:15 -05:00

freeswitch

Personal Copy of Freeswitch

Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Readme Multiple Licenses 268 MiB
Languages
C 64.4%
C++ 21.8%
JavaScript 4.7%
Assembly 2%
Makefile 1%
Other 5.4%