" /> DataMart queue duration w/o Ring for handled - Genesys CTI User Forum

Author Topic: DataMart queue duration w/o Ring for handled  (Read 1657 times)

Offline marmota

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
DataMart queue duration w/o Ring for handled
« on: September 29, 2020, 10:26:16 AM »
Advertisement
Hi all!

We need to calculate queue duration for handled calls. What we found as StatServer by default are metrics that calculate either (queueTime+ringTime) for handled or queueTime but both for handled and abandoned.

Does anybody know how to get only queueTime (w/o ring) for only handled (w/o abandoned) at DataMart?

P.S.
Default StatServer metrics we found are:
Total_Distribute_Time - calculates queue time for both handled and abandoned
Total_Time_to_Answer - calculates queue+ring for handled

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: DataMart queue duration w/o Ring for handled
« Reply #1 on: September 29, 2020, 12:37:26 PM »
Distributed is not Abandoned...
Distributed is an action where the Call was sent somewhere


Even formula is:


Entered = Distributed + Abandon + Cleared


From where do you get that definition?

Offline marmota

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: DataMart queue duration w/o Ring for handled
« Reply #2 on: September 29, 2020, 01:54:16 PM »
Hi! Thanks for quick answer.

You are right that abandoned is not distrubuted in terms of StatServer.
But in terms of Events there may be calls that are abandonedWhileRinging but they are distributed already.

I understand that from technical point of view there is no confrontation.

But from business point of view management considers abandonesFromRinging as abandoned.

So let me reformulate the question with specific case:
a call arrives to queue and is distributed to an agent, then is is either:
1. accepted by agent
2. abandoned while ringing
3. routed back to queue if agents didn't answer while ringing

Is there any way for StatServer to calculate Queue (or Distribution) time for the 1 option only? Or at least for the 1+3 option only w/o option 2 (that is considered as abadndoned althouth it is abandoned while ringing).

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: DataMart queue duration w/o Ring for handled
« Reply #3 on: September 29, 2020, 03:14:10 PM »
Did you try to use CallsAnswered as the MainMask instead of CallsDistributed (which by default includes also CallsAbandonedFromRinging)?

Offline marmota

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: DataMart queue duration w/o Ring for handled
« Reply #4 on: September 29, 2020, 03:23:05 PM »
Hi!

As I see it's vica versa - CallAnswered includes Ringing and CallDistributed doesn't. May I be wrong?


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: DataMart queue duration w/o Ring for handled
« Reply #5 on: September 29, 2020, 03:43:28 PM »
[quote]

call arrives to queue and is distributed to an agent, then is is either:
1. accepted by agent
2. abandoned while ringing
3. routed back to queue if agents didn't answer while ringing
[/quote]


You need different Metrics:


1. When RP sends the call to a Target is Distributed Time
2. Then Ringing (Immediate action) starts
3. Ringing Time runs
4. If agent answers (CallAnswered) event triggers
5. If not you have now CallRinging At mediation DN which is not retrospective
6. From agent DN you can get the Ringing time.
7. RoutedBack is a new interaction coming to URS RP depending on RONA settings, but the time for this to happen is based on your settings, so it is a fix time, unless you give the agent the power to reject, in which is Ringing time.


Offline marmota

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: DataMart queue duration w/o Ring for handled
« Reply #6 on: September 30, 2020, 10:23:24 PM »
Thanks!

The issue is that Distribute time exists both for handled and for abandoned - so if I calculate this I can't split them. I need to get it only for handled. Is it somehow possible at StatServer?

I thought of adding some AttachedData to handled call hence filterring DistributTime metric for them. But Distribution time is at strategy level and it is already written to DataMart once call goes to agent.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: DataMart queue duration w/o Ring for handled
« Reply #7 on: October 01, 2020, 03:09:17 PM »
For Abandoned calls there is no Distribution time, only if you are talking about AbandonOnRinging, so please, use correct terms so we don't get confused.


Offline marmota

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: DataMart queue duration w/o Ring for handled
« Reply #8 on: October 01, 2020, 03:57:10 PM »
Yes, speaking about AbandonedWhileRinging