Transfer call tool defaults to 1st number in desti...
# support
r
For some reason, the transfer call tool stopped working and it keeps defaulting to the first number in the list. Am I doing anything wrong?? { "id": "XXXX", "createdAt": "2025-04-27T22:49:42.621Z", "updatedAt": "2025-04-28T19:24:40.606Z", "type": "transferCall", "function": { "name": "transfer_call_coordinator", "description": "Use this tool to transfer the calls.", "parameters": { "type": "object", "properties": {}, "required": [] } }, "orgId": "XXXXX", "destinations": [ { "type": "number", "number": "+1669XXXXX", "message": "Connecting you to HR.", "description": "Use this to transfer the call to HR.", "transferPlan": { "mode": "blind-transfer", "sipVerb": "refer", "summaryPlan": { "enabled": true, "timeoutSeconds": 5, "useAssistantLlm": false } }, "numberE164CheckEnabled": true }, { "type": "number", "number": "+14125XXXX", "message": "Connecting you to sales", "description": "Use this to transfer the call to Sales.", "transferPlan": { "mode": "blind-transfer", "sipVerb": "refer" }, "numberE164CheckEnabled": true } ] }
The issue is in the creation/update of tools in the UI. When creating a simple tool through the API, it works and directs the call to the right destination, including voicing the message. API Creation (that works): curl -X POST https://api.vapi.ai/tool \ -H "Authorization: Bearer XXXX" \ -H "Content-Type: application/json" \ -d '{ "type": "transferCall", "destinations": [ { "type": "number", "number": "+1412XXXXXXX", "description": "Sales" }, { "type": "number", "number": "+1669XXXXXXX", "description": "HR" } ], "function": { "name": "transfer_call_test" } }' Creating the tool through VAPI's UI makes it more complex for some reason and it doesn't redirect to the right destination (defaults to the first number). It also doesn't say the message. Here's the example of the code when creating or updating through the UI: { "id": "XXXXX", "createdAt": "2025-04-28T21:19:51.529Z", "updatedAt": "2025-04-28T21:29:59.576Z", "type": "transferCall", "function": { "name": "transfer_call_test", "parameters": { "type": "object", "properties": {}, "required": [] } }, "orgId": "XXXXX", "destinations": [ { "type": "number", "number": "+1412XXXXXXX", "message": "Connecting you now.", "description": "Sales", "transferPlan": { "mode": "blind-transfer", "sipVerb": "refer" }, "numberE164CheckEnabled": true }, { "type": "number", "number": "+1669XXXXXXX", "message": "", "description": "HR", "transferPlan": { "mode": "blind-transfer", "sipVerb": "refer" }, "numberE164CheckEnabled": true } ] }
u
I have the same issue!\
v
Hey! To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
5 Views