1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-05 18:13:27 +00:00

Skinny: don't hangup remote calls

This commit is contained in:
Mathieu Parent 2010-07-27 23:47:44 +02:00
parent 165140e076
commit 2d1c5c8dfa

@ -1268,8 +1268,10 @@ switch_status_t skinny_handle_on_hook_message(listener_t *listener, skinny_messa
channel = switch_core_session_get_channel(session);
if (skinny_line_get_state(listener, line_instance, call_id) != SKINNY_IN_USE_REMOTELY) {
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
}
}
if(session) {
switch_core_session_rwunlock(session);