Fast Refresh Rate is not accurately updating seconds in call

All installation and configuration problems and questions

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

Fast Refresh Rate is not accurately updating seconds in call

Postby tamochun » Mon Apr 30, 2018 6:58 am

I have a weird issue with agent screen seconds update, hope I am not repeating the issue as tried to search it but didn't found already.

I have changed Fast_refresh to 1 (Enabled) and Fast Refresh rate to 2000 ms. I expect it to work like update the agent screen every 2 seconds instead of every 1 second(Which is default)

Everything goes well expect that Seconds being shown on Agent screen are still updating at 1 second whereas page is updating every 2 seconds resulting if the agent was on call for 200 seconds this screen shows 100 seconds whereas asterisk, call log and everywhere else I see the actual true time of the call.



The agent made a call for 560 seconds as call log where agent screen shows it 288 seconds.

in vicidial.php I believe it's relevant to

if (VD_live_customer_call==1)
{
VD_live_call_secondS++;
document.vicidial_form.SecondS.value = VD_live_call_secondS;
document.getElementById("SecondSDISP").innerHTML = VD_live_call_secondS;

VD_live_call_secondS++; is actually adding 1 every refresh instance so in the case when we refresh 2 seconds instead of each second. seconds of the call are reducing.

Here I don't see Fast refresh rate as it is defined in refresh function can somebody please advice what I am doing or understanding wrong?

My Installation
Vicidial Cluster Installation
VERSION: 2.14-583a
BUILD: 161226-2224
Asterisk 11.22.0-vici built on a x86_64 running Linux
4 x Telephone server, 1 Db, 2 Web

Best Regrads
Tamochun
tamochun
 
Posts: 3
Joined: Mon Apr 30, 2018 4:33 am

Re: Fast Refresh Rate is not accurately updating seconds in

Postby tamochun » Mon Apr 30, 2018 6:44 pm

Hi Anyone? or i am not asking right question on right place. plz guide
tamochun
 
Posts: 3
Joined: Mon Apr 30, 2018 4:33 am

Re: Fast Refresh Rate is not accurately updating seconds in

Postby mflorell » Mon Apr 30, 2018 7:35 pm

We do not recommend changing that. It will cause logging issues including the ones you have noted.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 109 guests