What is best way to transfer phone. call to agent ...
# ask-ai
s
What is best way to transfer phone. call to agent while staying in same room and invite to the room or directly transfer call and to the human and destroy room?
t
Thanks for reaching out, elish. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking whether to keep the caller in the same LiveKit room and invite the agent (warm transfer) or to directly transfer the call and destroy the room (cold transfer). Both are supported — choose based on the experience you want: • Warm transfer (recommended for human handoff) ◦ Keep the caller in the room, invite or move the human agent into the same room, let the AI introduce context, then disconnect the AI. ◦ Advantages: preserves context, smoother handoff, caller stays in one room. ◦ Requirements: outbound SIP dialing to the agent and use of the
MoveParticipant
API (LiveKit Cloud). • Cold transfer ◦ Transfer the caller directly to the agent’s number (SIP REFER) and end the LiveKit session for that caller. ◦ Advantages: simpler and immediate. ◦ Drawbacks: no context for the agent; caller leaves the room. ◦ Requirements: SIP REFER enabled on your SIP trunk. Recommendation: use warm transfer when the human needs context or you want a professional, seamless handoff; use cold transfer only when quick routing is needed and context is unnecessary. Which workflow do you plan to implement (agent needs context vs. quick routing)? I can give exact API calls and a short sequence for that choice. Sources: Agent-assisted warm transfer | LiveKit docs | Managing participants | LiveKit docs | Call forwarding | LiveKit docs | Agents telephony integration | LiveKit docs