From: Moises Silva Date: Fri, 16 Dec 2011 01:29:32 +0000 (-0500) Subject: freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon X-Git-Tag: v1.2-rc1~27^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b22c22c338f0d87d1fdb2bfbfe43e9f965d9a77;p=thirdparty%2Ffreeswitch.git freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon --- diff --git a/libs/freetdm/mod_freetdm/mod_freetdm.c b/libs/freetdm/mod_freetdm/mod_freetdm.c index ce1437af9d..cac80ea48a 100755 --- a/libs/freetdm/mod_freetdm/mod_freetdm.c +++ b/libs/freetdm/mod_freetdm/mod_freetdm.c @@ -2302,7 +2302,6 @@ static FIO_SIGNAL_CB_FUNCTION(on_r2_signal) switch_set_flag_locked(tech_pvt, TFLAG_DEAD); channel = switch_core_session_get_channel(session); switch_channel_hangup(channel, caller_data->hangup_cause); - ftdm_channel_clear_token(sigmsg->channel, switch_core_session_get_uuid(session)); switch_core_session_rwunlock(session); } }