Assistant hangs up immediately
# support
s
When I call the assistant, it says its own firstMessage (not something I configured) and then simply hangs up. This keeps happening. 10f13d3a-e338-4cf0-b54f-0a3296f64a8b
v
Hi there! I understand how frustrating it can be when your assistant isn't working as expected. I don't have details about the specific message your assistant is saying, but I can definitely help troubleshoot why your Vapi assistant is hanging up immediately after saying its first message (which isn't what you configured). Based on the call ID you provided (e6df574f-9b5c-4e99-b218-d9eecb75b281), I can suggest several potential causes and solutions: ## Possible Causes & Solutions ### 1. Assistant ID Configuration Issue There might be an issue with the assistant ID configuration on your phone number. According to [troubleshooting information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864), it's necessary to assign an assistant to your phone number to utilize Voice AI with that number. ### 2. FirstMessage Configuration The firstMessage might not be properly configured. To fix this:
Copy code
javascript
const assistant = {
  // ... other configurations ...
  firstMessage: "Your custom message here",
  firstMessageMode: "assistant-speaks-first", // or another supported mode
};
### 3. Caching Issues According to [user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342338583721414677), this could be due to a caching error. Try changing your first message to something completely different, then change it back to your original message after a while. ### 4. Server Event Interference The server event 'phone-call-control' can [interfere with Vapi's call functionality](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330092161835733013), potentially leading to unexpected call behavior. Try removing this from your assistant configuration. ### 5. Insufficient Credits
Check if you have [sufficient credits](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335176375354523741) on your account, as insufficient credits could cause the assistant request to fail. ### 6. Webhook Configuration If you're using Twilio, ensure the [Twilio webhook](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343208312249913397) is pointing to Vapi's server and that your phone number is properly added to Vapi. Would you like me to provide more specific troubleshooting steps for any of these potential issues? Sources: - [Vapi assistant hangs up immediately after firstMessage](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334919245468799007) - [Common issues with Vapi assistant configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864) - [How to configure firstMessage in Vapi assistant](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340603345701830736) - [Meaning of ID e6df574f-9b5c-4e99-b218-d9eecb75b281 in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334730067623809065)
s
@User
The assistant says a random message that I didn't configure it to say then hangs up.
v
"firstMessage": "It's a great Day at Bassett Kitchen & Bath, my name is Olivia, what type of information can I get you?", 🔵 18:26:55:396 Say Request...102 (say: "It's a great Day at Bassett Kitchen & Bath, my name is Olivia, what type of information can I get you?", interruptible: false, audio: false, endCallOnError: true, addToModelOutput: true, endCallAfterSpoken: false) "endedReason": "assistant-said-end-call-phrase", Hi Saien, just remove the assistant's end and call phrases from your assistant so that your call doesn't get ended unexpectedly. The first message has been set by you and it's coming from your assistant itself. I just took a look at your assistant config. Let me know if you have more questions or if you require further help.
s
I’ll try tweak it tomorrow morning and get back to you
So my client ended up updating the first message but it wasn't showing up on my end... Hence the confusion
v
Marking this ticket as Solved ✅
6 Views