marem
03/31/2025, 3:02 PMassistant.voicemailDetection = {
provider: "google",
voicemailExpectedDurationSeconds: 15,
}
Should we update this config?Vapi Support Bot
03/31/2025, 3:04 PMvoicemailExpectedDurationSeconds
parameter for Google's provider. However, I can definitely help with alternative approaches to improve your voicemail detection accuracy.
Based on the information I found, you have several options to reduce those false positives:
## Alternative Providers
You might want to consider switching from Google to one of these alternatives:
1. **Twilio**: Many users have found success with Twilio's voicemail detection. According to [Vapi's documentation](https://docs.vapi.ai/phone-calling/voice-mail-detection), you can configure it like this:
json
{
"voicemailDetection": {
"provider": "twilio",
"enabled": true,
"machineDetectionTimeout": 30,
"machineDetectionSpeechThreshold": 2400,
"machineDetectionSpeechEndThreshold": 1200,
"machineDetectionSilenceTimeout": 5000,
"voicemailDetectionTypes": [
"machine_end_beep",
"machine_end_silence",
"machine_end_other"
]
}
}
2. **Vapi's Built-in Tool**: [Vapi documentation](https://docs.vapi.ai/phone-calling/voice-mail-detection) shows you can use their LLM-powered voicemail detection tool:
json
{
"model": {
"tools": [{ "type": "voicemail" }]
}
}
3. **Combined Approach**: For best results, [Vapi's documentation](https://docs.vapi.ai/phone-calling/voice-mail-detection) suggests you can use both Twilio and Vapi's tool together:
json
{
"voicemailDetection": {
"provider": "twilio",
"voicemailDetectionTypes": [
"machine_start",
"machine_end_beep",
"unknown"
],
"enabled": true,
"machineDetectionTimeout": 15
},
"model": {
"tools": [{ "type": "voicemail" }]
}
}
## Improving Detection AccuracyVapi Support Bot
03/31/2025, 3:04 PMvoicemailDetectionTypes
, it's suggested to use "unknown" instead of "human" to avoid false positives, based on [user experiences shared in Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1305065394662408192).
Would you like me to provide more details on any of these options?
Sources:
- [Vapi's documentation on voicemail detection](https://docs.vapi.ai/phone-calling/voice-mail-detection)
- [Discord conversation about voicemail detection timeouts](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342555558984814653)
- [Discord conversation about voicemail detection types](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1305065394662408192)Sahil
03/31/2025, 10:51 PMSahil
04/01/2025, 4:05 PMmarem
04/01/2025, 4:09 PM