conscious-sapphire•3h ago
Hi guys, just spoted a BIG BUG with call transfers in your UI. Multiple destinations dont work at a
Hi guys, just spoted a BIG BUG with call transfers in your UI. Multiple destinations dont work at all and first destination is selected. Because the properties of argument object of the tool are empty even when destinations are created. So, no phone number gets passed into the function. When I updated the tool by cURL to add the property, it started to transfer properly. So this is definitely a BIG BUG. Can you fix this?
-d '{
"function": {
"name": "transfer_call_tool",
"description": "Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transfer_call_tool. DO NOT call this function unless you are instructed to do so. If it is new client use +YYYYYYYY else (for existing customers) use +XXXXXXXXX",
"parameters": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"enum": ["+YYYYYYYYYY", "+XXXXXXXXXXX"],
"description": "The destination to transfer the call to."
}
},
"required": ["destination"]
}
}
While your UI has created this UGLINESS
{
"function": {
"name": "transfer_call",
"description": "Transfers the caller to a human representative or lawyer, handing off the conversation with full context.",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
},
}
This child of incest exists already for 4-5 months ... as I read reports on forums. Whats going on?
2 Replies
To fix the call transfer bug, update your tool's parameters to explicitly include the
Reference Source: - Vapi documentation: call forwarding
destination
property. Here’s a working example you can use with cURL:
Apply this structure to your tool definition, and the transfer should work as expected.Reference Source: - Vapi documentation: call forwarding
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
To fix the call transfer issue with multiple destinations, manually update your tool's parameters to include the required
For reference, see Vapi documentation: call forwarding. Sources: - Vapi documentation: call forwarding - Vapi SIP Trunking Telnyx external number call forwarding troubleshooting (Discord)
destination
property. Here’s a working example:
This ensures the assistant receives the correct destination and enables proper call transfers.For reference, see Vapi documentation: call forwarding. Sources: - Vapi documentation: call forwarding - Vapi SIP Trunking Telnyx external number call forwarding troubleshooting (Discord)