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.
Or you can get the Date starting with when the recipient picks up the phone (on conversationUpdate, conversation.callState === 'Connected').
Comments
0 comments
Please sign in to leave a comment.