]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
dont clear token on SIGEVENT_STOP for ISDN legs, save it for the hangup handler
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 21:44:08 +0000 (16:44 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 21:44:15 +0000 (16:44 -0500)
libs/freetdm/mod_freetdm/mod_freetdm.c

index c61738d9dfe8e109d04ed208a29d4fe7b1891ceb..44accde0dd0990ae79abe0f127ab8efd1776ee60 100755 (executable)
@@ -2440,7 +2440,6 @@ static FIO_SIGNAL_CB_FUNCTION(on_clear_channel_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);
                        }
                }