Question

What is the sequence of events for ending a call that was spawned using RingOut?

  • 4 September 2020
  • 1 reply
  • 357 views

My users will have an app that they can use to click on a client's phone number, and it will dial the physical phone sitting beside them on the desk. I'm using RingOut for this. I've never done this before so I need to know about ending the call. The RingOut API call creates a "call object". Does that call object have to be ended (deleted) by my app that started the call using the RingOut API (meaning, user has to click an "End Call" button, or is it automatically deleted by the staff member or client (or both) hanging up their physical phone? The reason I ask is because of the GET (Ringout Status) API call will fail and be marked by the RingOut system as an error on my part (404).. .and then what happens? I get punished some how? If I have to have an "End Call" button in my app, that users have to click after they physically hang up after each call.. for sure they are going to get confused and click the "End Call" button (DELETE) and again, if the call object is not there, another 404 will get generated.


1 reply

Userlevel 1

When you make a ring-out call, you will get the call id in the response. The call id is the telephony session id and you can use it to control the call e.g, to terminate the call. You don't have to do that if you don't want to. If one of the call parties hangs up, the call will be terminated as well.

To implement the "End Call" button, use the telephony session id with this API.

Reply