When making a RingOut call between two PSTN phone numbers, RingCentral does not report the call outcome when the callee's phone goes to voicemail or to the "subscriber is unavailable" message or the callee hangs up.
In the cases I have tested the call outcome is always "Success" when doing a get request to the RingOut API endoint /restapi/v1.0/account/~/extension/~/ringout/###
.
When querying the call-log
or the active-calls
endpoint, with the ?view=Detailed
parameter the results is always "Call connected" for the whole call and the callee's leg of the call.
My question is how do I determine if the callee's phone:
- Went to Voicemail.
- They hang up.
- They weren't able to answer because of a network issue.
Basically how do I know if a human answered the phone or not?