From: Anthony Minessale Date: Fri, 18 Jun 2010 22:00:29 +0000 (-0500) Subject: skip invalid uuids on eavesdrop runs X-Git-Tag: v1.2-rc1~638 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ff5af80fa21724de4489ebbf1a921f68d18faf5;p=thirdparty%2Ffreeswitch.git skip invalid uuids on eavesdrop runs --- 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]);