Markus Mueller 6196a4199e ftmod_libpri: Possible fix for call tear-down problems (+ locking cleanup)
Remove pri_destroycall() in on_hangup() and
use pri_hangup() instead of the deprecated pri_release().

NOTE: The original patch used PRI_CAUSE_NORMAL_CIRCUIT_CONGESTION for the cause
      code, which (without pri_enable_hangup_fix() enabled) emits a RELEASE COMPLETE
      message. This version of the patch uses PRI_CAUSE_NORMAL_CLEARING (-1). (stkn)

Additionally, use ftdm_set_state() instead of ftdm_set_state_locked() because the channel
is already locked. (stkn)

Completely-untested-by: Stefan Knoblich <stkn@openisdn.net>
2011-04-30 18:16:46 +02:00
..
2010-11-01 02:13:27 +01:00
2011-03-21 15:34:05 -04:00
2011-04-29 08:57:00 -05:00
2011-03-06 22:11:39 -05:00
2011-03-17 08:34:00 -05:00
2009-02-03 16:41:48 +00:00
2010-10-06 17:51:29 -03:00
2011-03-11 17:36:42 -05:00
2010-02-09 19:25:26 +00:00
2010-09-30 17:58:25 -04:00
2011-01-21 10:51:34 -05:00

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