提交 2091f4f0 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-4319 --resolve portaudio not always moving the active call to the top of its…

FS-4319 --resolve portaudio not always moving the active call to the top of its internal list (invalid ringing)
上级 a0a9efcf
......@@ -2806,6 +2806,9 @@ static switch_status_t answer_call(char **argv, int argc, switch_stream_handle_t
} else {
switch_channel_t *channel = switch_core_session_get_channel(tp->session);
switch_set_flag_locked(tp, TFLAG_ANSWER);
if (tp != globals.call_list) {
remove_pvt(tp);
}
add_pvt(tp, PA_MASTER);
switch_channel_mark_answered(channel);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论