News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Cannot distinguish between ringing and answered calls for "active calls"
Tags: phone
Jan 23, 2019 at 3:51am   •   3 replies  •  0 likes
snakeboard-snakeboard

I'm using this endpoint to get the "active calls" for an extension, and I need to distinguish between calls that are still ringing, and calls that have been answered:


https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/active...


However, all of the call records have a "result" of "In Progress", which is not listed as one of the 37 valid enum values in the documentation. The record will show "In Progress" before and after the call has been answered.


How can I distinguish between ringing and answered calls?


3 Answers
answered on Jan 28, 2019 at 1:36am  
Good morning,

Is there any update on this?

Thank you.

 0
answered on Jan 24, 2019 at 5:32am  
Thank you. I look forward to hearing more...

 0
answered on Jan 23, 2019 at 8:31am  
Hi,

I will double check if it is by design or a bug.

Meanwhile, you can use the presence API to detect the telephony status of a user instead of using the active call API.

Please check this blog and tutorial for instructions. It is even better when you use the push notification and detect the status.

https://medium.com/ringcentral-developers/how-to-get-a-new-call-recording-notification-ee9f2a6e41a0
https://ringcentral-tutorials.github.io/callrecording-notification-node/?distinctId=1398916020

+ Phong

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us