From 4b22c22c338f0d87d1fdb2bfbfe43e9f965d9a77 Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Thu, 15 Dec 2011 20:29:32 -0500 Subject: [PATCH] freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon --- libs/freetdm/mod_freetdm/mod_freetdm.c | 1 - 1 file changed, 1 deletion(-) 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); } }