https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, think i am calling a user using the retell ai ...
# ❓・ai-evy-support
j
@AI Evy Hi, think i am calling a user using the retell ai if the user not picks the pone its non answered can i leave a voice not there is there a option for it
a
Thanks for tagging me @jeevacw. I'll look through relevant sources and get back to you shortly.
### Answer Yes, Retell AI has voicemail detection and handling capabilities [(1) ]() . You can configure your agent to leave a message when it detects a voicemail . To set this up: 1. **Enable Voicemail Detection**: Navigate to your agent settings → call settings and enable "Voicemail Detection" 2. **Choose "Leave a message"**: Select this option instead of "Hang up" 3. **Configure your message**: You have two options : - **Static message**: The agent will leave a pre-recorded message, like "Hi, this is {{your name}}, please give us a callback tomorrow at 10am." - **Prompt**: The agent will leave a message generated dynamically based on instructions you provide, like "summarize the call and ask user to call back" Dynamic variables are supported for both static messages and prompts . The system will wait for the agent's turn to speak before leaving the message . **Important notes**: - Voicemail detection runs for the first 3 minutes of the call - The agent will only leave a message when it's the agent's turn to speak - If voicemail is detected and the action is taken successfully, the call will have a disconnection reason of
voicemail_reached
- There's generally under 100ms of latency impact when using voicemail detection You can also configure this via the API using the
voicemail_option
parameter when creating or updating an agent [(2) ]() [(3) ]() [(4) ]() [(5) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy Is the voicemail is leved only if there is voicemail detection
a
Thanks for the follow-up, @jeevacw. I'll get back to you soon.
### Answer Yes, the voicemail message is only left when voicemail is detected [(1) ]() . The system must first detect that it has reached a voicemail before it can leave a message . Here's how it works: 1. Voicemail detection must be enabled in your agent settings 2. The system runs voicemail detection continuously within the first 3 minutes of the call 3. Only when voicemail is detected will the agent leave a message if you've configured the "Leave a message" option 4. The agent waits for its turn to speak before leaving the message If voicemail detection is disabled or if no voicemail is detected, the agent will not leave a message and will continue with the call as normal . When voicemail is successfully detected and a message is left, the call will have a disconnection reason of
voicemail_reached
.
​ To learn more, see the sources I considered: [[1] Handle voicemail](https://docs.retellai.com/build/handle-voicemail) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy What will happen if there is no voice mail option is just there will no answer replay?
a
Thanks for the follow-up, @jeevacw. I'll get back to you soon.
### Answer If there is no voicemail option configured or if voicemail detection is disabled, the agent will continue with the call as normal [(1) ]() . The system will not leave any message and will proceed with the regular conversation flow . When voicemail detection is not enabled or no voicemail is detected, the agent treats the call like a regular answered call and will begin the conversation normally. If no one actually answers (the phone just rings without going to voicemail) , the call will eventually end based on your agent's other timeout settings like
max_call_duration_ms
[(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() or
end_call_after_silence_ms
. The key point is that voicemail detection only runs for the first 3 minutes of the call [(1) ]() . If the voicemail detection timeout is reached without detecting voicemail, the system will stop the voicemail detection and continue with the call as normal .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.