Yash
12/20/2025, 2:01 PMAI Evy
12/20/2025, 2:01 PMAI Evy
12/20/2025, 2:02 PMtransfer_number field in your response event sent back to Retell via the LLM WebSocket. [(1) ]()
How to implement:
In your response event, set the transfer_number field to the destination phone number:
javascript
const res = {
response_type: "response",
response_id: request.response_id,
content: "Let me transfer you now.",
content_complete: true,
end_call: false,
transfer_number: "+12137771234"
};
ws.send(JSON.stringify(res) ) ;
You can also use agent_interrupt to trigger an immediate transfer:
javascript
const res = {
response_type: "agent_interrupt",
content: "",
content_complete: true,
end_call: false,
interrupt_id: 1,
transfer_number: "+12162023041"
};
[(2) ]()
Important limitations with custom LLM:
- This performs a cold transfer (direct transfer without briefing the next agent) . [(3) ]()
- Warm transfer with three-way bridging, hold music, and human detection are not available when using custom LLM.
- Configuring the caller ID (showing the user's number vs. the agent's number) during transfer is not currently documented for custom LLM integrations. , [(2) ]()AI Evy
12/20/2025, 2:02 PMAI Evy
12/20/2025, 2:02 PMYash
12/20/2025, 2:04 PM