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

Get call duration (Jabber SDK Voice & Video)

clement.tessier
Beginner
Beginner

Dear all,

I am looking for a way to get the call duration via the Jabber SDK for Voice & Video (cwic). Where can I get this?

Thank you very much for your help,

Kind regards

2 REPLIES 2

npetrele
Cisco Employee
Cisco Employee

There is no API method for call duration.  You could record the call start time, note the end time yourself and then calculate the duration in your app. 

Call start: The new Date() when the conversationStart.cwic event was fired for the call.

Thank you for your reply Nicholas.

I was actually afraid so, but well, that is what I made so far; created my own counter that starts when recipient picks up the phone (on conversationUpdate, conversation.callState === 'Connected').

Thank you,

Kind regards,

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: