freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon
This commit is contained in:
parent
0a463b0c3c
commit
4b22c22c33
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue