cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
658
Views
0
Helpful
2
Replies

How to get Call Duration from JTAPI

dts.swadhin
Level 1
Level 1

Hello All,

Is it possible to get CISCO call duration from JTAPI?

Any link or info will be appreciated.

Thanks,

Swadhin.

2 Replies 2

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Swadhin,

As far as Call Duration is concerned, there is no API to retrieve this information but you can compute the call duration programatically based on the events that JTAPI sends out (basically RTP (media) start event and established event would tell you when the call is answered and  when you get disconnected/Invalid event would tell you when is call

torn down and you can subtract the timestamps of these events to get call duration).

Alternatively these can be picked from CDRs.

Reference - Get a list of active calls

Thanks and Regards,

Geevarghese

Hello Geevarghese,

Thanks for your valuable reply. Helped me a lot to make my decision. 

Thanks & Regards,

Swadhin.