URGENT! I need to disable voicemail!
# support
s
When Vapi tries to call and the person doesn't pick up. It goes to voicemail. And the voicemail messsage says to leave a message so vapi leaves a message. How can I tell vapi to ignore that command and end the call?
Copy code
{
  "assistantId": "f177bcaf-d97d-4c81-acb4-bfb836818474",
  "phoneNumberId": "79c39dfa-c2e8-4843-9917-2...",
  "customer": {
    "number": "{{23.phone}}"
  },
  "assistantOverrides": {
    "firstMessage": "Hi {{23.firstName}}! This is Sarah. Thanks for filling out our form for an instant quote. How's your day going?",
    "voicemailDetectionEnabled": false,
    "voicemailMessage": "",
    "endCallMessage": "Thank you for contacting us. Have a great day!",
    "endCallPhrases": [
      "goodbye",
      "talk to you soon"
    ]
  }
}
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**: * [Get Call]() * [List Calls]() * [Create Assistant]() * [Outbound Sales Example]() -----------------------------
### Answer To ensure that your Vapi assistant does not leave a voicemail message when the call is not picked up, you have correctly set
voicemailDetectionEnabled
to
false
in your JSON configuration. This setting should instruct the assistant to not detect voicemail and hence not leave a voicemail message. Additionally, by setting the
voicemailMessage
to an empty string, you have indicated that no message should be left. If the assistant is still leaving a message or not behaving as expected, ensure that the configuration is successfully being applied to the assistant and that there are no overriding settings at a higher level (such as at the organization or phone number configuration). Verify that the settings are properly saved and being used in the call setup. Should the issue persist, it might be necessary to look into detailed logs or specific configurations that might be influencing this behavior, as the basic configuration you've provided appears correct based on the general Vapi configuration guidelines [(1)]() .
s
Oh so I have to set voicemaildetection to true
s
Yeah, but it will lead to some other issues as well cause twilio voicemail detection sucks
v
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
i
I've noticed that too. What settings would you recommend?
s
Just disable it for now. Meanwhile we are working on our own model.
36 Views