提交 2ff5af80 authored 作者: Anthony Minessale's avatar Anthony Minessale

skip invalid uuids on eavesdrop runs

上级 a0c641ae
......@@ -398,6 +398,8 @@ SWITCH_STANDARD_APP(eavesdrop_function)
}
if (e_data.total) {
for (x = 0; x < e_data.total && switch_channel_ready(channel); x++) {
if (!switch_ivr_uuid_exists(e_data.uuid_list[x])) continue;
/* If we have a group and 1000 concurrent calls, we will flood the logs. This check avoids this */
if (!require_group)
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Spy: %s\n", e_data.uuid_list[x]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论