cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
834
Views
0
Helpful
4
Replies

Understanding of Service Level, ICM 7

nikolaydmukha
Level 1
Level 1

Hi.

1)

I got data from Call_Type_Half_Hour table:

*******************************************************

SELECT

EntName = Call_Type.EnterpriseName, Datetime = CTHH.DateTime, CallType = CTHH.CallTypeID, RouterQCalls = sum(isnull(CTHH.RouterQueueCallsToHalf,0)), AvgRouterDelayQ = sum(isnull(CTHH.AvgRouterDelayQToHalf,0)), AnsWaitTime = sum(isnull(CTHH.AnswerWaitTimeHalf,0)), ErrorCount = sum(isnull(CTHH.ErrorCountToHalf,0))           + sum(isnull(CTHH.AgentErrorCountToHalf,0)),

ICRDefaultRouted = sum(isnull(CTHH.ICRDefaultRoutedToHalf,0)), NetworkDefaultRouted = sum(isnull(CTHH.NetworkDefaultRoutedToHalf,0)),

ReturnBR = sum(isnull(CTHH.ReturnBusyToHalf,0)) + sum(isnull(CTHH.ReturnRingToHalf,0)) + sum(isnull(CTHH.ReturnReleaseToHalf,0)),

CallsOffered = sum(isnull(CTHH.CallsOfferedHalf,0)), CallsHandled = sum(isnull(CTHH.CallsHandledHalf,0)), CallsAband = sum(isnull(CTHH.TotalCallsAbandToHalf,0)), SvcLvlAband = sum(isnull(CTHH.ServiceLevelAbandHalf,0)), SvcLvlCallsHalf = sum(isnull(CTHH.ServiceLevelCallsHalf,0)), SvcLvlCallsOfferedHalf = sum(isnull(CTHH.ServiceLevelCallsOfferedHalf,0)), OverflowOut = sum(isnull(CTHH.OverflowOutHalf,0)),   Incomplete = sum(isnull(CTHH.IncompleteCallsHalf,0)), delaytime=sum(isnull(CTHH.CallDelayAbandTimeToHalf,0)),

shortcalls= sum(isnull(CTHH.ShortCallsHalf,0)), asa= case when sum(isnull(CTHH.CallsAnsweredToHalf,0)) = 0 then 0

else sum(isnull(CTHH.AnswerWaitTimeHalf,0)) * 1.0 / sum(isnull(CTHH.CallsAnsweredToHalf,0)) end, per_aban = (sum(isnull(CTHH.TotalCallsAbandToHalf,0)) * 1.0) / (sum(isnull(CTHH.CallsHandledHalf,0)) + sum(isnull(CTHH.TotalCallsAbandToHalf,0))

+ sum(isnull(CTHH.IncompleteCallsHalf,0)) + sum(isnull(CTHH.ReturnBusyToHalf,0)) + sum(isnull(CTHH.ReturnRingToHalf,0))

+ sum(isnull(CTHH.ICRDefaultRoutedToHalf,0)) + sum(isnull(CTHH.NetworkDefaultRoutedToHalf,0)) + sum(isnull(CTHH.OverflowOutHalf,0))

+ sum(isnull(CTHH.CallsRONAToHalf,0)) + sum(isnull(CTHH.ReturnReleaseToHalf,0)) + sum(isnull(CTHH.CallsRoutedNonAgentToHalf,0))

+ sum(isnull(CTHH.ShortCallsHalf,0)) + sum(isnull(CTHH.AgentErrorCountToHalf,0)) + sum(isnull(CTHH.ErrorCountToHalf,0))),

avg_aban_delay = case when sum(isnull(CTHH.TotalCallsAbandToHalf,0)) = 0 then 0 else (sum(isnull(CTHH.CallDelayAbandTimeToHalf,0)) * 1.0)

