]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon
authorMoises Silva <moy@sangoma.com>
Fri, 16 Dec 2011 01:29:32 +0000 (20:29 -0500)
committerMoises Silva <moy@sangoma.com>
Fri, 16 Dec 2011 01:29:32 +0000 (20:29 -0500)
libs/freetdm/mod_freetdm/mod_freetdm.c

index ce1437af9df8246b848658a91e2222cee14fec62..cac80ea48a54c978a04ec654c96841928319fd6c 100755 (executable)
@@ -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);
                        }
                }