From 83b72513f6a06816f76476cfd9f81f0cb3993a82 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 2 Apr 2015 14:31:48 -0500 Subject: [PATCH] FS-7515: reset stats in a few places --- src/mod/applications/mod_cv/mod_cv.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/applications/mod_cv/mod_cv.cpp b/src/mod/applications/mod_cv/mod_cv.cpp index baf753b711..adbdc5df2b 100644 --- a/src/mod/applications/mod_cv/mod_cv.cpp +++ b/src/mod/applications/mod_cv/mod_cv.cpp @@ -483,6 +483,8 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi } switch_channel_execute_on(channel, "execute_on_cv_detect_off_primary"); + reset_stats(&context->nestDetected); + reset_stats(&context->detected); } context->detect_event = 0; @@ -525,6 +527,7 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi switch_event_fire(&event); } switch_channel_execute_on(channel, "execute_on_cv_detect_off_nested"); + reset_stats(&context->nestDetected); } context->nest_detect_event = 0;