/ sum(isnull(CTHH.TotalCallsAbandToHalf,0)) end, totalerrorcount= sum(isnull(CTHH.ErrorCountToHalf,0)) + sum(isnull(CTHH.IncompleteCallsHalf,0)) + sum(isnull(CTHH.AgentErrorCountToHalf,0)), CompletedTasks = sum(isnull(CTHH.CallsHandledHalf,0)) + sum(isnull(CTHH.TotalCallsAbandToHalf,0)) + sum(isnull(CTHH.IncompleteCallsHalf,0)) + sum(isnull(CTHH.ReturnBusyToHalf,0)) + sum(isnull(CTHH.ReturnRingToHalf,0)) + sum(isnull(CTHH.ICRDefaultRoutedToHalf,0)) + sum(isnull(CTHH.NetworkDefaultRoutedToHalf,0))

+ sum(isnull(CTHH.OverflowOutHalf,0)) + sum(isnull(CTHH.CallsRONAToHalf,0)) + sum(isnull(CTHH.ReturnReleaseToHalf,0)) + sum(isnull(CTHH.CallsRoutedNonAgentToHalf,0)) + sum(isnull(CTHH.ShortCallsHalf,0)) + sum(isnull(CTHH.AgentErrorCountToHalf,0)) + sum(isnull(CTHH.ErrorCountToHalf,0)), Other = sum(isnull(CTHH.CallsRONAToHalf,0)) + sum(isnull(CTHH.CallsRoutedNonAgentToHalf,0))

+ sum(isnull(CTHH.ShortCallsHalf,0)), SL=sum(isnull(CTHH.ServiceLevelHalf,0)), CallsAns = sum(isnull(CTHH.CallsAnsweredToHalf,0)),

CallsQHandled = sum(isnull(CTHH.CallsQHandledToHalf,0)), per_queued = case when sum(isnull(CTHH.CallsHandledHalf,0)) = 0 then 0

else sum(isnull(CTHH.CallsQHandledToHalf,0)) * 1.0 / sum(isnull(CTHH.CallsHandledHalf,0)) end

FROM Call_Type,   Call_Type_Half_Hour CTHH

WHERE Call_Type.CallTypeID = CTHH.CallTypeID AND Call_Type.CallTypeID in ( 5027 ) AND CTHH.DateTime >= {ts '2013-01-04 12:00:00.000'}  AND  CTHH.DateTime <= {ts '2013-01-04 13:59:00.000'}    GROUP BY CTHH.CallTypeID, Call_Type.EnterpriseName, CTHH.DateTime

ORDER BY Call_Type.EnterpriseName, CTHH.CallTypeID, CTHH.DateTime ASC

*******************************************************

This SQL query I got from Webview report (calltype21).

The result of the query is:

EntNameDatetime
CallTypeRouterQCallsAvgRouterDelayQAnsWaitTimeErrorCountICRDefaultRoutedNetworkDefaultRoutedReturnBRCallsOfferedCallsHandledCallsAbandSvcLvlAbandSvcLvlCallsHalfSvcLvlCallsOfferedHalfOverflowOutIncompletedelaytimeshortcallsasaper_abanavg_aban_delaytotalerrorcountCompletedTasksOtherSLCallsAnsCallsQHandledper_queued







































































































CT_CVP1_140004.01.201312:00:00502712184512000014581014001950085.333333333333.615384615384243.75000000000001300.064.800000000000



































CT_CVP1_140004.01.201312:30:0050272139111000063310500312155.500000000000.428571428571104.0000000000000710.022.666666666666



































CT_CVP1_140004.01.201313:00:0050271411300002151512220004051.600000000000.71428571428527.00000000000002110.2551.200000000000
CT_CVP1_140004.01.201313:30:005027332500008451080032901.250000000000.55555555555565.8000000000000900.040.000000000000



































2)

With this SQL query I can get data from Termination_Call_Detail table for CallType:

*******************************************************

Select DateTime, * from Termination_Call_Detail where DateTime >'2013-01-04 13:00:00' and DateTime < '2013-01-04 13:29:59'

and CallTypeID=5027

*******************************************************

The result is:

