Page 1 of 1

Real-Time Main Report Refresh Rate

PostPosted: Wed May 16, 2012 9:27 am
by EJ Fly
Hi,
I was wondering if there is any way of changing the refresh rate on the Real-Time Main Report page in the Admin panel. It currently refreshes the page automatically every 40 seconds but can we amend that rate at all?

I am currently running VERSION: 2.4-362a & BUILD: 120316-1203

Thanks

Re: Real-Time Main Report Refresh Rate

PostPosted: Wed May 16, 2012 11:32 am
by mflorell
Have you read the Vicidial Manager Manual?

You click on the "Choose Report Display Options" to change the refresh rate on that report.

Re: Real-Time Main Report Refresh Rate

PostPosted: Thu May 17, 2012 6:47 am
by EJ Fly
Legend mflorell! I hadn't seen the "Choose Report Display Options", I must be blind!

Re: Real-Time Main Report Refresh Rate

PostPosted: Tue Feb 13, 2018 2:58 pm
by camorada1997
I clicked the "Choose Report Display Options" to change the refresh rate to 4 seconds.
Is there any way to change it into 4 seconds permanently?

Re: Real-Time Main Report Refresh Rate

PostPosted: Tue Feb 13, 2018 3:33 pm
by williamconley
IF you look at a specific campaign (instead of the "all campaigns") it will be 4 seconds.

IF you want to have "all" and "4 seconds", the value for 4 seconds is passed in the URL as "RR" and the php page accepts it as a GET or a POST. So ...

Domain.com/vicidial/realtime_report.php?RR=4

Re: Real-Time Main Report Refresh Rate

PostPosted: Wed Feb 14, 2018 12:59 pm
by blackbird2306
Since 2010 it's possible to customize many values with an "options.php". I think your version should be compatible. There is an "options-example.php" in vicidial directory. Rename this file to "options.php" and change here from 40 to e.g. 4:
Code: Select all
$RS_RR =            40;      # refresh rate

There are many other values in options.php, which are customizable. So comment out ("//" or "#") the ones you don't want to change !

Re: Real-Time Main Report Refresh Rate

PostPosted: Tue Jan 05, 2021 2:29 pm
by jrecord57
This is an old thread so I am sure there are not many out there still looking for this sort of thing, but this was something that was interesting me as well and I found some information that I found helpful.

If you don't want to change any files like suggested above, almost all of the settings that are able to be changed for customizing the Real Time Main Report through the 'Choose Report Display Options' are able to be manipulated through URL parameters to you can create a custom bookmark to lead you to the report that looks and behaves like you want it to, without having to select your options each time. The ones that I have found and I know are controllable by parameters are as follows:

monitor_phone
user
pass
RR
groupQS
usergroup
ingroupQS
DB
adastats
SIPmonitorLINK
IAXmonitorLINK
usergroup
UGdisplay
UidORname
orderby
SERVdisplay
CALLSdisplay
PHONEdisplay
CUSTPHONEdisplay
CUSTINFOdisplay
with_inbound
monitor_active
monitor_phone
ALLINGROUPstats
DROPINGROUPstats
NOLEADSalert
CARRIERstats
PRESETstats
AGENTtimeSTATS
INGROUPcolorOVERRIDE
droppedOFtotal
report_display_type

So for example, to automatically load the real time main report with a refresh rate of 4, carrier stats showing, and can link to without even having to log in, a bookmark url would look like:

domain.com/vicidial/realtime_report.php?RR=4&CARRIERstats=1&user=username&pass=password

Obviously substituting out domain.com for your domain, username for an admin username, and password for the password for the user.

Most of the parameters are controlled by binary (0 for no; 1 for yes) but the others with drop down selections with multiple choices require that as the input for the parameters. Again, this is old, but I found it helpful and time-saving.

Re: Real-Time Main Report Refresh Rate

PostPosted: Tue Jan 05, 2021 3:21 pm
by carpenox
good shit, great post John