You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Background

CompressedUA contains statistics regarding:

  • Calls to users with respect to particular ACD groups and hotlines
  • Transfer calls made by users
  • Transfer calls received by users

Information such as:

  • The service number
  • The ACD group
  • The number of calls
    • Direct 
    • From a transfer
    • Transfered by agent
  • Information on results
    • Answered
    • Busy
    • Caller Hangup
    • Rejected
  • Times
    • Ring time
    • Talk time

is provided.

Note: because these statistics are aggragated, not quite as much information is available as from the call detail records. However, this aggregated data can be retained for a much longer time.

Parameters

Data is aggregated according to the settings of the parameters:

Parameter

Default Value

Purpose

Portal.ACD.Statistics.JTELStats2.Compress.CompressedUA.SecondsToWait

7200

The minimum time after the end of a time interval before statistics are aggregated.

Portal.ACD.Statistics.JTELStats2.Compress.CompressedUA.NextTimeSlice

-

The date / time of the next time slice to be calculated. This parameter can be reset to an earlier date / time in which case the system will recalculate all intervals from the given date and time again.

Portal.ACD.Statistics.JTELStats2.Compress.CompressedUA.CustomCompress The name of a stored procedure, in JTELStats2, which is called after the system statistics discussed below have been aggregated. This can be used to provide additional values in additional tables as required by a custom installation. NOTE: changing the CompressedUA tables themselves is NOT supported.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedUA.CustomCompress.SuppressErrors0Set to 1, to suppress errors in the CustomCompress routine. If this flag is set, the system will continue with calculations for the data, even if the custom routine throws errors.

Query

Two tables are provided, CompressedUA15 (15 minute time slices) and CompressedUADay (day compression), aggregated according to the following queries.

The first query aggregates calls made TO the agent (direct calls from the ACD and calls transferred to the agent):

CompressedUA Query 1
SELECT      UsersID,
			(Various Aggregations)
FROM		JTELStats.StatisticsPartB b
LEFT JOIN	JTELStats.StatisticsPartA a
	ON		b.StatisticsPartAID = a.ID
WHERE		( b.ClientsID = _ClientsID )
			AND
			( b.dtCallStart BETWEEN _Timeslice_Begin AND Timeslice_End_ )
			AND
			( b.bOutbound = 0 );

The second query aggregates calls made BY the agent (calls transferred by the agent):

CompressedUA Query 2
SELECT      OriginUsersID,
			(Various Aggregations)
FROM		JTELStats.StatisticsPartB b
JOIN		JTELStats.StatisticsPartA a
	ON		b.StatisticsPartAID = a.ID
WHERE		( b.ClientsID = _ClientsID )
			AND
			( b.dtCallStart BETWEEN _Timeslice_Begin AND Timeslice_End_ )
			AND
			( b.bOutbound = 0 )
			AND
			( b.OriginUsersID IS NOT NULL );

Partitioning and Aggregations 

When the data is aggregated, it is divided into several consistent partitions, according to the following logic. The resulting aggregations then either count a call, if a condition is met, or determine the time between two timestamps.

Partitioning on CONNRES

All results are partitioned by CONNRES.

CONNRES

Field

1

OK

2

No Answer

3

Busy 

Caller Hangup

6Reject
0, 5, 6Failure

Partitioning on calls to UsersID

StatisticsPartBOrigin

Field

Meaning

NULL

Direct_*

Direct call to agent

NOT NULL

FromTransfer_*

Call transferred to agent

Partitioning on calls made by OriginUsersID

bTransferExternalNumber

bTransferAgentField

Meaning

1

 TransferOut_Number_*

Call transferred by agent to external number

 

1TransferOut_Agent_*

Call transferred by agent to another agent

00TransferOut_Group_*Call transferred by agent to group

Tables

CompressedUA15

This table contains compressed statistics for 15 minute intervals.

CompressedUADay

This table contains compressed statistics for day intervals.

Fields

