yelping-magenta•17mo ago
Vapi hangs up after "transfer"
I have written a prompt in which the callbot should transfer the user to a live agent when the user requests this. When speaking to the bot it seems they understand, however after saying "transferring now" it justs ends the call.
When looking at the call log in the dashboard I can see it has transferred to the number. Any idea what is going wrong?
CallID: 4d4ad741-84b5-47d2-a0c2-d0b53777d150

6 Replies
Hi @DaVenthus, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Call Forwarding
* Call Ended Reason
* Function Calling
* Outbound Sales Example
-----------------------------
Answer
It sounds like you are experiencing an issue with the call transfer process where the call ends unexpectedly after the transfer command is issued by the assistant. This issue might be related to how the assistant's behaviors are configured or how the
transferCall
function behaves under certain conditions.
One possible explanation could be related to how the call forwarding is set up within your assistant's configuration. If the forwardingPhoneNumber
is used, the assistant should transfer the call correctly, but if there's an issue with the configuration or with the network connectivity of the forwarding number, it could result in the call ending (1) .
Another potential cause could be related to an assistant-related error, such as assistant-forwarded-call
, which indicates the assistant successfully transferred the call, but there might be other underlying issues not visible in the dashboard that could cause the call to drop immediately after transfer (2) .
To troubleshoot this issue, ensure that:
- The forwardingPhoneNumber
is correctly configured and active.
- No network issues could be affecting the transfer process.
- The assistant's logic for transferring the call is set up correctly and there are no errors in the assistant's configuration that might cause the call to end prematurely.
If the problem persists, reviewing the detailed logs available through the Vapi dashboard and checking for any error messages related to the call transfer might provide more insight into what is going wrong.
For detailed guidance on setting up call forwarding and handling potential issues, you might want to refer to the Call Forwarding documentation (1) .Got it. Tagging @Vapi Team for additional help.
flat-fuchsia•17mo ago
Yeah, I have the same issue. I'm using the transfer call tool calling and i'm using Twilio number.
xenophobic-harlequin•17mo ago
There is no error from our side, which means the call has been transferred correctly. To troubleshoot this issue, you need to check a couple of things:
I) Check your Twilio logs and see if there is any problem with it.
II) Try to make a call directly using your Twilio credentials to your phone number and see if it is working correctly or not.
If you have bought the number from Twilio, please send me your phone number along with the latest call ID where call forwarding was triggered. I will check the logs from my side.
yelping-magentaOP•17mo ago
@Sahil Thanks for your reply Sahil, I haven't had time to look at it the past weeks. Will Send you a DM with the info 🙂