提交 1382a69e authored 作者: Mathieu Parent's avatar Mathieu Parent 提交者: Anthony Minessale

EndCall for incoming call while on hold doesn't close both legs on a skinny phone

Fixes #FS-5232, thanks to Nathan Neulinger for the patch
上级 e17a6145
......@@ -1820,6 +1820,9 @@ switch_status_t skinny_handle_soft_key_event_message(listener_t *listener, skinn
session = skinny_profile_find_session(listener->profile, listener, &line_instance, call_id);
if(session) {
channel = switch_core_session_get_channel(session);
if (switch_channel_test_flag(channel, CF_HOLD)) {
switch_ivr_unhold(session);
}
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
}
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论