join_room
join_room
Join a Relay room. If the call is an unanswered inbound call, the method first tries to answer it. If the room doesn’t exist, it creates a new room. A room created this way is set to be deleted after its room sessions end; an existing room keeps its own settings.
join_room
An object that accepts the following properties.
Properties
join_room.name
Name of the room to join. Allowed characters: A-Z | a-z | 0-9_-.
The room name, after variable expansion, can be at most 100 characters.
You can create a room via out REST API here
Variables
Set by the method:
- join_room_result: (out)
joined|failed - join_room_failed_reason: (out) A short diagnostic string describing why joining failed, for example
lockedornot found. Set only when the join fails and a reason is available, so it isn’t set on every failure. It isn’t cleared on success, so a value from an earlier failed join can remain; checkjoin_room_resultfirst.