
Voicemail detection
The system runs voicemail detection continuously within a timeout window. You can choose what happens when a voicemail is detected:- Hang up — disconnect immediately, even if the voicemail greeting is still playing.
- Leave a message — wait for the agent’s turn to speak, then deliver a message. Supports dynamic variables.
Enable voicemail detection
Navigate to your agent settings, then open Call Settings and enable Voicemail Detection.
Choose voicemail behavior
Select one of the following options:
- Hang up if reaching voicemail: The agent disconnects when it detects a voicemail.
- Leave a message if reaching voicemail: The agent waits for its turn to speak, then leaves a message. Choose between:
- Prompt: A dynamically generated message based on instructions you provide, such as
Summarize the call and ask the user to call back. - Static Sentence: A fixed message, such as
Hey {{user_name}}, sorry we could not reach you directly. Please give us a callback if you can.
- Prompt: A dynamically generated message based on instructions you provide, such as
IVR hangup
When enabled, the system detects if your outbound call reaches an IVR (automated phone menu) system and automatically hangs up the call.IVR hangup is separate from IVR navigation, which allows your agent to interact with and navigate through IVR menus using DTMF tones.
FAQ
The voicemail isn't being hung up even though hang up is enabled. What's wrong?
The voicemail isn't being hung up even though hang up is enabled. What's wrong?
This most likely means the call is being classified as an IVR rather than a voicemail. Because the two detection types are handled separately, voicemail hang up will not trigger in this case. Enable IVR Hangup in your agent’s Call Settings to handle this scenario and automatically disconnect when an IVR system is detected.
Will voicemail or IVR detection run for the entire call?
Will voicemail or IVR detection run for the entire call?
No, voicemail and IVR detection will only run for the first 3 minutes of the call. Please contact support@retellai.com if you need to extend this.
Is there a latency impact when using voicemail detection?
Is there a latency impact when using voicemail detection?
Voicemail detection is optimized for real-time use cases and generally adds under 30ms of latency.
How can I tell if a call reached a voicemail or IVR?
How can I tell if a call reached a voicemail or IVR?
If voicemail is detected, the call will have a disconnection reason of
voicemail_reached. If IVR is detected, the disconnection reason will be ivr_reached.If the voicemail greeting keeps playing, will the agent hang up?
If the voicemail greeting keeps playing, will the agent hang up?
Yes. When set to hang up, the agent disconnects immediately upon detection, regardless of whether the voicemail greeting is still playing.
If the voicemail greeting keeps playing, will the agent leave a message?
If the voicemail greeting keeps playing, will the agent leave a message?
No. When set to leave a message, the agent waits for its turn to speak before delivering the message.