Call suddenly ends after triggering `voicemail` to...
# support
p
In 50% of outbound calls that go into voicemail, calls suddenly end without leaving a voicemail. Call ID:
a53fe9c7-4e21-4cbe-8460-f13d27024274
v
@progremir I'm sorry to hear that you're experiencing issues with the voicemail functionality. To assist you better, could you please provide me with more details? Specifically, I need to know if there's a specific message or signal that should be played or detected before leaving a voicemail, and if there have been any recent changes to your voicemail settings or scripts that might be affecting this.
You can continue this conversation by mentioning me in the message.
p
@User This are the voicemail related settings I'm using:
Copy code
python
{
...
"tools": [
    {
        "type": "voicemail",
        "async": False,
        "messages": [
            {
                "type": "request-complete",
                "role": "assistant",
                "content": voicemail_message,
            },
        ],
    }
],
"voicemailDetection": {
    "enabled": True,
    "provider": "twilio",
    "machineDetectionSpeechThreshold": 5000,
    "voicemailDetectionTypes": [
        "machine_end_beep",
        "machine_end_silence",
    ],
},
"voicemailMessage": voicemail_message,
}
@Vapi added more details
v
@progremir Thank you for providing the voicemail settings. It seems like you have the voicemail detection enabled and are using Twilio as the provider with specific detection types set for when the machine ends with a beep or silence. The
machineDetectionSpeechThreshold
is also set, which should allow for a period of silence before the voicemail message is played. To troubleshoot the issue where calls are ending without leaving a voicemail, we should check the following: 1. Ensure that the
voicemail_message
variable is properly defined and contains the correct message you intend to leave. 2. Verify that the
machineDetectionSpeechThreshold
is set to an appropriate duration. If it's too short, it might not be detecting the end of the machine's greeting properly. 3. Confirm that there are no issues with the Twilio service that might be affecting the voicemail detection. 4. Review any recent changes to the script or settings that could have inadvertently affected the voicemail functionality. If you have checked these points and the issue persists, we may need to look into the call logs for the provided Call ID
a53fe9c7-4e21-4cbe-8460-f13d27024274
to identify any patterns or errors that could be causing this behavior. If you need further assistance with this matter, please let me know, and I can help guide you through additional troubleshooting steps or escalate the issue to our technical support team.
p
@Vapi please escalate it 🙂
v
@progremir Sweet. Have a great day!