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-09-27 13:26:09 -05:00
2011-04-25 06:57:01 -05:00
2011-02-03 23:46:19 -06:00
2011-03-25 16:53:44 -05:00
2011-03-10 10:30:00 -06:00
2010-11-24 03:58:22 +00:00
2011-04-22 16:43:29 -05:00
2010-08-19 10:38:54 -05:00
2011-04-22 16:43:29 -05:00
2010-08-19 10:38:54 -05:00
2011-04-27 11:26:08 -05:00
2010-08-19 10:38:54 -05:00
2011-04-22 16:43:29 -05:00
2010-03-30 14:25:13 -04:00
2011-03-28 10:55:23 -05:00
2010-02-23 22:56:54 +00:00
2011-03-29 08:56:34 -05:00