Rooms
Add or move a leg to a room
Changed onAdd a leg to a room (auto-creates room if it doesn't exist). If the leg is already in a different room, it is atomically moved to the target room. A ringing inbound SIP leg is automatically answered before being added — in this case the response status is adding and the actual room join happens asynchronously, observable via leg.joined_room. Auto-answer failures surface as leg.command_failed with command="add_to_room". Only the leg's primary audio stream joins by default; streams additionally mixes named secondary streams of the same leg into this room. A stream currently mixed elsewhere is moved here.
post/rooms/{id}/legs
Request
- Base URLhttp://localhost:8080/v1
- URLhttp://localhost:8080/v1/rooms/{id}/legs
- Authnone declared
Request body
Response
Leg added or moved
Changes
- info
added the new optional request property
- info
- info
added the new optional request property
- info