Vapi hangs up after "transfer"
# support
d
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 https://cdn.discordapp.com/attachments/1244764637895983144/1244764638105702550/image.png?ex=66564ce8&is=6654fb68&hm=f9208c32fb56e73cce4e996536d3860114794b968e940cea1bf14073f72d08c7&
v
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 @User for additional help.
a
Yeah, I have the same issue. I'm using the transfer call tool calling and i'm using Twilio number.
s
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.
d
@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 🙂
4 Views