Skan
12/11/2024, 1:24 AM{
"role": "tool_calls",
"time": 1733879991618,
"message": "",
"toolCalls": [
{
"id": "call_veNuxgVSXbirWOFOVvaPTMae",
"type": "function",
"function": {
"name": "transferCall",
"arguments": "{\"destination\": \"+16282988617\"}"
},
"isPrecededByText": true
}
],
"secondsFromStart": 27.04
}
{
"name": "transferCall",
"role": "tool_call_result",
"time": 1733880006174,
"result": "Success.",
"toolCallId": "call_veNuxgVSXbirWOFOVvaPTMae",
"secondsFromStart": 41.596
}
Skan
12/11/2024, 1:25 AMSkan
12/11/2024, 1:25 AMVapi
12/11/2024, 1:26 AMtransferCall
tool was triggered successfully, and the call was intended to be transferred to the destination number "+16282988617". However, the call ended unexpectedly with the reason "Assistant forwarded call."
This could be due to a few different reasons:
1. The destination number might be incorrect or not set up to receive forwarded calls.
2. There could be an issue with the transferCall
tool's configuration or with the network connectivity.
3. The call might be ending as designed, but the expected behavior might not be clearly understood.
To further investigate this issue, I would need to check the system logs associated with the call ID you provided and review the configuration of the transferCall
tool. Since I don't have the capability to directly access logs or configurations, I recommend reaching out to VAPI support with the call ID and the detailed description of the issue.
If you have already checked the destination number and confirmed that it is correct and capable of receiving calls, and if you have verified that the transferCall
tool is configured correctly according to the documentation, then contacting support would be the next best step.
Would you like me to guide you on how to contact VAPI support, or is there anything else I can assist you with?Vapi
12/11/2024, 1:27 AMVapi
12/11/2024, 1:27 AMtransferCall
tool was executed successfully, but the call ended unexpectedly with the reason "Assistant forwarded call."
Let's try to troubleshoot this issue:
1. Please check your Vici system to ensure it can handle SIP REFER messages, as this is often required for transferring calls.
2. If the forwardingPhoneNumber
attribute was used in your API call, consider omitting it or setting it to null or an empty string to see if that resolves the issue.
If you've already checked these and the problem persists, there might be an issue with the destination number or with the Vici system's configuration. If you need further assistance, please provide additional details or error messages from the logs, if available.Vapi
12/11/2024, 1:27 AMVapi
12/11/2024, 1:27 AMSkan
12/11/2024, 1:35 AMShubham Bajaj
12/14/2024, 5:10 AMphone-call-control
it is used for controlling how the transfer call should work. Hence, call was not transfered.
TLDR: remove phone-call-control
server event and try again.
https://cdn.discordapp.com/attachments/1316214019174174781/1317358069595770920/Screenshot_2024-12-14_at_10.38.55_AM.png?ex=675e64cf&is=675d134f&hm=306d189851f5592c3489ce23d95d312aef337342c7e48e1ec2b16e72d2936dd3&