Skip to main content
Question

Telephony Session Event Notification: get start time of call

  • November 14, 2022
  • 1 reply
  • 299 views

I want to know the start time of a call when I receive a "Disconnected" event.

The docs say telephony session event provides this information (in "eventTime") https://developers.ringcentral.com/api-reference/Account-Telephony-Sessions-Event

However, when I use real calls, the "eventTime" is just the time when the call disconnected.

Is this an issue in code or documentation?

1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2318 replies
  • November 14, 2022

You have to capture all the events of a telephony session and detect the event time for each call. You can detect the event time when the call is ringing, when it is answered and when it is disconnected etc.

Read these blogs to learn more about the telephony session events
https://medium.com/ringcentral-developers/ringcentral-telephony-session-events-notifications-98b3f8d29745

https://medium.com/ringcentral-developers/building-a-real-time-call-report-app-3eee247a141d


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings