Assistant Keeps Closing Calls
# support
j
Keep getting "assistant said end call phrase" when it didn't and call gets dropped. @Vapi
v
I understand that you're experiencing the "assistant said end call phrase" error, which is causing your calls to drop unexpectedly. This issue typically arises when the assistant mistakenly recognizes a phrase that triggers the end of the call. Here are some steps you can take to resolve this: 1. **Check Configuration**: Ensure that the
endCallFunctionEnabled
setting is set to true. This is crucial for proper call termination handling. 2. **Modify End Call Behavior**: Adjust the assistant's behavior to prevent it from repeating the end call message. You can do this by: - Removing the end-call message. - Specifying conditions in the user prompt to trigger the end call when the caller says phrases like "goodbye." 3. **Introduce Conditional Logic**: Implement logic that allows the assistant to end the call if there is no further response from the caller after a certain period. 4. **Network and API Checks**: Sometimes, network issues can affect how the assistant processes commands. Ensure your network is stable and check for any API-related issues. If these steps don't resolve the issue, please let me know, and we can explore further options! 😊 Sources: - [Understanding and Resolving the "Assistant Said End Call Phrase" Error in Vapi](https://docs.vapi.ai/calls/call-ended-reason) - [Troubleshooting Steps to Prevent Calls from Being Dropped in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332133296347549797)
j
@User endCallFunctionEnabled is off so it technicaly shouldnt close the call
a
Hey @jorgemtzvega Apologies for the delay in response! To help track down this issue, could you share: - The call ID This would really help us figure out what went wrong!
j
I have several cases. This is just a sample of many: 268d9920-3e9d-4d2a-b013-28a06b3cc4c2 709d9aa2-8b17-472c-b759-2b662f94480f 3710fb9e-f5f0-4de0-bab9-fc6443c9a991 4028fba8-3ea9-4b59-ba24-2ee357492778
a
The assistant and call phrases are added by default, which is why they are confusing you. Here is an API request using it you can remove from your assistant, but you have to replace your private key and assistant ID here.
Copy code
curl -X PATCH https://api.vapi.ai/assistant/insert-your-assistant-id-here \
     -H "Authorization: Bearer insert-your-priate-key-here" \
     -H "Content-Type: application/json" \
     -d '{
  "endCallPhrases": null
}'
2 Views