10 Commits

Author SHA1 Message Date
Moises Silva
1db40e60e4 freetdm: improved logic to enable/disable EC on call start/stop
- MFC-R2 requires tone signaling that gets screwed sometimes
           if the EC is enabled during call setup.
         - EC is now enabled only when switching to a state requiring
         media (UP and PROGRESS_MEDIA)
         - The logic is aware of EC persist option in Wanpipe
         - Improved logging in ftmod_wanpipe to print EC state on startup
2011-01-18 11:28:37 -05:00
Moises Silva
74a01d23bc freetdm: Added FTDM_SIGEVENT_DIALING
Added hunting scheme to support new ftdm_call_place API
         Make ftdm_channel_call_answer use ftdm_channel_call_indicate with FTDM_CHANNEL_INDICATE_ANSWER
         Updated doxygen docs in freetdm.h
2011-01-10 16:49:58 -05:00
Moises Silva
2cfd09c35c freetdm: initial glare handling code 2011-01-07 16:00:06 -05:00
Moises Silva
545ba61226 freetdm: only ack indications when the channel is nonblocking 2011-01-07 14:15:24 -05:00
Moises Silva
f574db0958 freetdm: clear blocking flag when failing to wait for state change 2011-01-05 12:23:09 -05:00
Moises Silva
fe0d8d1ec5 freetdm: - updated all signaling modules (except for ftmod_isdn and ftmod_sangoma_ss7) to adapt to new core state processing
- fixed bug in configure.ac to detect ftmod_pritap compilation
         - ignore FTDM_SIGEVENT_RELEASED and FTDM_SIGEVENT_INDICATION_COMPLETED in mod_freetdm
         - Destroy the state completed interrupt on channel destroy
         - Fix analog polarity reversal bug when using 3-way calling or call-swap
2010-12-31 13:44:20 -05:00
Moises Silva
39d58e0452 freetdm: - Update ftmod_sangoma_isdn to use core state advance
- Added locking documentation (docs/locking.txt)
	 - Updated core state advance to use state processor in span
           rather than pushing the processor in the function arguments
2010-12-31 09:42:15 -05:00
Moises Silva
903d136481 freetdm: remove busy-waiting and use ftdm interrupt to wait for state change completion 2010-12-30 10:23:56 -05:00
Moises Silva
090864fa39 freetdm: completed most of the code for the new core state processing
use new core state processing functions in ftmod_r2
2010-12-29 13:38:43 -05:00
Moises Silva
4268bf84b0 freetdm: more core state refactoring, still untested 2010-12-24 15:58:04 -05:00