numerous-lighter-25835
05/04/2026, 6:36 PMtall-airline-16756
05/04/2026, 6:37 PMtall-airline-16756
05/04/2026, 6:37 PMsip_call_to (phone number or SIP URI) and sip_trunk_id or sip_connection.
◦ Pass full context in chat_ctx (conversation history, intents, entities, sentiment).
◦ Once briefed, move the supervisor into the caller’s room and connect; AI agents disconnect.
1. Key parameters you can set: sip_call_to, sip_trunk_id / sip_connection, hold_audio, extra_instructions, tools.
Recording the call (options and how to enable)
• Enable auto‑egress in your SIP dispatch rule to record calls automatically.
• Egress types:
◦ Room Composite Egress — whole room (MP4/WebM or RTMP).
◦ Track Composite Egress — synced individual participant tracks.
◦ Track Egress — raw individual tracks (e.g., ogg audio).
• Programmatic control: use EgressClient methods such as startRoomCompositeEgress(), listEgress(), stopEgress().
• Backup behavior: if cloud upload fails, recordings are saved to a backup bucket for 7 days and egress_ended webhook includes backupStorageUsed: true.
Transcripts (real‑time and storage)
• Transcription is published in real time on the lk.transcription text stream.
• Subscribe to conversation_item_added events within an AgentSession to receive transcript segments (includes timing metadata for alignment).
• Transcripts and recordings are stored in LiveKit Cloud and can be exported to your configured storage (e.g., S3) via egress.
Next steps I can help with
• Provide specific code samples (JS/Python) for WarmTransferTask setup, starting egress, or subscribing to lk.transcription.
• Guide you through SIP trunk parameter configuration or an example EgressClient call.
Which would you like next: a code example (which language?), or help configuring SIP/egress settings for your environment?
Sources: WarmTransferTask | LiveKit Documentation | The Handoff Pattern for Voice Agents That Replaces IVR Menus | LiveKit | The Human-in-the-Loop (HITL) Pattern for Voice Agents | LiveKit | Universal Egress | LiveKit | Backup Egress Recordings, with interactive elementsnumerous-lighter-25835
05/04/2026, 6:43 PMtall-airline-16756
05/04/2026, 6:43 PMnumerous-lighter-25835
05/04/2026, 6:45 PMtall-airline-16756
05/04/2026, 6:45 PMnumerous-lighter-25835
05/04/2026, 6:45 PMnumerous-lighter-25835
05/04/2026, 6:48 PMnumerous-lighter-25835
05/04/2026, 6:51 PM