N3squik
02/04/2025, 6:47 PMringing
to in-progress
. During voicemail it fails to detect voicemail and you cannot listen in since listenUrl
websocket connection cannot be established during that time. After about 1 minute, I can see the call status changes to ended
.
I tried to debug via Vapi's dashboard but no recordings have been saved (as seen on screenshot). For reference, here is one of many calls that failed to detect voicemail - cc9321cb-87e8-4980-801e-fe3951f8284f
.
Thank you in advance for your help 🙂
https://cdn.discordapp.com/attachments/1336407849806462976/1336407850360242249/image.png?ex=67a3b24c&is=67a260cc&hm=63924cc0e4f569f1e3b6aa3146404ccb36e20e8512031668c29c7c303a9d8518&Vapi
02/04/2025, 6:50 PMVapi
02/04/2025, 6:50 PMvoicemailDetection
is properly configured with the enabled
property set to true
?
2. Have you specified the provider
for the voicemail detection? If so, which provider have you selected?
3. Are the voicemailDetectionTypes
set to include the default values or have you customized them?
Once I have this information, I'll be able to provide more targeted assistance. If there's a configuration issue, we can address it directly. If everything seems to be configured correctly, we may need to investigate further or escalate the issue to our technical support team.
In the meantime, if you haven't already, please ensure that your webhook for voicemail detection is correctly set up to receive and handle the events, and that your network configurations allow for the listenUrl
websocket connection to be established.
Thank you for providing the call ID cc9321cb-87e8-4980-801e-fe3951f8284f
. This will be helpful for the support team to trace the call logs and diagnose the issue. If you need immediate assistance, you can also reach out to our support team with this call ID for a more in-depth investigation.Vapi
02/04/2025, 6:50 PMN3squik
02/04/2025, 7:00 PM"voicemailDetection": {"provider": "twilio", "enabled": true}
3. "model": {"tools": [{ type: "voicemail" }]
Shubham Bajaj
02/05/2025, 8:50 PMlogs
🔵 18:39:10:696 Call cc9321cb-87e8-4980-801e-fe3951f8284f
Waited 300s But Transport Never Connected.
@N3squik this call failed because twilio never connected with us, can you try making an another call?N3squik
02/06/2025, 12:44 PM3949ce53-c73f-4aba-96f9-795bf2f87bb6
For context, it does not happen when I answer the call. On pressing a random key number to skip Twilio's trial account message after answering the phone, the audio starts to stream fine.Shubham Bajaj
02/06/2025, 2:36 PMN3squik
02/06/2025, 2:55 PMin-progress
and is stuck for couple minutes before changing status to ended
. Example call id "ae848f0a-e140-45bd-ac9a-7cdb2828cb33".
Is this really how Vapi handles unanswered calls? I will end up reaching the concurrency limit really quickly because I have a bunch of calls stuck "in progress", waiting for the timeout.
Also, for all such calls the ended reason is "Unknown Error", just seems like a bug.N3squik
02/10/2025, 12:13 PMShubham Bajaj
02/10/2025, 12:59 PMapi.vapi.ai/call/phone
.
2. We instruct Twilio to call the person.
3. The person picks up.
4. Twilio is supposed to send us wss://phone-call-websocket.vapi.ai
, but this isn’t happening.
logs
🔵 14:49:02:289 Call ae848f0a-e140-45bd-ac9a-7cdb2828cb33
Waited 300s But Transport Never Connected.Shubham Bajaj
02/10/2025, 1:00 PMunknown-error
?N3squik
02/15/2025, 9:56 AManswered
, finish the call and respond to Vapi with completed
.
The unknown error happens for every call I make and dont answer/hang up. Here is another call_id - b3e0efd1-dfb7-43c9-800d-5089cf55f9d6
.
Could it be potentially because I am using trial version of Twilio? The reason I am saying is because when I answer the phone, I need to press any key before Twilio connects to Vapi.Vapi
02/15/2025, 10:55 PMN3squik
02/17/2025, 5:54 PMShubham Bajaj
02/20/2025, 12:18 AMcustomer-busy
or customer-did-not-answer
> Correct my if I am wrong, Twilio should detect its Voicemail when the call answered, finish the call and respond to Vapi with completed.
Your correct here.
> Then what do you suppose? I still seem to get it this error, does everyone has it too?
No everyone doesn't have this.Shubham Bajaj
02/20/2025, 12:23 AMN3squik
02/20/2025, 9:21 AMShubham Bajaj
02/20/2025, 2:35 PM@Shingokuga
02/21/2025, 6:27 PMN3squik
02/21/2025, 6:58 PM@Shingokuga
02/21/2025, 6:58 PMN3squik
02/25/2025, 9:41 PMvoicemailDetection: {
provider: "twilio",
voicemailDetectionTypes: [
"machine_start",
"machine_end_beep",
"machine_end_silence",
"unknown",
"machine_end_other"
],
enabled: true,
machineDetectionTimeout: 15,
machineDetectionSpeechThreshold: 2500,
machineDetectionSpeechEndThreshold: 2050,
machineDetectionSilenceTimeout: 2000
}
Still no luck 😦@Shingokuga
02/27/2025, 9:03 PMShubham Bajaj
02/27/2025, 10:35 PMN3squik
02/28/2025, 1:02 PMN3squik
02/28/2025, 1:17 PMShubham Bajaj
03/03/2025, 5:25 AMShubham Bajaj
03/03/2025, 5:25 AMdt5411
07/08/2025, 10:08 PMVapi
07/11/2025, 5:55 AM{
"voicemailDetection": {
"provider": "openai",
"enabled": true,
"backoffPlan": {
"startAtSeconds": 3,
"frequencySeconds": 6,
"maxRetries": 4
}
}
}
dt5411
07/18/2025, 3:26 AM