Voicemail Twilio detection: Vapi sets ended reason...
# support
a
in some cases, voicemail is not identified when it is actually activated (~25% of our cases). This happens when receiving 'machine_end_other' parameter from Twilio response. Example: Twilio call SID: CA333e16a5bb22f23062d6ded142ca7700 Vapi call ID: af93ecd2-8b48-4393-9da7-c5c4130ff992 Vapi end of call report attached vapi_log.json https://cdn.discordapp.com/attachments/1326505505316933643/1326505505535033375/Twilio_status.png?ex=677fac05&is=677e5a85&hm=496b9076fe8d3ed12c5af4a58355843d9457b324b5b673c7a5f0e79d0dc08437& https://cdn.discordapp.com/attachments/1326505505316933643/1326505505849479169/vapi_log.json?ex=677fac05&is=677e5a85&hm=b175cd46f281415408ec3c805692bcfa990c4177881551a17438539e7e1bdd25&
v
@Anastasiia Kryhina I understand that you're experiencing issues with voicemail detection, particularly with the 'machine_end_other' parameter from Twilio not being recognized as voicemail in about 25% of cases. To address this, we can update the voicemail detection settings to include 'machine_end_other' in the list of voicemail detection types. Would you like me to proceed with updating the voicemail detection settings to include 'machine_end_other'?
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
a
Our current settings voicemailDetection: { provider: "twilio", // "machine_start", "human", "fax", "unknown", "machine_end_beep", "machine_end_silence", "machine_end_other" voicemailDetectionTypes: ["machine_end_beep", "machine_start", "machine_end_other"], enabled: true, machineDetectionTimeout: 45, machineDetectionSpeechThreshold: 2400, machineDetectionSpeechEndThreshold: 2400, machineDetectionSilenceTimeout: 7000, },
c
Just put a VM message.
a
We use a VM message, but the incorrect status corrupts our statistics
c
I would not use Twillio and use VAPI VM detection.
s
@Chowderr I cannot access the call recording but looking at the call logs I suggest using going through this doc for setting voicemail detection correctly https://www.notion.so/vapi/Handling-Voicemail-in-Calls-142008c8393f80f1abb8de8ecb17842d Do let me know if you require further help.
a
@Shubham Bajaj we believe that we correctly setup the call. Could you pleasew clarify why you think otherwise?
s
@Anastasiia Kryhina I apologize for the earlier message it was for you. Since I cannot listen to the call recording, I can only make suggestions based on your voicemail configuration and logs. If you could share the public call recording, I would be able to help you better. For now, I recommend including the two remaining voicemail detection options, and using the defaults timeouts.
Copy code
json
voicemailDetection: {
    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    
}
2 Views