DateTime
RecoveryKeyMRDomainIDAgentSkillTargetIDSkillGroupSkillTargetIDServiceSkillTargetIDPeripheralIDRouteIDRouterCallKeyDayRouterCallKeyDateTime
PeripheralCallTypeDigitsDialedPeripheralCallKeyCallDispositionNetworkTimeDurationRingTimeDelayTimeTimeToAbandHoldTimeTalkTimeWorkTimeLocalQTimeBillRateCallSegmentTimeConferenceTimeVariable1Variable2Variable3Variable4Variable5UserToUserNewTransactionRecoveryDayTimeZoneNetworkTargetIDTrunkGroupIDDNISInstrumentPortNumberAgentPeripheralNumberICRCallKeyICRCallKeyParentICRCallKeyChildVariable6Variable7Variable8Variable9Variable10ANIAnsweredWithinServiceLevelPriorityTrunkWrapupDataSourceAgentPeripheralNumberSourceAgentSkillTargetIDCallDispositionFlagRouterCallKeySequenceNumberCEDCallTypeIDBadCallTagApplicationTaskDispositionApplicationDataNetQTimeDbDateTime




































































04.01.201313:01:23.293624642564630.01NULLNULLNULL5003NULL15048364104.01.201313:01:23.293110990212935526018101811810000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644658NULLNULLNULLNULLNULLNULLNULL89841804261NNULL3276879NULLNULLNULL10NULL5027N0NULL004.01.201313:09:36.450
04.01.201313:01:23.793624642564631.01NULLNULLNULL5003NULL15048364104.01.201313:01:23.7931109902129355360181060181000121NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644659NULLNULLNULLNULLNULLNULLNULL89841804261NNULL6553644NULLNULLNULL11NULL5027N0NULL004.01.201313:09:36.450
04.01.201313:09:37.793624642564683.01NULLNULLNULL5003NULL15048366604.01.201313:09:37.7931109902129360313028028280000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644720NULLNULLNULLNULLNULLNULLNULL84245241182NNULL6553619NULLNULLNULL11NULL5027N0NULL004.01.201313:17:49.950
04.01.201313:11:00.793624642564689.01NULLNULLNULL5003NULL15048366604.01.201313:11:00.7931109902129360260112029008300NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644719NULLNULLNULLNULLNULLNULLNULL84245241182NNULL3276854NULLNULLNULL10NULL5027N0NULL004.01.201313:18:58.043
04.01.201313:12:27.293624642564696.01NULLNULLNULL5003NULL15048366904.01.201313:12:27.2931109902129360913027027270000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644729NULLNULLNULLNULLNULLNULLNULL84242725921NNULL6553616NULLNULLNULL11NULL5027N0NULL004.01.201313:20:40.153
04.01.201313:13:32.293624642564700.01NULLNULLNULL5003NULL15048366904.01.201313:13:32.293110990212936086093029006400NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644728NULLNULLNULLNULLNULLNULLNULL84242725921NNULL3276851NULLNULLNULL10NULL5027N0NULL004.01.201313:21:31.153
04.01.201313:14:45.793624642564702.01NULLNULLNULL5003NULL15048367404.01.201313:14:45.7931109902129361913010010100000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644740NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553611NULLNULLNULL11NULL5027N0NULL004.01.201313:22:39.250
04.01.201313:17:02.793624642564710.01NULLNULLNULL5003NULL15048367604.01.201313:17:02.793110990212936226037037370000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644747NULLNULLNULLNULLNULLNULLNULL84242728341NNULL3276844NULLNULLNULL10NULL5027N0NULL004.01.201313:25:12.450
04.01.201313:17:02.793624642564711.01NULLNULLNULL5003NULL15048367604.01.201313:17:02.793110990212936236036027360009NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644748NULLNULLNULLNULLNULLNULLNULL84242728341NNULL6553609NULLNULLNULL11NULL5027N0NULL004.01.201313:25:12.450
04.01.201313:18:44.293624642564716.01NULLNULLNULL5003NULL15048367404.01.201313:18:44.29311099021293618602490110023800NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644739NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276846NULLNULLNULL10NULL5027N0NULL004.01.201313:26:37.450
04.01.201313:18:54.293624642564736.0152045068NULL5000502515048367404.01.201313:18:54.2932109902362560641302490000239100NULLNULL0NULLNULLNULLNULLNULLNULLN0-6605119NULL1000251000252131075644741NULLNULLNULLNULLNULLNULLNULL89242820707NNULLNULLNULLNULLNULL12NULL5027N0NULL004.01.201313:28:53.653
04.01.201313:18:56.293624642564718.01NULLNULLNULL5003NULL15048368004.01.201313:18:56.2931109902129363113027027270000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644758NULLNULLNULLNULLNULLNULLNULL84242720401NNULL6553605NULLNULLNULL11NULL5027N0NULL004.01.201313:26:54.543
04.01.201313:20:00.793624642564725.01NULLNULLNULL5003NULL15048368304.01.201313:20:00.793110990212936366012012120000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644766NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276837NULLNULLNULL10NULL5027N0NULL004.01.201313:28:02.543
04.01.201313:20:00.793624642564726.01NULLNULLNULL5003NULL15048368304.01.201313:20:00.79311099021293637601109110002NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644767NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553602NULLNULLNULL11NULL5027N0NULL004.01.201313:28:02.543
04.01.201313:20:37.293624642564732.01NULLNULLNULL5003NULL15048368704.01.201313:20:37.293110990212936446013013130000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644774NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276833NULLNULLNULL10NULL5027N0NULL004.01.201313:28:36.653
04.01.201313:20:37.293624642564733.01NULLNULLNULL5003NULL15048368704.01.201313:20:37.29311099021293645601209120003NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644775NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553688NULLNULLNULL11NULL5027N0NULL004.01.201313:28:36.653
04.01.201313:21:01.793624642564737.01NULLNULLNULL5003NULL15048368804.01.201313:21:01.793110990212936466020020200000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644776NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276832NULLNULLNULL10NULL5027N0NULL004.01.201313:29:10.653
04.01.201313:21:01.793624642564738.01NULLNULLNULL5003NULL15048368804.01.201313:21:01.793110990212936476019014190005NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644777NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553687NULLNULLNULL11NULL5027N0NULL004.01.201313:29:10.653
04.01.201313:21:21.293624642564740.01NULLNULLNULL5003NULL15048369004.01.201313:21:21.293110990212936506014014140000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644781NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276830NULLNULLNULL10NULL5027N0NULL004.01.201313:29:27.653
04.01.201313:21:21.293624642564741.01NULLNULLNULL5003NULL15048369004.01.201313:21:21.29311099021293651601309130004NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644782NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553685NULLNULLNULL11NULL5027N0NULL004.01.201313:29:27.653
04.01.201313:21:36.793624642564746.01NULLNULLNULL5003NULL15048369104.01.201313:21:36.793110990212936526011011110000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644784NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276829NULLNULLNULL10NULL5027N0NULL004.01.201313:29:27.653
04.01.201313:21:36.793624642564747.01NULLNULLNULL5003NULL15048369104.01.201313:21:36.79311099021293653601008100002NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644785NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553684NULLNULLNULL11NULL5027N0NULL004.01.201313:29:27.653
04.01.201313:22:11.293624642564750.01NULLNULLNULL5003NULL15048369404.01.201313:22:11.293110990212936586014014140000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644790NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276826NULLNULLNULL10NULL5027N0NULL004.01.201313:30:18.750
04.01.201313:22:11.293624642564751.01NULLNULLNULL5003NULL15048369404.01.201313:22:11.293110990212936596013011130002NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644791NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553681NULLNULLNULL11NULL5027N0NULL004.01.201313:30:18.750
04.01.201313:22:40.293624642564756.01NULLNULLNULL5003NULL15048369604.01.201313:22:40.293110990212936626011011110000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644795NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276824NULLNULLNULL10NULL5027N0NULL004.01.201313:30:35.750
04.01.201313:22:40.293624642564757.01NULLNULLNULL5003NULL15048369604.01.201313:22:40.29311099021293663601008100002NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644796NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553679NULLNULLNULL11NULL5027N0NULL004.01.201313:30:35.750
04.01.201313:23:37.293624642564762.01NULLNULLNULL5003NULL15048370004.01.201313:23:37.293110990212936706013013130000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644803NULLNULLNULLNULLNULLNULLNULL89242820707NNULL3276820NULLNULLNULL10NULL5027N0NULL004.01.201313:31:43.857
04.01.201313:23:37.293624642564763.01NULLNULLNULL5003NULL15048370004.01.201313:23:37.293110990212936716012010120002NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644804NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553675NULLNULLNULL11NULL5027N0NULL004.01.201313:31:43.857
04.01.201313:23:39.793624642564764.01NULLNULLNULL5003NULL15048368004.01.201313:23:39.79311099021293630603120300028200NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5002109902NULLNULL1075644757NULLNULLNULLNULLNULLNULLNULL84242720401NNULL3276840NULLNULLNULL10NULL5027N0NULL004.01.201313:31:43.857
04.01.201313:23:49.793624642564780.0152045068NULL5000502515048368004.01.201313:23:49.7932109902362560731302951000284100NULLNULL0NULLNULLNULLNULLNULLNULLN0-6605119NULL1000251000252131075644762NULLNULLNULLNULLNULLNULLNULL84242720401NNULLNULLNULLNULLNULL12NULL5027N0NULL004.01.201313:34:00.043
04.01.201313:23:52.793624642564767.01NULLNULLNULL5003NULL15048370104.01.201313:23:52.7931109902129367313090990000NULLNULL0NULLNULLNULLNULLNULLNULLN0-660NULL5003888412NULLNULL1075644807NULLNULLNULLNULLNULLNULLNULL89242820707NNULL6553674NULLNULLNULL11NULL5027N0NULL004.01.201313:32:00.857
04.01.201313:28:07.793624642564804.0152045068NULL5000502515048370104.01.201313:28:07.7932109902362560841302550000245100NULLNULL0NULLNULLNULLNULLNULLNULLN0-6605119NULL1000251000252131075644808NULLNULLNULLNULLNULLNULLNULL89242820707NNULLNULLNULLNULLNULL12NULL5027N0NULL004.01.201313:38:15.153

