Page 1 of 1

Discrepancy in Call Counter of Real-Time monitoring

PostPosted: Tue Feb 26, 2019 11:07 pm
by jikseyres16
Hi Vicidial Commnity

Although this was recurring question, we seem can't find the solution or the cause why this is happening. We have observed some of call count in real time monitoring is not resetting though the call time is between 10pm - 6am of the next day. If the counter is resetting at 00:00hr we should have observed it but it is not and call counters from previous day are carried over for the next work day.

Any explanation why? also we have set a voicemail server in admin setting first hand based on other post but still it is happening. Lastly what/where is the setting for the time it should be reset?

Thank you in advance :)

ViciBox v.7.0.2-160325
VERSION: 2.12-549a
BUILD: 160404-0940
Asterisk Version: 11.21.2-vici

Re: Discrepancy in Call Counter of Real-Time monitoring

PostPosted: Thu Feb 28, 2019 2:22 pm
by williamconley
jikseyres16 wrote:we have set a voicemail server in admin setting first hand based on other post but still it is happening.

Is the voicemail server specified in admin settings an active vicidial asterisk server in this cluster? With the keepalive script active in cron? And running all night?

Lastly what/where is the setting for the time it should be reset?

Admin->System Settings: Timeclock End Of Day


ADMIN_keepalive_ALL.pl
Code: Select all
$timeclock_end_of_day_NOW=0;
### determine if it is the timeclock end of day right now
$stmtA = "SELECT count(*) from system_settings where timeclock_end_of_day LIKE \"%$reset_test%\";"
$timeclock_end_of_day_NOW =     $aryA[0];

        ### Only run the following on one server in the cluster, the one set as the active voicemail server ###
if ($timeclock_end_of_day_NOW > 0)

        if ( ($active_voicemail_server =~ /$server_ip/) && ((length($active_voicemail_server)) eq (length($server_ip))) )

                $stmtA = "update vicidial_campaign_agents SET calls_today=0;";

 

Re: Discrepancy in Call Counter of Real-Time monitoring

PostPosted: Wed Mar 06, 2019 2:37 am
by jikseyres16
Hi Sir William,

~Yes it is set as active voicemail and cron for keepalive is running all night

~Hmmm I guess the cause is this timeclock setting as it is set on other time so we cannot observed it on midnight, haha.

Thank you again Sir William :)