Skinny: don't hangup remote calls
This commit is contained in:
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);
|
||||
|
|
Loading…
Reference in New Issue