Avaya Support Forums  

Go Back   Avaya Support Forums > Contact Center Applications

Thread Tools Search this Thread Display Modes
Old 09-06-2016, 06:56 AM
lynn19 lynn19 is offline
Aspiring Member
Join Date: Sep 2016
Posts: 1
lynn19 has 10 reputation points
Default How to accumulate time in call_rec

We're working on some custom querying and reporting, using only the call_rec database table.

We're trying to figure out how the various durations add up for a call, when there are more than 1 segment in the call. For instance, for a call with 2 segments:

It seems like for segment 1, the "duration" field is actually the sum of segment 1 and 2's duration fields.

On the other hand, if I add up all the components of segment 1 (disptime,talktime,ansholdtime,consulttime,acwtime ,queuetime,ringtime,origholdtime,netintime) MINUS all the same components of segment 2, I get the true duration of segment 1.

The numbers don't seem to add up when there's a value in acwtime though.

So the general question is: Is there a formula or technique to determine the actual duration of each call segment, where everything adds up to the total call time?

Reply With Quote
Old 09-07-2016, 12:58 AM
shaikht shaikht is offline
Join Date: Feb 2010
Posts: 246
shaikht has 25 to 49 reputation pointsshaikht has 25 to 49 reputation pointsshaikht has 25 to 49 reputation points


I don't think so. But still to get confirmation,you can ask your Account Manager to engage APS team to get more details if it is feasible.

I hope it helps.
Reply With Quote
Old 09-07-2016, 05:40 AM
hpenni hpenni is offline
Hot Shot
Join Date: Jun 2016
Posts: 20
hpenni has 12 reputation points


You get more than 1 segment if the disposition changes, for example this happens when a call get transferred or a call gets re-queued.
So the timers have to be 'reset' because it needs to measure the time for the new extension.
You have to understand what the dispositions mean and why a call has more than 1 segment, you can than work out the correct call length.
If the disposition is ANS (ACD Answered) the deposition time is the time it took for it to be answered. than you have talk time. If the call gets transferred the original call goes on hold ( hold time: while the agent dials the transfer extension, waits for it to be answered and talk to person and hits transfer)

As for ACW (after call work): this time is measured after a call has been completed by the agent, so can never be add to the call length. But is measured for the Agent stats.

There is a lot more to this but I find the help files in CMS supervisor explain all the database items well.

The best thing is to make test calls and run historic reports compare them against the call records to get an understanding of the calculation of times
Reply With Quote
Old 10-08-2016, 08:23 AM
stphnwd's Avatar
stphnwd stphnwd is offline
Join Date: Jan 2011
Location: USA
Posts: 52
stphnwd has 10 reputation points

Have you reviewed this document? https://downloads.avaya.com/css/P8/documents/101015191
Stephen Wood
Reply With Quote

call_rec, cms

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 12:44 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.