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
Comments
0 comments
Please sign in to leave a comment.