Real time report not counting time on pause or closer status

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Real time report not counting time on pause or closer status

Postby manny » Sun Mar 20, 2011 2:47 pm

Hello community

Ok, I'm totally stuck!

I had it working, there is a column where keeps counting the time of the current status and the row changes the color depending on the table coming down, but since a week ago, it just stops working, I mean everything else is working as it should be, but the report is not counting on real time.

don't know if it is an issue caused by something I did by accident or a bug.

here is the status as it is shown

VICIDIAL: Agents Time On Calls Campaign: ALL-ACTIVE 2011-03-20 14:31:36
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER SHOW ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/manny | Manuel Garcia + | 8600051 | PAUSED | 0:00 | TESTCAMP | 0 |
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------




any Ideas????? thanks in advance
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 3:35 pm

Manny! Welcome aboard!

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation
_______

are you saying it no longer "refreshes" the screen? (push "go" depending on your version, or slow, but not stop)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 3:47 pm

Hello Will, it refreshes everything else, but not the current time on the current status, even the color of the agent row doesn't change the color, so if the agent changes to CLOSER from PAUSED I can see the status in the report, but not the time counting, it remains in 0:00



is there a value I might changed by a mistake that may be causing this??




___________________________
GoAutodial from goautodial-ce-2.0-final.iso
Vicidial VERSION: 2.2.1-237
BUILD: 100510-2015
Asterisk 1.4.27.1-1
Single Server
No Digium/Sangoma Hardware
No Extra Software After Installation
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 3:54 pm

never had it change some things but not others.

