Real-Time Main Report Refresh Rate

All installation and configuration problems and questions

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

Real-Time Main Report Refresh Rate

Postby EJ Fly » Wed May 16, 2012 9:27 am

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
EJ Fly
 
Posts: 7
Joined: Fri Mar 09, 2012 12:44 pm

Re: Real-Time Main Report Refresh Rate

Postby mflorell » Wed May 16, 2012 11:32 am

Have you read the Vicidial Manager Manual?

You click on the "Choose Report Display Options" to change the refresh rate on that report.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Real-Time Main Report Refresh Rate

Postby EJ Fly » Thu May 17, 2012 6:47 am

Legend mflorell! I hadn't seen the "Choose Report Display Options", I must be blind!
EJ Fly
 
Posts: 7
Joined: Fri Mar 09, 2012 12:44 pm

Re: Real-Time Main Report Refresh Rate

Postby camorada1997 » Tue Feb 13, 2018 2:58 pm

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?
camorada1997
 
Posts: 2
Joined: Thu Dec 07, 2017 7:38 pm

Re: Real-Time Main Report Refresh Rate

Postby williamconley » Tue Feb 13, 2018 3:33 pm

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
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Real-Time Main Report Refresh Rate

Postby blackbird2306 » Wed Feb 14, 2018 12:59 pm

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 !
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Real-Time Main Report Refresh Rate

Postby jrecord57 » Tue Jan 05, 2021 2:29 pm

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.
ViciBox 9.0.3 from .iso | ViciDial VERSION: 2.14-834a BUILD: 211208-1646 | Asterisk 13.34.0-vici | 3 Server Cluster (DB, Web, Telephony) | No Digium/Sangoma Hardware | No Extra Software After Installation | Xeon E3-1230 v6 Quad-Core 3.5 GHz
jrecord57
 
Posts: 9
Joined: Sun Sep 13, 2020 10:32 am

Re: Real-Time Main Report Refresh Rate

Postby carpenox » Tue Jan 05, 2021 3:21 pm

good shit, great post John
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

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