Trentâ„¢
03/12/2025, 12:40 AM"voicemailDetection": {
"provider": "twilio",
"voicemailDetectionTypes": [
"machine_end_beep",
"machine_end_silence",
"unknown",
"machine_end_other"
],
"enabled": info.info.agent.voicemail,
"machineDetectionTimeout": 45,
"machineDetectionSpeechThreshold": 2400,
"machineDetectionSpeechEndThreshold": 2400,
"machineDetectionSilenceTimeout": 6000
},
"voicemailMessage": info.info.agent.voicemail_message,
"model": {
"provider": "openai",
"model": "gpt-4o-mini",
"maxTokens": 250,
"temperature": 0.3,
"numFastTurns": 0,
"semanticCachingEnabled": false,
"emotionRecognitionEnabled": false,
"tools": [{ type: "voicemail" }],
"startSpeakingPlan": {
"waitSeconds": 0.8,
"smartEndpointingEnabled": true,
"customEndpointingRules": [
{
"type": "assistant",
"regex": ".*" + info.info.agent.voicemail_message + ".*",
"timeoutSeconds": 3
}
]
}
Call IDs:
7be128e6-2301-4c48-a852-31b1b727eeee
bc456f6a-dad6-4984-a9f8-0396dfaf2020
In my request, when I don't want to leave a voicemail, I am just removing the voicemail detection parts.Trentâ„¢
03/12/2025, 12:41 AMTrentâ„¢
03/12/2025, 12:41 AMVapi Support Bot
03/12/2025, 12:42 AMmachineDetectionSpeechEndThreshold
is set to 2400ms, which is higher than the recommended range of 1000-2050ms. This might be preventing proper detection of when speech ends in the voicemail greeting.
2. **Smart Endpointing**: You have smartEndpointingEnabled: true
which could potentially interfere with the voicemail detection process.
3. **Custom Endpointing Rules**: Your custom rules might be affecting how the system handles voicemail detection.
Here are some recommended adjustments:
json
"machineDetectionSpeechEndThreshold": 1200,
"smartEndpointingEnabled": false
Also, consider these additional troubleshooting steps:
1. **Increase Detection Timeout**: Your current timeout of 45 seconds should be sufficient, but you might want to verify it's not too long.
2. **Verify Detection Types**: Your detection types look good, but ensure they're all supported by Twilio.
3. **Check Logs**: Review the logs for the specific call IDs you provided to see if there are any error messages or warnings.
4. **Test Different Configurations**: Try removing the custom endpointing rules temporarily to see if that resolves the issue.
Let me know if these adjustments help or if you need further assistance! đŸ™‚
Sources:
- [Discord message about voicemail detection configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342555558984814653)
- [Vapi documentation on phone calling/voice mail detection](https://docs.vapi.ai/phone-calling/voice-mail-detection)
- [Discord message about voicemail detection issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334385998423130174)Vapi Support Bot
03/12/2025, 12:42 AMTrentâ„¢
03/12/2025, 12:43 AMTrentâ„¢
03/12/2025, 12:44 AMTrentâ„¢
03/12/2025, 12:59 AMTrentâ„¢
03/12/2025, 12:59 AMMason
03/12/2025, 1:02 AMTrentâ„¢
03/12/2025, 1:02 AMJeebs from eva.be
03/12/2025, 1:07 PMTrentâ„¢
03/12/2025, 1:24 PMTrentâ„¢
03/12/2025, 1:24 PMJeebs from eva.be
03/12/2025, 1:27 PMTrentâ„¢
03/12/2025, 1:30 PMJeebs from eva.be
03/12/2025, 2:05 PMTrentâ„¢
03/12/2025, 4:30 PMKyle Brunker
03/12/2025, 8:35 PMTrentâ„¢
03/19/2025, 6:39 PMTrentâ„¢
03/19/2025, 6:39 PM