Ramy
08/06/2025, 1:36 PMVapi Support Bot
08/06/2025, 1:38 PMRamy
08/06/2025, 1:42 PMVapi Support Bot
08/06/2025, 1:44 PMjson
{
"function": {
"name": "transferCall",
"parameters": {
"destination": "+1234567890" // Department A
}
}
}
Double-check that each department's number matches the one in your tool configuration and that your prompt logic dynamically sets the correct value.
See: [Vapi documentation – Instructing the Assistant](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)
Source:
- [Vapi documentation: Call Forwarding](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)Ramy
08/06/2025, 2:14 PMVapi Support Bot
08/06/2025, 2:16 PMjson
{
"function": {
"name": "transferCall",
"parameters": {
"destination": "+1234567890"
}
}
}
Double-check that your assistant's prompt logic and the tool's parameter schema match, and re-save your assistant after making any changes.
See: [Vapi documentation – Instructing the Assistant](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)
Source:
- [Vapi documentation: Call Forwarding](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)Ramy
08/06/2025, 2:39 PMVapi Support Bot
08/06/2025, 2:41 PMIf the user asks for Department A, call the transferCall function with destination "+1234567890".
If the user asks for Department B, use destination "+0987654321".
Function Call Example:
json
{
"function": {
"name": "transferCall",
"parameters": {
"destination": "+1234567890"
}
}
}
Make sure your prompt and function call both specify the exact destination number as shown above.
[See Vapi documentation for more details.](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)
Source:
- [Vapi documentation: Call Forwarding](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)Ramy
08/06/2025, 3:10 PMMr_Dark
08/07/2025, 8:50 AMRamy
08/07/2025, 1:14 PMRamy
08/07/2025, 1:14 PMCrave
08/07/2025, 1:48 PMRamy
08/07/2025, 1:50 PMCrave
08/07/2025, 1:51 PMRamy
08/07/2025, 1:52 PMCrave
08/08/2025, 10:20 AMMr_Dark
08/11/2025, 5:27 PMChiranjeet Mishra
08/12/2025, 6:40 AM{
"type": "transferCall",
"destinations": [
// ... your existing destinations
],
"function": {
"name": "transfer_call_hcn",
"description": "Transfer calls to specific hotel departments",
"parameters": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"enum": [
"+442038143405",
"+441788227619",
"+442080595240",
"+441788227618",
"+447584702395",
"+442080595451"
],
"description": "The phone number to transfer the call to"
}
},
"required": ["destination"]
}
}
}Mr_Dark
08/12/2025, 9:22 AMMr_Dark
08/12/2025, 10:17 AMMr_Dark
08/13/2025, 7:24 AMChiranjeet Mishra
08/14/2025, 8:34 AMMr_Dark
08/14/2025, 10:37 AM7dbe278a-c599-4143-bc64-521ac476b8ec and 1bc0ef0c-43d6-472b-a1dd-19fff3792259 .
In the logs I see that the phonenumber is passed into the tool correctly.
With those calls I also tried setting the transfer plan to "Warm Transfer - Experimental"Chiranjeet Mishra
08/16/2025, 4:40 AM🟡 07:01:35:525 Couldn't Transfer Vonage Call. Error: No Vonage Call In Progress.
Could you provide some more details about type of transfer this was? For example, SIP to SIP or PSTN to SIP, etc.Mr_Dark
08/16/2025, 8:12 AMMr_Dark
08/19/2025, 8:13 AMChiranjeet Mishra
08/19/2025, 2:01 PMdynamicTransfer.
2. **Configure an Assistant**:
- Create or edit an assistant in the Assistants section.
- Add the dynamic transfer tool.
- Enable the transfer-destination-request server event and set your webhook URL.
3. **Webhook Server Setup**:
- Build your webhook server to handle transfer-destination requests and verify signatures.
- Customize routing based on conversation context.
For more details, check the [Dynamic call transfers documentation](https://docs.vapi.ai/calls/call-dynamic-transfers).
If you have issues after this, ensure your webhook server is set up correctly and check the Vapi dashboard logs for errors.