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
Call Out Get Status
Tags: rest api
Jul 24, 2020 at 7:45am   •   2 replies  •  0 likes
Yaroslav Kozak

So, im basically trying to use api like in article:

await ringCentralClient.Restapi().Account().Telephony().Sessions(callId).Get();

Call id im using is returned from Make Call Out request, and ID start with "s-"

And there are 2 cases:
1) If call is active, API answers OK and returns null object
2) If call is over, it says BadRequest
Is there any chance to get real statuses for both cases?
Need to get status even if it's over

2 Answers
answered on Jul 24, 2020 at 11:57am  

1. Yes, it returns "null" as session object
2. Got it, thanks


 0
answered on Jul 24, 2020 at 8:20am  

1. Are you sure you only get the OK and null object? Please double check. As the .Net SDK shows that it returns the call session object.

2. This is the expected behavior. When the call is over, the telephony session id is invalid for this endpoint. You can implement telephony session event push notification to get notified when a call is terminated, match the telephony session id to identify that call.


 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