Voicemail during outbound call
# support
h
Hello, I am wondering how to manage what the assistant says when reaching a customer's voicemail during an outbound call. Is there a specific field to hardcode a message or a function to detect than the assistant reached the voicemail?
v
Hi @Hugo Danet, 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**: * [Outbound Sales Example]() * [List Assistants]() * [Update Assistant]() * [Create Assistant]() -----------------------------
### Answer Hello! Yes, when setting up your assistant for an outbound call in Vapi, you can specify what the assistant should say if the call is forwarded to a voicemail. This is managed through the
voicemailMessage
field in your assistant's configuration. You can hardcode a specific message that your assistant will say if it detects that the call has reached the voicemail. Here's an example of how you might configure this:
Copy code
json
{
  "voicemailMessage": "Hi, this is Jennifer from Bicky Realty. We were just calling to let you know..."
}
[(1)]() Additionally, Vapi automatically detects when a call is forwarded to voicemail using its built-in voicemail detection functionality, so there's no need for you to manually implement a function to detect this. The system handles it based on the voicemail detection types specified in your assistant settings. If you need further customization or have specific requirements around voicemail detection and handling, you might consider adjusting the
voicemailDetectionTypes
to suit your needs better. This setting allows you to define what kinds of voicemail systems (e.g., machine start, human, etc.) the assistant should recognize and respond to. Let me know if you need more details on how to set this up or if you have other questions!
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
11 Views