For some reason when I trigger an outbound call, I...
# ask-ai
m
For some reason when I trigger an outbound call, I hear both my voice agent AND my phone’s voicemail… what’s going on?
t
Thanks for reaching out, Alexander. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It sounds like the issue happens when the call reaches a voicemail system, and the voice agent starts speaking either before or during the voicemail greeting. Don’t worry—LiveKit offers voicemail detection features that can really help with this. To get this working smoothly, you’ll want to make sure your agent is set up to: • Detect voicemail using LiveKit's voicemail detection tools. • Wait for the voicemail greeting to finish before responding. • Use the
detected_answering_machine
function tool to handle voicemail properly, whether that’s hanging up or leaving a message. Also, combining voicemail detection with silence detection can make things even more reliable. If you’d like, I’m here to guide you through setting these up—just let me know! Sources: Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik... | README.md | How to detect and handle silence during calls | Community & Support | livekit/livekit_composite | DeepWiki | Agents telephony integration | LiveKit Docs