bitter-artist-18201
11/03/2025, 8:02 AMtall-airline-16756
11/03/2025, 8:02 AMtall-airline-16756
11/03/2025, 8:02 AMCreateSIPParticipant API to connect the agent with another party in a new room.
3. When you're ready, use the MoveParticipant API to bring the new party into the original room, effectively ending the hold.
This approach helps keep the SIP participant connected but inactive until you’re ready to continue. If you’d like, I’m here to walk you through any part of this or answer any questions you have!
Sources: examples/voice_agents/error_callback.pybitter-artist-18201
11/03/2025, 8:06 AMtall-airline-16756
11/03/2025, 8:06 AMbitter-artist-18201
11/03/2025, 8:07 AMtall-airline-16756
11/03/2025, 8:08 AMBackgroundAudioPlayer to play some hold music or messages, keeping things smooth and engaging for the participants.
3. Keep track of each participant’s hold status by using metadata or your application’s state management.
4. For handling multiple participants, the ListParticipants API is your friend—it helps you identify SIP participants and apply the hold logic to each one thoughtfully.
If you’d like, I’m here to walk you through any part of this or provide more details. Just let me know how I can help!
Sources: examples/warm-transfer/warm_transfer.py | SIP Integration & Telephony | livekit/livekit_composite | DeepWiki | Managing participants | LiveKit docs | pkg/sip/inbound.go | Agent-assisted warm transfer | LiveKit Docsbitter-artist-18201
11/03/2025, 8:09 AMtall-airline-16756
11/03/2025, 8:10 AMMutePublishedTrack API to mute the participant’s audio track. Just make sure you have the room name, the participant’s identity, and the track SID of their audio track handy.
◦ Set the muted parameter to true to mute the track.
◦ Keep in mind, this action requires roomAdmin permissions.
• Muting Audio Output (What They Hear):
◦ If you’re using an agent, you can easily toggle the audio output dynamically with session.output.set_audio_enabled(False) in your agent scripts.
◦ For other cases without an agent, there isn’t a direct API to mute audio output for SIP participants, but you can control what they hear by managing the tracks published to the room.
If anything isn’t clear or you’d like a hand with the implementation, please don’t hesitate to reach out—I’m here to help!
Sources: Managing participants | LiveKit docs | Camera & microphone | LiveKit Docs | Text and transcriptions | LiveKit docs | livekit-agents/livekit/agents/voice/io.py | Subscribing to tracks | LiveKit docs