Fast Refresh Rate is not accurately updating seconds in call
Posted: 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
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