From 2ff5af80fa21724de4489ebbf1a921f68d18faf5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 Jun 2010 17:00:29 -0500 Subject: [PATCH] skip invalid uuids on eavesdrop runs --- src/mod/applications/mod_dptools/mod_dptools.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index f9ad5357cd..187fa446ab 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -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]);