keigo0653
10/07/2025, 10:50 AMtransfer_number field for agent_response and agent_interrupt events.
However, I can't seem to find any documentation to use the user's phone number instead of the agent's for the caller ID during the transfer. Looking through the channel, I was able to find 1 thread where this was brought up and it appears there's an undocumented method; described here: https://discord.com/channels/1186424376300679209/1369052565592866836. But, I'm unable to get it working.
Is there more documentation or an example of a full response that is to be sent to the websocket?keigo0653
10/08/2025, 7:33 AMkeigo0653
10/08/2025, 7:34 AMconst res: CustomLlmResponse = {
response_type: "agent_interrupt",
content: "",
content_complete: true,
end_call: false,
interrupt_id: this.transferInterruptId + 1,
no_interruption_allowed: true,
transfer_number: "+12162023041",
};keigo0653
10/08/2025, 7:38 AMconst res: TransferResponse = {
response_type: "action",
action: "transfer",
transfer: {
phone_number: this.transferNumber,
from_number: call.from_number,
},
content_complete: true,
content: "",
interrupt_id: this.transferInterruptId + 1,
}
Relevant call_ids:
call_a652244d1fbe1cf88480e74f466
call_0db3a3e2652703124359b8d9006
call_9b96fb042b5a789a6fca9493925keigo0653
10/08/2025, 7:39 AM