Stefan Knoblich dff01c07f1 [ftmod_libpri] Use FTDM_SPAN_USE_PROCEED_STATE and rework state handling.
- Use the newly introduced FTDM_SPAN_USE_PROCEED_STATE flag and FTDM_CHANNEL_STATE_PROCEED.

- Update ftmod_libpri's state machine table (taken from ftmod_sangoma_isdn).

- Move pri_destroycall() to HANGUP_COMPLETE state.

- Try to get a little bit closer to the ISDN states by using pri_acknowledge() in RINGING,
  pri_progress() in PROGRESS and pri_proceeding() in PROCEED state.

- Go to PROGRESS_MEDIA in on_progress() only if there is inband indication available, go to
  PROGRESS if not.

- Go to RINGING state in on_ringing() and remove PROGRESS_MEDIA check.

NOTE: One libpri error message and a VETO (PROGRESS -> RINGING) warning to investigate,
      but changes seem to work fine nonetheless.

Tested-by: SparFux (#freeswitch / #freeswitch-de  @ irc.freenode.net)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-01-13 23:28:00 +01:00
..
2010-11-01 02:13:27 +01:00
2010-12-23 17:59:05 -05:00
2011-01-12 14:36:03 -05:00
2010-10-06 17:51:29 -03:00
2009-02-03 16:41:48 +00:00
2010-10-06 17:51:29 -03:00
2010-11-16 14:56:19 -05:00
2010-12-09 08:59:06 -06:00
2010-09-30 17:58:25 -04:00
2010-02-09 19:25:26 +00:00
2010-09-30 17:58:25 -04:00
2010-03-12 18:27:24 +00:00

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