I`m interested in half hour interval "04.01.2013 13:00". For this half hour interval SL=0.25*100%=25%.

For my configuration the formula for SL like this(ignore abandoned calls):

SvcLvlCallsHalf/(SvcLvlCallsOfferedHalf-SvcLvlAband)*100% = 2/(20-12)*100%=25%.

But I don`t understand which calls from Termination_Call_Detail are on Service Level. I mean: from Call_Type_Half_Hour we can see that there are 2 Service Level calls. Can you provide me this calls in Termination_Call_Detail?

Service Level threshold is 30 sec.

4 Replies 4

Senthil Kumar Sankar
Cisco Employee
Cisco Employee

Hi Nikolay,

How is this CallType used. Is this used for Script Selection ? If you are using this for Script Selection do you have any other CallType used before Routing the Call to SkillGroup or Agent. Then you would see the AgentSkillTargetID and SkillGroupSkillTargetID against that CallTypeID.

Simply can you verify the PeripheralID for these TCD records which you see? Whether it is Agent PG PeripheralID.

Then for that call, you have a field where AnsweredwithinServiceLevel field in the TCD Table. Will contain Y or N. Check that helps for you

Regards,

Senthil

Hi Senthil,

thanks for your reply. I found 3 calls by your recomendation. But all theese calls have "N" in AnsweredwithinServiceLevel.

It is strange because there are 2 service level calls in Call_Type_Half_Hour in this interval...

Hi Nikolay,

The AnswerdWithinServiceLevel field from the Termination Call Detail is defined for the Service, Its not for the CallType. If you look at the DatabaseSchema Guide, It should tell in detail.

Indicates whether the call was answered with the service level defined for the service

I don't think so there is a field which can help you in TCD.

Regards,

Senthil

Hi Senthil,

I think I understand... There was some problems with call flow script.