Discrepancy in Call Counter of Real-Time monitoring

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Discrepancy in Call Counter of Real-Time monitoring

Postby jikseyres16 » Tue Feb 26, 2019 11:07 pm

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
jikseyres16
 
Posts: 49
Joined: Tue Dec 29, 2015 5:08 am

Re: Discrepancy in Call Counter of Real-Time monitoring

Postby williamconley » Thu Feb 28, 2019 2:22 pm

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;";

 
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Discrepancy in Call Counter of Real-Time monitoring

Postby jikseyres16 » Wed Mar 06, 2019 2:37 am

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 :)
jikseyres16
 
Posts: 49
Joined: Tue Dec 29, 2015 5:08 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 103 guests

cron