Vapi not hanging up call in voicemail
# support
s
How do i get vapi to hang up the call after the voicemail message is complete?
v
Hi @Sajitsu, 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**: * [Update Assistant]() * [Get Call]() * [Create Assistant]() * [List Assistants]() -----------------------------
### Answer To ensure that Vapi hangs up the call after the voicemail message is complete, you should set the
endCallMessage
to a message that indicates the end of the call and enable the
endCallFunctionEnabled
option. You can achieve this by updating your assistant's settings accordingly. Here is how you might configure it:
Copy code
json
{
  "endCallMessage": "Thank you for your call.",
  "endCallFunctionEnabled": true
}
[(1)]() This configuration ensures that after the voicemail message is played, the system will automatically hang up the call. Make sure
voicemailDetectionEnabled
is set to
true
, which is the default setting, to detect when the call is going to voicemail. For more detailed configurations and options, you can refer to the official documentation on updating assistant settings .
Got it. Tagging @User for additional help.
s
voiceMailDetection: True
and it will do the job.
v
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
3 Views