Skip to main content
Question

Call Out Get Status


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

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • July 24, 2020

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.


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


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