The field definitions are essentially the same, in both tables, only the aggregation intervals are different.

FieldTypeContents
IDINTA unique ID assigned to each record. Note, that IDs are not re-used, since if an interval is recalculated, the record is added with REPLACE, i.e. the existing record will be delteted and a new record with a new ID will be created in its place.
ClientsIDINTID of client from Clients table.
UsersIDINTThe ID of the user from the Users table.
UsersProfilesIDINTThe ID of the user profile from UserProfiles in which the agent was logged in.
ServiceNumbersIDINTID of service number from ServiceNumbers table.
DynamicPriorityGroupsIDINTID of dynamic priority group from DynamicPriorityGroups table.
RoutingApplicationsIDINTID of the routing application from the RoutingApplications Table.
AcdGroupsIDINTID of the ACD group, from the AcdGroups table.
dtIntervalStartDATETIMEDate and Time of the start of the interval.
UsersUIDVARCHAR(64)The UsersUID field.
UsersNameVARCHAR(64)The Users Name.
UsersFirstNameVARCHAR(64)The Users FirstName.
UsersProfilesNameVARCHAR(64)The UsersProfiles Name.
ServiceNumbersRootNumberVARCHAR(32)The RootNumber field of the service number, as configured when the compressed statistics were created.
ServiceNumbersNameVARCHAR(64)The Name field of the service number, as configured when the compressed statistics were created.
ServiceNumbersName2VARCHAR(64)The Name2 field of the service number, as configured when the compressed statistics were created.
DynamicPriorityGroupsNameVARCHAR(64)The Name field from the DynamicPriorityGroups table, as configured when the compressed statistics were created.
AcdGroupsNameVARCHAR(64)The Name field from the AcdGroups table, as configured when the compressed statistics were created.
Direct_CountINTCalls directly to agent.
Direct_OK_CountINTCalls directly to agent, answered.
Direct_OK_Time_CallStart_CallConnect_TotalBIGINTCalls directly to agent, answered, total seconds from dtCallStart to dtCallConnect.
Direct_OK_Time_CallStart_CallConnect_Max Calls directly to agent, answered, max seconds from dtCallStart to dtCallConnect.
Direct_OK_Time_CallConnect_CallEnd_TotalBIGINTCalls directly to agent, answered, total seconds from dtCallConnect to dtCallEnd.
Direct_OK_Time_CallConnect_CallEnd_MaxINTCalls directly to agent, answered, max seconds from dtCallConnect to dtCallEnd.
Direct_OK_PostCall_CountINTCalls directly to agent, answered, number of calls with post call work.
Direct_OK_PostCall_Time_TotalBIGINTCalls directly to agent, answered, total time in post call work.
Direct_OK_PostCall_Time_MaxINTCalls directly to agent, answered, max time in post call work.
Direct_NoAnswer_Count  
Direct_NoAnswer_Time_CallStart_CallEnd_Total  
Direct_NoAnswer_Time_CallStart_CallEnd_Max  
Direct_Busy_Count  
Direct_CallerHangup_Count  
Direct_CallerHangup_Time_CallStart_CallEnd_Total  
Direct_CallerHangup_Time_CallStart_CallEnd_Max  
Direct_Reject_Count  
Direct_Reject_Time_CallStart_CallEnd_Total  
Direct_Reject_Time_CallStart_CallEnd_Max  
Direct_Failure_Count  
FromTransfer_Count  
FromTransfer_OK_Count  
FromTransfer_OK_Time_CallStart_CallConnect_Total  
FromTransfer_OK_Time_CallStart_CallConnect_Max  
FromTransfer_OK_Time_CallConnect_CallEnd_Total  
FromTransfer_OK_Time_CallConnect_CallEnd_Max  
FromTransfer_OK_PostCall_Count  
FromTransfer_OK_PostCall_Time_Total  
FromTransfer_OK_PostCall_Time_Max  
FromTransfer_NoAnswer_Count  
FromTransfer_NoAnswer_Time_CallStart_CallEnd_Total  
FromTransfer_NoAnswer_Time_CallStart_CallEnd_Max  
FromTransfer_Busy_Count  
FromTransfer_CallerHangup_Count  
FromTransfer_CallerHangup_Time_CallStart_CallEnd_Total  
FromTransfer_CallerHangup_Time_CallStart_CallEnd_Max  
FromTransfer_Reject_Count  
FromTransfer_Reject_Time_CallStart_CallEnd_Total  
FromTransfer_Reject_Time_CallStart_CallEnd_Max  
FromTransfer_Failure_Count  
TransferOut_Number_Count  
TransferOut_Number_OK_Count  
TransferOut_Number_OK_Time_CallStart_CallConnect_Total  
TransferOut_Number_OK_Time_CallStart_CallConnect_Max  
TransferOut_Number_OK_Time_CallConnect_CallEnd_Total  
TransferOut_Number_OK_Time_CallConnect_CallEnd_Max  
TransferOut_Number_NoAnswer_Count  
TransferOut_Number_NoAnswer_Time_CallStart_CallEnd_Total  
TransferOut_Number_NoAnswer_Time_CallStart_CallEnd_Max  
TransferOut_Number_Busy_Count  
TransferOut_Number_CallerHangup_Count  
TransferOut_Number_CallerHangup_Time_CallStart_CallEnd_Total  
TransferOut_Number_CallerHangup_Time_CallStart_CallEnd_Max  
TransferOut_Number_Reject_Count  
TransferOut_Number_Reject_Time_CallStart_CallEnd_Total  
TransferOut_Number_Reject_Time_CallStart_CallEnd_Max  
TransferOut_Number_Failure_Count  
TransferOut_Group_Count  
TransferOut_Group_OK_Count  
TransferOut_Group_OK_Time_CallStart_CallConnect_Total  
TransferOut_Group_OK_Time_CallStart_CallConnect_Max  
TransferOut_Group_OK_Time_CallConnect_CallEnd_Total  
TransferOut_Group_OK_Time_CallConnect_CallEnd_Max  
TransferOut_Group_NoAnswer_Count  
TransferOut_Group_NoAnswer_Time_CallStart_CallEnd_Total  
TransferOut_Group_NoAnswer_Time_CallStart_CallEnd_Max  
TransferOut_Group_Busy_Count  
TransferOut_Group_CallerHangup_Count  
TransferOut_Group_CallerHangup_Time_CallStart_CallEnd_Total  
TransferOut_Group_CallerHangup_Time_CallStart_CallEnd_Max  
TransferOut_Group_Reject_Count  
TransferOut_Group_Reject_Time_CallStart_CallEnd_Total  
TransferOut_Group_Reject_Time_CallStart_CallEnd_Max  
TransferOut_Group_Failure_Count  
TransferOut_Agent_Count  
TransferOut_Agent_OK_Count  
TransferOut_Agent_OK_Time_CallStart_CallConnect_Total  
TransferOut_Agent_OK_Time_CallStart_CallConnect_Max  
TransferOut_Agent_OK_Time_CallConnect_CallEnd_Total  
TransferOut_Agent_OK_Time_CallConnect_CallEnd_Max  
TransferOut_Agent_NoAnswer_Count  
TransferOut_Agent_NoAnswer_Time_CallStart_CallEnd_Total  
TransferOut_Agent_NoAnswer_Time_CallStart_CallEnd_Max  
TransferOut_Agent_Busy_Count  
TransferOut_Agent_CallerHangup_Count  
TransferOut_Agent_CallerHangup_Time_CallStart_CallEnd_Total  
TransferOut_Agent_CallerHangup_Time_CallStart_CallEnd_Max  
TransferOut_Agent_Reject_Count  
TransferOut_Agent_Reject_Time_CallStart_CallEnd_Total  
TransferOut_Agent_Reject_Time_CallStart_CallEnd_Max  
TransferOut_Agent_Failure_Count  
  • No labels