Call Disconnect in 10 sec, with iPhone voicemail a...
# support
b
Hey all, do anyone noticed that VAPI is sending incorrect events to Twilio to disconnect the call when call goes to voicemail on iPhone. Issue - Everything is working fine if telephone provider's voicemail is enabled, but if you enable iPhone's inbuilt voicemail, then the calls gets disconnect in exact 10 seconds. I checked twilio logs, VAPI send the hangup event to Twilio as soon as it identified the beep event. using customVoimail tool, along with following settings - "voicemailDetection": { "provider": "twilio", "enabled": true, "machineDetectionTimeout": 31, "machineDetectionSpeechThreshold": 3500, "machineDetectionSpeechEndThreshold": 2750, "machineDetectionSilenceTimeout": 6000, "voicemailDetectionTypes": [ "machine_end_beep", "fax", "machine_start", "machine_end_other", "machine_end_silence" ] }
v
@bankai I'm here to help! It sounds like you're experiencing an issue where VAPI is sending a hangup event to Twilio when an iPhone's inbuilt voicemail is detected, causing the call to disconnect after exactly 10 seconds. This could be due to the voicemail detection settings you're using. The settings you've provided include a variety of
voicemailDetectionTypes
, which means VAPI is configured to detect different types of machine answers, including the end beep of a voicemail. If the iPhone's voicemail beep is being incorrectly identified as a
machine_end_beep
, VAPI might be prematurely sending a hangup event to Twilio. One thing you could try is adjusting the
machineDetectionSpeechThreshold
,
machineDetectionSpeechEndThreshold
, and
machineDetectionSilenceTimeout
parameters to better suit the characteristics of the iPhone's voicemail beep. This might prevent false positives. However, if you've already tried adjusting these settings without success, it might be a more complex issue that requires further investigation. In that case, please provide more details or logs if possible, so we can better understand the problem and assist you further. If the issue persists, you may need to reach out to support for more in-depth troubleshooting.
You can continue this conversation by mentioning me in the message.
seems it is iPhone's voicemail beep is being incorrectly identified as a "machine_end_beep", so what is the potential fix for that.
but machine_end_beep is valid twilio amd signal, so it should be there, but it is handled incorrectly in VAPI -
In Twilio Answering Machine Detection (AMD), machine_end_beep is a result that indicates that a machine answered a call and the voicemail greeting ended with a beep
s
@bankai can you share the call id?