what is your server load? Hardware? (Please tell me it's not a virtual system 8)).

htop shows server load. also shown in admin->servers (but if you're having issues with values on reports in vicidial ... i'd stick with htop or top!)

beware of anything over 50% usage (ie: 4 processor system should NOT exceed 2.0, 2 processor system should not exceed 1.0 ...)

also beware of "peak" usage going to 100%. every minute (on the minute) timed processes fire .. if they "push" the peak usage (which is NOT listed in the top right corner, those are 1,5,10 minute AVERAGES) over 90%, you have reached the capacity of your server.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 4:13 pm

Code: Select all
top - 15:08:47 up 1 day, 19:39,  2 users,  load average: 0.21, 0.14, 0.12
Tasks: 110 total,   1 running, 109 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.3%id,  0.2%wa,  0.2%hi,  0.0%si,  0.0%st
Mem:   4138052k total,  1005808k used,  3132244k free,   157244k buffers
Swap:  1044216k total,        0k used,  1044216k free,   569972k cached


It's not virtual, dedicated server.




___________________________
GoAutodial from goautodial-ce-2.0-final.iso
Vicidial VERSION: 2.2.1-237
BUILD: 100510-2015
Asterisk 1.4.27.1-1
Single Server
No Digium/Sangoma Hardware
No Extra Software After Installation
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 4:20 pm

are these readings taken during a time when your real time screen is not updating?

i note that the version you are running does not match the one that ordinarily installed with GAD20CE.

did you upgrade after the install? and what steps did you take? (and would that coincide with your notice of this issue?)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 4:30 pm

Nope, I didn't upgrade, just installed it and started working, as I told you the counting was working until last week.

The readings are been taken while I'm updating the screen even using F5 but not peek is showing up
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 4:59 pm

have you altered your cron or other passwords in the system?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 5:46 pm

No, I'm even working with default root and admin passwords

I have noticed something, about 2 hours ago I went to lunch (and it was really good) but I left the computer on and the agent console paused, when I look to the Real-time report, the counter has registered the elapsed time I have been paused, so I switched to CLOSER on the agent console, the Real-Time Report changed my status to CLOSER but still it's not counting, even if I go back to PAUSED again.... weird. seems like the counter is registering the time every long period time, and not every second.
Last edited by manny on Sun Mar 20, 2011 5:55 pm, edited 1 time in total.
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 5:51 pm

well. either you have done something weird or you are describing your issue oddly.

are you saying that your screen does not refresh, or that the data on the screen when it refreshes does not change? if the latter, does SOME of the data change?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 5:58 pm

Everything refresh, except the elapsed time in the current status PAUSED or CLOSER


**I have updated my last post
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 7:40 pm

ok: so IF a user is PAUSED or CLOSER ... their time does not change when the page refreshes, but everything else does change?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 20, 2011 8:01 pm

yup! it remains on 0:00 no matter how many times I refresh the page
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 20, 2011 8:26 pm

! so it's not just that it doesn't change. it's that it reverts back to zero?

so ... talking to a client, it will go up to several minutes .. but when they "pause" it resets to zero and stays at zero as long as they are paused? then when they get back onto a call again it starts counting again?

have you tested this yourself as an agent to see if they are closing their browsers or something?

is this for everyone or certain users only?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Mon Mar 21, 2011 5:38 pm

No, it doesn't change, at least that seems for me, if the agent is in call this is the status that displays all the call

VICIDIAL: Agents Time On Calls Campaign: ALL-ACTIVE 2011-03-21 17:26:11
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER SHOW ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/manny | Manuel Garcia + | 8600052 | INCALL I | 0:00 | TRACSA | 1 | 26 | Atencion_clientes - Atencion a clientes
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
1 agents logged in on all servers
System Load Average: 0.04 0.02 0.00



As you can see, the MM:SS time is 0:00 and it won't move it is for all the agents and I have tried with 3 diferent computers 2 diferent web browsers, same result

I'm trying myself as an agent, all is normal usage of the agent console
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby manny » Tue Mar 22, 2011 6:10 pm

After a couple of hours (more or less) the timer starts counting, look at this

VICIDIAL: Agentes Time On Calls Campaña: |ALL-ACTIVE| 2011-03-22 18:03:15
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER DEMOSTRACIÓN ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/miriana | Miriana + | 8600053 | INCALL M | 0:00 | TRACSA | 56 |
| SIP/manny | Manuel Garcia + | 8600051 | PAUSED | 1:48 | TRACSA | 6 |
| SIP/felipe | Felipe Villa + | 8600059 | PAUSED | 0:00 | TRACSA | 41 |
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
3 agents logged in on all servers
Sistema de carga Average: 0.06 0.08 0.08



a couple of minutes later


VICIDIAL: Agentes Time On Calls Campaña: |ALL-ACTIVE| 2011-03-22 18:04:37
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER DEMOSTRACIÓN ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/miriana | Miriana + | 8600053 | INCALL M | 0:00 | TRACSA | 56 |
| SIP/manny | Manuel Garcia + | 8600051 | PAUSED | 3:10 | TRACSA | 6 |
| SIP/felipe | Felipe Villa + | 8600059 | PAUSED | 0:00 | TRACSA | 41 |
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
3 agents logged in on all servers
Sistema de carga Average: 0.01 0.05 0.07



so If I change my status on the console to CLOSER



VICIDIAL: Agentes Time On Calls Campaña: |ALL-ACTIVE| 2011-03-22 18:06:39
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER DEMOSTRACIÓN ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/miriana | Miriana + | 8600054 | PARK M | 0:00 | TRACSA | 57 |
| SIP/felipe | Felipe Villa + | 8600059 | PAUSED | 0:00 | TRACSA | 41 |
| SIP/manny | Manuel Garcia + | 8600051 | CLOSER | 0:00 | TRACSA | 6 |
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
3 agents logged in on all servers
Sistema de carga Average: 0.11 0.08 0.08



and again if I press f5 or wait for automatic refresh, time doesn't change, even if I go back to PAUSED status:


VICIDIAL: Agentes Time On Calls Campaña: |ALL-ACTIVE| 2011-03-22 18:09:55
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| STATION | USER DEMOSTRACIÓN ID INFO | SESSIONID | STATUS PAUSE | MM:SS | CAMPAIGN | CALLS | HOLD | IN-GROUP
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
| SIP/manny | Manuel Garcia + | 8600051 | PAUSED | 0:00 | TRACSA | 6 |
| SIP/felipe | Felipe Villa + | 8600059 | PAUSED | 0:00 | TRACSA | 41 |
| SIP/miriana | Miriana + | 8600056 | CLOSER | 0:00 | TRACSA | 57 |
+----------------+------------------------+-----------+-----------------+---------+------------+-------+------+------------------
3 agents logged in on all servers
Sistema de carga Average: 0.14 0.12 0.09



Maybe I will have to wait for another hour or two for the timer to start counting again.
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby manny » Tue Mar 22, 2011 7:05 pm

I have noticed something!!!

I't seems to start counting after one hour, (as I posted before) but the date and time is diferent in the vicidial window (top right corner) than the system date and time values (one hour delayed) I have followed the multiple suggestions on this post http://www.eflo.net/VICIDIALforum/viewt ... fd03399eb7

but no success on syncing the date & time.

could be this the right direction for solving the counting issue of the realtime report???
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Wed Mar 23, 2011 10:49 pm

what do you have in your time zone settings for your OS and php.ini files and for the phone that this agent is logged into?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Thu Mar 24, 2011 11:13 pm

The phone I'm using is a softphone (X-lite) my computer has the same time than the Linux OS, my php.ini file is in blank and commented for timezone

Code: Select all
[Date]
; Defines the default timezone used by the date functions
;date.timezone =


should it contain any value??
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Fri Mar 25, 2011 10:19 am

actually, you will find a few threads detailing this subject. in summary: Yes, and it should be the same timezone in use by your OS.

check your /var/log (asterisk, astguiclient, apache, messages ...) logs and your root email and see if there are any errors being tossed worthy of note. always a good thing to keep an eye on

don't freak out if there's an error and your system is running properly ... just research (google verbatim!) the error to see if it needs to be fixed or not and be sure to test your system immediately after fixing the error and a good reboot to be sure your "fix" didn't break anything!
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby manny » Sun Mar 27, 2011 6:22 pm

Done!

I just added
Code: Select all
[Date]
; Defines the default timezone used by the date functions
date.timezone = America/Mexico_City


reboot, and all was back to normal, counting the time in time hehe,

Thanks a LOT!!
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX

Postby williamconley » Sun Mar 27, 2011 8:10 pm

Good postback manny. Now start helping newbies with the stuff YOU already know (as a way to thank Matt for this cool software, since I'm sure you downloaded it for Free but purchased the Manager's Manual so you can use the system to its fullest and understand all the deeper functionality ... and because it's an easy way to send $$ to the people who made the software while getting something very useful in exchange for the $$ 8)).
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

I will

Postby manny » Mon Mar 28, 2011 4:41 pm

Sure I will help, it's a great development, and yes, the guide is an easy way to contribute to the project, I'll help as much as I can, learning helping.

Thanks will
"Make everything as simple as possible but not simpler" - Albert Einstein
manny
 
Posts: 47
Joined: Wed Feb 09, 2011 12:12 am
Location: Villa Corona MEX


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 78 guests