timmmmmo
05/24/2025, 3:43 PMVapi Support Bot
05/24/2025, 3:44 PMtransferCall
tool configuration includes a valid destination number and, if using a transfer plan, that the plan is correctly specified. For example:
json
{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "+1234567890",
"message": "I am forwarding your call to Department A. Please stay on the line."
}
]
}
If the call still ends immediately, review your call logs for errors and ensure the destination is reachable and correctly formatted.
Source:
- [Vapi Call Forwarding Documentation](https://docs.vapi.ai/call-forwarding)timmmmmo
05/24/2025, 3:49 PMVapi Support Bot
05/24/2025, 3:50 PMjson
{
"type": "transferCall",
"destinations": [
{
"type": "sip",
"sipUri": "sip:14039932200@sip.telnyx.com",
"message": "Connecting your call via SIP."
}
]
}
If SIP REFER is not enabled, the transfer will fail and the call may end immediately.
[See documentation for details](https://docs.vapi.ai/advanced/sip/sip-trunk#sip-refer-call-transfer)
Sources:
- [Vapi Call Forwarding Documentation](https://docs.vapi.ai/call-forwarding)
- [Vapi SIP Trunking and SIP REFER](https://docs.vapi.ai/advanced/sip/sip-trunk#sip-refer-call-transfer)timmmmmo
05/24/2025, 3:52 PMVapi Support Bot
05/24/2025, 3:53 PMassistant
type as a transfer destination in the transferCall
tool. While dynamic call transfers are described as supporting transfers to "other assistants," the required payload and troubleshooting steps for this use case are not detailed. I recommend reaching out to Vapi support or consulting the [dynamic call transfers documentation](https://docs.vapi.ai/calls/call-dynamic-transfers) for the latest updates on assistant-to-assistant transfers.
Source:
- [Dynamic Call Transfers Documentation](https://docs.vapi.ai/calls/call-dynamic-transfers)Praveen Nair
05/24/2025, 9:12 PMtimmmmmo
05/25/2025, 3:00 PMVapi Support Bot
05/25/2025, 3:02 PMtransferCall
tool with assistant destinations, the assistant is designed to operate within a Squad context for assistant-to-assistant transfers. Attempting to start a web call directly from the assistant menu (outside of a Squad) will result in a "destination (assistant name) not found" error. To test the agent individually, temporarily remove the transfer tool or use the Squad setup for full transfer functionality.
For more details, see the [Squads documentation](https://docs.vapi.ai/squads) and [Squads example](https://docs.vapi.ai/squads-example).
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/25/2025, 3:02 PMPraveen Nair
05/26/2025, 10:19 AMtimmmmmo
05/26/2025, 3:29 PMtimmmmmo
05/26/2025, 3:30 PMtimmmmmo
05/26/2025, 3:30 PMVapi Support Bot
05/26/2025, 3:30 PMtransferCall
tool, ensure you are initiating the call within a Squad context where all assistant destinations are defined as squad members. For example, your squad configuration should look like:
json
{
"squad": {
"members": [
{
"assistantId": "your-main-assistant-id",
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "ERS_Clinic_CN",
"message": "Transferring you to ERS Clinic."
}
]
},
{
"assistant": { "name": "ERS_Clinic_CN", ... }
}
]
}
}
Test your transfer flows using the Squad setup to avoid this error.
[See Squads documentation for details.](https://docs.vapi.ai/squads)
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/26/2025, 3:30 PMtransferCall
tool (using assistant destinations), you must initiate the call within a Squad context. Direct web calls from the assistant menu will result in an "Invalid Destination" error because assistant-to-assistant transfers require the Squad setup to resolve destinations.
If you want to test the agent individually, temporarily remove the transfer tool or use a Squad for full transfer functionality.
For more details, see the [Squads documentation](https://docs.vapi.ai/squads) and [Squads example](https://docs.vapi.ai/squads-example).
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/26/2025, 3:31 PMtransferCall
tool (with assistant destinations), you must use the Squad setup.
Direct web calls from the assistant menu will fail with "destination not found" because assistant-to-assistant transfers require all destinations to be defined as squad members.
Actionable tip: For individual testing, temporarily remove the transfer tool or create a minimal Squad with just your assistant and a dummy destination.
For more details, see the [Squads documentation](https://docs.vapi.ai/squads) and [Squads example](https://docs.vapi.ai/squads-example).
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/26/2025, 3:31 PMPraveen Nair
05/27/2025, 12:29 PMPraveen Nair
05/27/2025, 12:29 PMtimmmmmo
05/29/2025, 4:30 PMVapi Support Bot
05/29/2025, 4:31 PMjson
{
"squad": {
"members": [
{
"assistantId": "your-main-assistant-id",
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "ERS_Clinic_CN",
"message": "Transferring you to ERS Clinic."
}
]
},
{
"assistant": { "name": "ERS_Clinic_CN" }
}
]
}
}
Test your transfer flows using this Squad setup to avoid the error.
For more details, see the [Squads documentation](https://docs.vapi.ai/squads).
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/29/2025, 4:32 PMtransferCall
tool, you must initiate the call within a Squad context where all destination assistants are defined as squad members.
Here’s a minimal Squad configuration example:
json
{
"squad": {
"members": [
{
"assistantId": "your-main-assistant-id",
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "ERS_Clinic_CN",
"message": "Transferring you to ERS Clinic."
}
]
},
{
"assistant": { "name": "ERS_Clinic_CN" }
}
]
}
}
Action: Always use a Squad for these transfer flows—direct calls from the assistant menu will not work for assistant destinations.
[See Squads documentation for more details.](https://docs.vapi.ai/squads)
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Vapi Support Bot
05/29/2025, 4:32 PMVapi Support Bot
05/29/2025, 4:33 PMjson
{
"squad": {
"members": [
{
"assistantId": "your-main-assistant-id",
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "ERS_Clinic_CN",
"message": "Transferring you to ERS Clinic."
}
]
},
{
"assistant": { "name": "ERS_Clinic_CN" }
}
]
}
}
Always use the Squad setup for assistant-to-assistant transfers; direct calls from the assistant menu will not work for this use case.
[See Squads documentation for details.](https://docs.vapi.ai/squads)
Sources:
- [Squads documentation](https://docs.vapi.ai/squads)
- [Squads example](https://docs.vapi.ai/squads-example)Praveen Nair
05/30/2025, 12:48 PM