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-09-27 13:26:09 -05:00
2010-11-24 03:58:22 +00:00
2010-08-19 10:38:54 -05:00
2010-08-19 10:38:54 -05:00
2010-08-19 10:38:54 -05:00
2010-03-30 14:25:13 -04:00
2009-12-07 07:07:43 +00:00
2011-01-05 19:54:49 -06:00
2010-02-23 22:56:54 +00:00