Hi guys, Hope you're all doing well! I have created an Vapi agent to make outbound calls but for some reason most of my calls fails to detect voicemails. Can someone help with the best ways to detect all the voicemail if possible? And is there a pre defined voicemail tool or do I have to create one? I have sent my configurations below.
**Twilio detection settings**:
`"voicemailDetection": {
"provider": "twilio",
"voicemailDetectionTypes": [
"machine_end_beep",
"machine_end_silence",
"machine_start",
"unknown",
"machine_end_other"
],
"enabled": True,
"machineDetectionTimeout": 15,
"machineDetectionSpeechThreshold": 2500,
"machineDetectionSpeechEndThreshold": 2050,
"machineDetectionSilenceTimeout": 2000,
},
"voicemailMessage": f"{selected_voicemail}",
"firstMessageMode": "assistant-waits-for-user"
Custom voicemail tool created in Vapi:
Tool ID: 7e6bb3aa-f1e3-48e5-acde-01485e639108
Text:
Listen for common voicemail prompts (e.g., 'leave a message after the tone', 'tone', 'signal', leave a message', leave message or 'record your message').
Wait for the beep or tone or silence before leaving your message.
Leave the VOICEMAIL.
End the call after leaving the voicemail.
Voicemail detection in prompt: I have an issue here, my agent ends the call without leaving the voicemail with this prompt.