Inbound Assistant hangs up instantly
# support
u
Hello, we configured an inbound assistant for our german phone number and the assistant hangs up instantly when we call him. I double checked the inbound webhooks at twilio, I tried another assistant, the problem still persists. This is a big issue for us, because a lot of people call our inbound number. Please help as soon as possible.
v
Hi there! 👋 I understand how frustrating it can be when your inbound assistant hangs up instantly, especially when you're expecting important calls. I don't have access to your specific configuration details or logs, but I can definitely help troubleshoot this issue based on similar problems others have experienced. Here are several potential causes and solutions for your inbound assistant hanging up instantly: ## Check Twilio Account Status Your Twilio account might be suspended. Log into Twilio and check for any notifications (bell icon) and check the email associated with your Twilio account for any messages about account status issues. [According to reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341461078189539441), a suspended Twilio account can cause an AI calling agent to play a "does not exist" message and hang up. ## Verify Webhook Configuration Ensure your Twilio webhook is correctly configured and pointing to the Vapi endpoint. [Some users](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343208312249913397) have experienced similar issues when their Twilio webhook was incorrectly configured (changed from Webhook to SIP). ## Check Assistant ID Configuration Make sure the assistant ID is correctly set on your phone number. [Documentation shows](https://docs.vapi.ai/phone-calling) that you need to provide an
assistantId
to a phone number for it to use that assistant when receiving inbound calls. ## German Phone Number Specific Configuration Since you're using a German phone number: - Ensure the phone number is in the correct E.164 format (e.g., +49XXXXXXXXXX) - Remember that Vapi only allows direct creation of US-based numbers, so international numbers must be imported from Twilio first - [According to Vapi documentation](https://docs.vapi.ai/free-telephony), you can bring in global numbers using the phone number import feature ## Check Server URL Configuration
Verify that your Server URL in the Vapi Dashboard is correct and accessible. When a call is received, Vapi uses this URL to fetch the assistant configuration from your server. ## Review SIP Configuration (if applicable) If you're using SIP connections, ensure the SIP trunk is correctly configured with the proper Credential ID, IP/Port, Authentication details, and that SIP Register is enabled with the proper Domain and Realm. ## Examine Logs Look at the detailed logs for both Twilio and Vapi to identify any error messages or patterns that might indicate the source of the problem. Would you be able to check any of these potential issues and let me know what you find? I'd be happy to help troubleshoot further based on what you discover. Sources: - [Reasons for Vapi inbound assistant hanging up instantly](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341461078189539441) - [Twilio integration issues causing Vapi inbound assistant to hang up](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343208312249913397) - [Vapi inbound assistant configuration settings](https://docs.vapi.ai/phone-calling) - [Vapi configuration for german phone number](https://docs.vapi.ai/free-telephony)
u
The inbound call is also not shown in the vapi call logs
s
Hey, can you share your phone number ID so I could take a look at what could have been going wrong for you?
u
4388d2dc-7f2a-4928-9fb3-1d6889e33698
s
Try 2-3 tests calls it should work by now.
u
Still not working, as soon as I talk, the assistant hangs up
Tried it now five times
s
I tried looking into your phone number's ID shared. But I couldn't find any logs related to it. I will suggest you assign a server URL to your phone number and then make a call. During this if any error occurs VAPI will send a debugging artifact to your server URL. Using these debugging artifacts you can find out what is going wrong for you if you are still blocked, even after checking debugging artifacts. Do let me know.
u
Tried it now, still does not work. The server url also does not get any data.
s
I tried hooking into your phone number and couldn't make any calls because I don't know why. So I'll suggest you to check with the Twilio team regarding this - why your phone number is unreachable. Then you will have a better idea what's going wrong for your phone number. If it was VAPI, then it could have played an error message, but definitely it's from Twilio's side, so you have to check with them.