Duplicated Events vicidial_agent_log

All installation and configuration problems and questions

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

Duplicated Events vicidial_agent_log

Postby gjorge » Tue Apr 03, 2018 7:41 am

Regards!!

I'm having problems with the table vicidial_agent_log, in the same I'm being duplicated precisely the event pause causing this changes in the times of the agents.

Specifically what happens is that when an agent is placed on pause and selects a descant substatus (not billable) it appears with the pause time at 0 and then another "fictitious" event appears with the time of pause in wait_time, this is one of the cases, another case is the same stage but the duplicate event shows the time in pause and the substatus null.

VERSION: 2.14-621a
BUILD: 170717-1444
© 2017 ViciDial Group
virtualized Cluster
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby mflorell » Tue Apr 03, 2018 8:27 am

The vicidial code doesn't handle billable or non-billable pause time any different from each other, so that part doesn't make much sense to me.

How frequently does this issue occur?

Can you post actual examples of the log entry issues?

We have confirmed that there are several known logging issues that tend to happen on VICIdial systems that are on under-powered or over-utilized equipment. Virtualized systems are especially susceptible to those issues.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Tue Apr 03, 2018 12:37 pm

Hi Matt!!

How can I post a log file?

can I share the agent's full day so you can see the detail?
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby mflorell » Tue Apr 03, 2018 4:11 pm

I was thinking you would just post the two duplicated log entries here in text.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Wed Apr 04, 2018 1:05 pm

Here is an example of what happens with events:

event_time lead_id campaign_id pause_epoch pause_sec wait_epoch wait_sec talk_epoch talk_sec dispo_epoch dispo_sec sub_status
3/22/2018 14:09:06 NULL GEST0001 1521742146 0 1521742146 12 NULL 0 NULL 0 3
3/22/2018 14:09:06 NULL GEST0001 1521742158 2134 1521742158 0 NULL 0 NULL 0 NULL

explaining what happens, the agent selected the code 3 in pause code and the seconds belonging to this pause were counted in the next event where they must have belonged to the event of the pause code.

I tried to recreate these cases to see what is wrong but I could not find the cause, please if you can help me.
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby mflorell » Wed Apr 04, 2018 3:41 pm

How frequently does this issue occur?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Thu Apr 05, 2018 8:43 am

Hi Matt,

this happens daily with all the agents randomly.

I have been doing tests and I notice that when I select 'next call pause' an event is written in the database with NULL values in this event it is written about the pause code and when the agent finishes with the pause time then a following event is created with time pertaining to the code.
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby mflorell » Thu Apr 05, 2018 9:24 am

Out of how many calls handled does this happen how many times in a day?

For instance: "Agents handled 53,000 calls yesterday and this happened 23 times...".

Can you reliably replicate this issue happening?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Fri Apr 06, 2018 10:16 am

Hi Matt!

Agents handled 1,902 records and made 4,135 calls yesterday and this happened 15 times.

I have noticed the following when the campaign is manual:
agent select next call pause in active call and when the call is dispo the box appears to select the pause code, the system creates a null event and over this it writes the pause time and in another event writes the pause code.

This does not happen when the campaign is predictive.
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby mflorell » Fri Apr 06, 2018 11:00 am

Yes, pause entries work different in manual dial campaigns because they have to, there really is no "paused" state in manual dial mode because the agent is never "active/ready" either, so there had to be a way to denote pause codes and pause time for those agents.

Can you reliably replicate the duplicate vicidial_agent_log problem, or is it random?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Fri Apr 06, 2018 3:34 pm

It's random Matt, I'm going to study the source code of writing logs to see their operation from the most intrinsic.

I am new working with vicidial and I still have a lot to learn.

thank you.
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby gjorge » Tue Aug 27, 2019 3:44 pm

Greetings team!

I am writing to tell you that I found the reason why some pause times were not written in their corresponding event in the vicidial_agent_log table, this is due to the JavaScript asynchrony!

It happens when agents click the pause button several times waiting for a response from the agent interface for some brief slowness that the platform may present, this scenario not only happens with pauses, it also happens with the buttons that commit to the database.

I solved it with promises. :D
gjorge
 
Posts: 12
Joined: Mon Dec 04, 2017 1:13 pm

Re: Duplicated Events vicidial_agent_log

Postby williamconley » Mon Sep 09, 2019 10:38 pm

gjorge wrote:Greetings team!

I am writing to tell you that I found the reason why some pause times were not written in their corresponding event in the vicidial_agent_log table, this is due to the JavaScript asynchrony!

It happens when agents click the pause button several times waiting for a response from the agent interface for some brief slowness that the platform may present, this scenario not only happens with pauses, it also happens with the buttons that commit to the database.

I solved it with promises. :D


have you tested this against the latest svn code for Vicidial? If so, this sounds like something you should put in the Issue tracker. A single precise (button for button, including timing if that's important) example that will duplicate the flaw reliably and it can be fixed.
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: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Duplicated Events vicidial_agent_log

Postby Arjene » Thu Mar 26, 2020 7:51 am

We have the same issue :-(


Version: 2.14b0.5
SVN Version: 3204
DB Schema Version: 1588

VERSION: 2.14-741a
BUILD: 200318-1330
Arjene
 
Posts: 6
Joined: Tue Nov 16, 2010 7:11 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 77 guests