Problem with new agent_performance_detail?

All installation and configuration problems and questions

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

Problem with new agent_performance_detail?

Postby chrisbIT » Wed Feb 13, 2008 1:47 pm

Hi all,

We have just run our first day of real testing with 2.04 base and notice a discrepency in the reports. The AST_VDADstats.php script reports the correct number of sales (39), but the agent_performance_detail one reports less (31). I realise they both look at different tables (vicidial_log and vicidial_agent_log) but the two tables contain the same number of sales (39 and 39), so is this a problem with the way the agent performace detail counts the sales?

This is on standard adapt_hard dialling (not manual), has anyone else experienced this?

Many Thanks.

Chris
chrisbIT
 
Posts: 40
Joined: Mon Sep 03, 2007 5:04 am

Postby mflorell » Wed Feb 13, 2008 3:01 pm

Can you post a dump of the records for sales from both tables?

There are several fixes to the vicidial logging that have been made in SVN that will be included in the next release and I was not aware of one like this so I would like some more information.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chrisbIT » Thu Feb 14, 2008 4:26 am

Hi Matt,

I sent the logs via PM as to not publically disclose peoples names.

Thanks for looking in to this.

Chris
chrisbIT
 
Posts: 40
Joined: Mon Sep 03, 2007 5:04 am

Problem found

Postby chrisbIT » Thu Feb 14, 2008 5:34 am

Hi matt,

I put the query manually in to phpmyadmin and noticed that the results displayed show exactly one sale less than expected for each caller.

commenting out this line in the code seems to fix it:
Code: Select all
$row[0] = ($row[0] - 1);      # subtract 1 for login/logout event compensation


Is it required?

Thanks

Chris
chrisbIT
 
Posts: 40
Joined: Mon Sep 03, 2007 5:04 am

Postby chrisbIT » Thu Feb 14, 2008 5:41 am

hmmm, but then it seems that number of calls is incorrectly calculated. uncommenting that line i notice that number of calls varies both ways (between a p d and vdadstats)...hmmm
chrisbIT
 
Posts: 40
Joined: Mon Sep 03, 2007 5:04 am


Return to Support

Who is online

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