Is there a way to end a room once one of the participants leave?
I found a way to do it using the REST API: set a status callback and when the event is participant-disconnected
, update the Room's status to completed
.
But I'm wondering if there's a way to do it only with TWIML to be able to do it with my TWIML Bin to reduce complexity.