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

Compare with Current View Page History

« Previous Version 3 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, total offered.
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_MaxINTCalls 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_CountINTCalls directly to agent, not answered.
Direct_NoAnswer_Time_CallStart_CallEnd_TotalBIGINTCalls directly to agent, not answered, total seconds from dtCallStart to dtCallEnd.
Direct_NoAnswer_Time_CallStart_CallEnd_MaxINTCalls directly to agent, not answered, max seconds from dtCallStart to dtCallEnd.
Direct_Busy_CountINTCalls directly to agent, busy.
Direct_CallerHangup_CountINTCalls directly to agent, caller hangup.
Direct_CallerHangup_Time_CallStart_CallEnd_TotalBIGINTCalls directly to agent, caller hangup, total seconds from dtCallStart to dtCallEnd.
Direct_CallerHangup_Time_CallStart_CallEnd_MaxINTCalls directly to agent, caller hangup, max seconds from dtCallStart to dtCallEnd.
Direct_Reject_CountINTCalls directly to agent, rejected.
Direct_Reject_Time_CallStart_CallEnd_TotalBIGINTCalls directly to agent, rejected, total seconds from dtCallStart to dtCallEnd.
Direct_Reject_Time_CallStart_CallEnd_MaxINTCalls directly to agent, rejected, max seconds from dtCallStart to dtCallEnd.
Direct_Failure_CountINTCalls directly to agent, failed.
FromTransfer_CountINTCalls transferred to agent, total offered.
FromTransfer_OK_CountINTCalls transferred to agent, answered.
FromTransfer_OK_Time_CallStart_CallConnect_TotalBIGINTCalls transferred to agent, answered, total seconds from dtCallStart to dtCallConnect.
FromTransfer_OK_Time_CallStart_CallConnect_MaxINTCalls transferred to agent, answered, max seconds from dtCallStart to dtCallConnect.
FromTransfer_OK_Time_CallConnect_CallEnd_TotalBIGINTCalls transferred to agent, answered, total seconds from dtCallConnect to dtCallEnd.
FromTransfer_OK_Time_CallConnect_CallEnd_MaxINTCalls transferred to agent, answered, max seconds from dtCallConnect to dtCallEnd.
FromTransfer_OK_PostCall_CountINTCalls transferred to agent, answered, number of calls with post call work.
FromTransfer_OK_PostCall_Time_TotalBIGINTCalls transferred to agent, answered, total time in post call work.
FromTransfer_OK_PostCall_Time_MaxINTCalls transferred to agent, answered, max time in post call work.
FromTransfer_NoAnswer_CountINTCalls transferred to agent, not answered.
FromTransfer_NoAnswer_Time_CallStart_CallEnd_TotalBIGINTCalls transferred to agent, not answered, total seconds from dtCallStart to dtCallEnd.
FromTransfer_NoAnswer_Time_CallStart_CallEnd_MaxINTCalls transferred to agent, not answered, max seconds from dtCallStart to dtCallEnd.
FromTransfer_Busy_CountINTCalls transferred to agent, busy.
FromTransfer_CallerHangup_CountINTCalls transferred to agent, caller hangup.
FromTransfer_CallerHangup_Time_CallStart_CallEnd_TotalBIGINTCalls transferred to agent, caller hangup, total seconds from dtCallStart to dtCallEnd.
FromTransfer_CallerHangup_Time_CallStart_CallEnd_MaxINTCalls transferred to agent, caller hangup, max seconds from dtCallStart to dtCallEnd.
FromTransfer_Reject_CountINTCalls transferred to agent, rejected.
FromTransfer_Reject_Time_CallStart_CallEnd_TotalBIGINTCalls transferred to agent, rejected, total seconds from dtCallStart to dtCallEnd.
FromTransfer_Reject_Time_CallStart_CallEnd_MaxINTCalls transferred to agent, rejected, max seconds from dtCallStart to dtCallEnd.
FromTransfer_Failure_CountINTCalls transferred to agent, failed.
TransferOut_Number_CountINTCalls transferred out to number by agent, total attempts.
TransferOut_Number_OK_CountINTCalls transferred out to number by agent, answered.
TransferOut_Number_OK_Time_CallStart_CallConnect_TotalBIGINTCalls transferred out to number by agent, answered, total seconds from dtCallStart to dtCallConnect.
TransferOut_Number_OK_Time_CallStart_CallConnect_MaxINTCalls transferred out to number by agent, answered, max seconds from dtCallStart to dtCallConnect.
TransferOut_Number_OK_Time_CallConnect_CallEnd_TotalBIGINTCalls transferred out to number by agent, answered, total seconds from dtCallConnect to dtCallEnd.
TransferOut_Number_OK_Time_CallConnect_CallEnd_MaxINTCalls transferred out to number by agent, answered, max seconds from dtCallConnect to dtCallEnd.
TransferOut_Number_NoAnswer_CountINTCalls transferred out to number by agent, no answer.
TransferOut_Number_NoAnswer_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to number by agent, no answer, total seconds from dCallStart to dtCallEnd.
TransferOut_Number_NoAnswer_Time_CallStart_CallEnd_MaxINTCalls transferred out to number by agent, no answer, max seconds from dCallStart to dtCallEnd.
TransferOut_Number_Busy_CountINTCalls transferred out to number by agent, busy.
TransferOut_Number_CallerHangup_CountINTCalls transferred out to number by agent, caller hangup.
TransferOut_Number_CallerHangup_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to number by agent, caller hangup, total seconds from dCallStart to dtCallEnd.
TransferOut_Number_CallerHangup_Time_CallStart_CallEnd_MaxINTCalls transferred out to number by agent, caller hangup, max seconds from dCallStart to dtCallEnd.
TransferOut_Number_Reject_CountINTCalls transferred out to number by agent, rejected.
TransferOut_Number_Reject_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to number by agent, rejected, total seconds from dCallStart to dtCallEnd.
TransferOut_Number_Reject_Time_CallStart_CallEnd_MaxINTCalls transferred out to number by agent, rejected, max seconds from dCallStart to dtCallEnd.
TransferOut_Number_Failure_CountINTCalls transferred out to number by agent, failed.
TransferOut_Group_CountINTCalls transferred out to group by agent, total attempts.
TransferOut_Group_OK_CountINTCalls transferred out to group by agent, answered.
TransferOut_Group_OK_Time_CallStart_CallConnect_TotalBIGINTCalls transferred out to group by agent, answered, total seconds from dtCallStart to dtCallConnect.
TransferOut_Group_OK_Time_CallStart_CallConnect_MaxINTCalls transferred out to group by agent, answered, max seconds from dtCallStart to dtCallConnect.
TransferOut_Group_OK_Time_CallConnect_CallEnd_TotalBIGINTCalls transferred out to group by agent, answered, total seconds from dtCallConnect to dtCallEnd.
TransferOut_Group_OK_Time_CallConnect_CallEnd_MaxINTCalls transferred out to group by agent, answered, max seconds from dtCallConnect to dtCallEnd.
TransferOut_Group_NoAnswer_CountINTCalls transferred out to group by agent, no answer.
TransferOut_Group_NoAnswer_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to group by agent, no answer, total seconds from dCallStart to dtCallEnd.
TransferOut_Group_NoAnswer_Time_CallStart_CallEnd_MaxINTCalls transferred out to group by agent, no answer, max seconds from dCallStart to dtCallEnd.
TransferOut_Group_Busy_CountINTCalls transferred out to group by agent, busy.
TransferOut_Group_CallerHangup_CountINTCalls transferred out to group by agent, caller hangup.
TransferOut_Group_CallerHangup_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to group by agent, caller hangup, total seconds from dCallStart to dtCallEnd.
TransferOut_Group_CallerHangup_Time_CallStart_CallEnd_MaxINTCalls transferred out to group by agent, caller hangup, max seconds from dCallStart to dtCallEnd.
TransferOut_Group_Reject_CountINTCalls transferred out to group by agent, rejected.
TransferOut_Group_Reject_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to group by agent, rejected, total seconds from dCallStart to dtCallEnd.
TransferOut_Group_Reject_Time_CallStart_CallEnd_MaxINTCalls transferred out to group by agent, rejected, max seconds from dCallStart to dtCallEnd.
TransferOut_Group_Failure_CountINTCalls transferred out to group by agent, failed.
TransferOut_Agent_CountINTCalls transferred out to agent by agent, total attempts.
TransferOut_Agent_OK_CountINTCalls transferred out to agent by agent, answered.
TransferOut_Agent_OK_Time_CallStart_CallConnect_TotalBIGINTCalls transferred out to agent by agent, answered, total seconds from dtCallStart to dtCallConnect.
TransferOut_Agent_OK_Time_CallStart_CallConnect_MaxINTCalls transferred out to agent by agent, answered, max seconds from dtCallStart to dtCallConnect.
TransferOut_Agent_OK_Time_CallConnect_CallEnd_TotalBIGINTCalls transferred out to agent by agent, answered, total seconds from dtCallConnect to dtCallEnd.
TransferOut_Agent_OK_Time_CallConnect_CallEnd_MaxINTCalls transferred out to agent by agent, answered, max seconds from dtCallConnect to dtCallEnd.
TransferOut_Agent_NoAnswer_CountINTCalls transferred out to agent by agent, no answer.
TransferOut_Agent_NoAnswer_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to agent by agent, no answer, total seconds from dCallStart to dtCallEnd.
TransferOut_Agent_NoAnswer_Time_CallStart_CallEnd_MaxINTCalls transferred out to agent by agent, no answer, max seconds from dCallStart to dtCallEnd.
TransferOut_Agent_Busy_CountINTCalls transferred out to agent by agent, busy.
TransferOut_Agent_CallerHangup_CountINTCalls transferred out to agent by agent, caller hangup.
TransferOut_Agent_CallerHangup_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to agent by agent, caller hangup, total seconds from dCallStart to dtCallEnd.
TransferOut_Agent_CallerHangup_Time_CallStart_CallEnd_MaxINTCalls transferred out to agent by agent, caller hangup, max seconds from dCallStart to dtCallEnd.
TransferOut_Agent_Reject_CountINTCalls transferred out to agent by agent, rejected.
TransferOut_Agent_Reject_Time_CallStart_CallEnd_TotalBIGINTCalls transferred out to agent by agent, rejected, total seconds from dCallStart to dtCallEnd.
TransferOut_Agent_Reject_Time_CallStart_CallEnd_MaxINTCalls transferred out to agent by agent, rejected, max seconds from dCallStart to dtCallEnd.
TransferOut_Agent_Failure_CountINTCalls transferred out to agent by agent, failed.
  • No labels