Page 1 of 1

Productivity Rating

PostPosted: Tue Feb 15, 2011 8:03 am
by Trying
Hi Guys

How is the Productivity Rating in the Outbound Calling Report calculated exactly?

PostPosted: Tue Feb 15, 2011 11:22 am
by williamconley
Do you have the name of the perl script that runs to acquire said data?

PostPosted: Tue Feb 15, 2011 12:36 pm
by Trying
Unfortunately not.

PostPosted: Tue Feb 15, 2011 1:27 pm
by williamconley
Code: Select all
cd /srv/www/htdocs/vicidial/
grep "Productivity Rating" * -R -n

result
Code: Select all
AST_VDADstats.php:17:# 81109-2341 - Added Productivity Rating
AST_VDADstats.php:716:  $OUToutput .= "Productivity Rating:                          $AVG_ANSWERagent_non_pause_sec\n";
so ... it would seem to me that looking at line 716 of AST_VDADstats.php may give you ... a hint.
Code: Select all
nano +716 /srv/www/htdocs/vicidial/AST_VDADstats.php
try wandering around in there and see what you come up with for the method of calculating that particular variable ...

Hint:
Code: Select all
grep AVG_ANSWERagent_non_pause_sec * -R -n