From: Anthony Minessale Date: Thu, 2 Apr 2015 19:31:48 +0000 (-0500) Subject: FS-7515: reset stats in a few places X-Git-Tag: v1.6.2~614^2~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83b72513f6a06816f76476cfd9f81f0cb3993a82;p=thirdparty%2Ffreeswitch.git FS-7515: reset stats in a few places --- 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;