twilio transfer
# support
c
I'm attempting to do a Twilio transferCall between two purchased numbers on Twilio. I am not seeing any logs in the VAPI console
v
message has been deleted
@calv-io-n It sounds like you're trying to initiate a call transfer between two numbers you've purchased on Twilio, but you're not seeing any activity logs in the VAPI console. To assist you better, I'll need a bit more information: 1. Have you already imported the Twilio numbers into VAPI? 2. Are you sure the call transfer was initiated correctly on Twilio's side? 3. Have you checked Twilio's logs to ensure the call transfer request was made? If you've confirmed that the numbers are imported and the call transfer was initiated correctly but still don't see logs in the VAPI console, there might be an issue with the integration or a delay in the logs appearing. Please ensure that your Twilio Account SID and Auth Token are correctly configured in VAPI. If you need further assistance with checking the integration or logs, please provide additional details, and I'll do my best to help you out. If you believe there might be a technical issue, you may need to reach out to support for more in-depth troubleshooting.
You can continue this conversation by mentioning me in the message.
c
I've only done one successful transfer between numbers one time. One twilio call created a child call, the rest didn't do anything.
Update to this - this is extremely flaky, going through the logs and found the following: the calls are not invoking the transferCall tool about 1 in every 30 is doing it. Only after repeatedly trying to gaslight me into believing it doesn't have the ability. It sometimes works, sometimes hangs up. I think this is a bug @Vapi @User . Similar issue in #1246367057046405130 https://discord.com/channels/1211482211119796234/1246367057046405130/1329157897887678494
v
@calv-io-n I'm sorry to hear that you're experiencing inconsistencies with the
transferCall
functionality. It seems like there might be an intermittent issue affecting the call transfers. Let's try to troubleshoot this step by step: 1. **Check for Error Messages**: Review the logs for any error messages that could indicate why the
transferCall
tool isn't being invoked consistently. 2. **SIP REFER Messages**: If you're using a system like Vici that requires handling of SIP REFER messages, ensure that it's configured correctly to accept and process these messages. 3. **API Attributes**: If you're using the
forwardingPhoneNumber
attribute in your API call, try setting it to null or an empty string as mentioned in the context, to see if that resolves the issue. 4. **Twilio Configuration**: Double-check your Twilio configuration to ensure that the numbers are set up correctly and that there are no issues with your Twilio webhook URLs or other settings that might affect the call transfer. 5. **Discord Channels**: Since you've referenced a Discord channel and a specific message, it might be helpful to check if other users are experiencing similar issues and if any solutions have been proposed there. If after these steps the issue persists, it would be best to reach out to the support team with detailed information about the problem, including any relevant logs and error messages. They will be able to provide more specific assistance and potentially identify if there is a bug that needs to be addressed. Would you like me to assist you with anything specific from the steps mentioned above?
c
The VAPI logs are not invoking the tool call it seems until repeated badgering.
s
@calv-io-n could you share the recent call id so i can take a look?
c
This one is successful at transferring after badgering:
1cc184a57-97e0-4c4c-98a7-8831407fb54d
This one is unsuccessful and "Assistant Ends Call Event" despite not having that ability to end calls enabled:
c71bd7df-2e3c-4d09-9496-b2e8438eafbf
s
@calv-io-n You have set the end call phrases and because of that when your assitant said
I'm sorry. I cannot complete the transfer. Please use the transfer call tool to forward this call to the customer team. Thank you
the call was terminated, remove the end call phrases and then try again.
Copy code
"endCallPhrases": ["goodbye", "thank you"],