Page 1 of 1

Fast Refresh Rate is not accurately updating seconds in call

PostPosted: Mon Apr 30, 2018 6:58 am
by tamochun
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

Re: Fast Refresh Rate is not accurately updating seconds in

PostPosted: Mon Apr 30, 2018 6:44 pm
by tamochun
Hi Anyone? or i am not asking right question on right place. plz guide

Re: Fast Refresh Rate is not accurately updating seconds in

PostPosted: Mon Apr 30, 2018 7:35 pm
by mflorell
We do not recommend changing that. It will cause logging issues including the ones you have noted.