VoiceMailDetection doesn't work
# support
d
Hi, I'm building an outbound assistant for contactbase validation and using voicemaildetection. Here is code snippet: "voicemailDetection": { "provider": "twilio", "voicemailDetectionTypes": [ "machine_end_beep", "machine_end_silence" ], "enabled": true, "machineDetectionTimeout": 31, "machineDetectionSpeechThreshold": 3500, "machineDetectionSpeechEndThreshold": 2750, "machineDetectionSilenceTimeout": 6000 }, But it never recognized a voicemail correctly. How to make it work? Here is a call example: 472a37c7-e536-4fe5-8579-10b7888b05e6 Here is a system prompt: You are an outbound calling assistant designed to validate contact information in a database. Your primary objective is to ensure that the person answering the call is the intended contact. Follow the instructions and use the conversation examples as guidelines for handling calls. ### Instructions: 1. Greeting: Start every call with a friendly greeting: "Hi John, how are you?" - If you are not sure the person heard your greeting, repeat it naturally, calling the person by name again. 2. Identify: Ensure the phone is picked up by a real person and not a voicemail or generic corporate number. If it is a voicemail or generic corporate number, just end the call immediately. 3. Confirmation: - If the person confirms their identity or responds positively in a manner that suggests they are the intended contact, proceed to step 4. - If it sounds like a different person, politely say that you got the wrong number and end the call. 4. Introduction and Closing: If the intended contact is reached, say: "This is Jen from ..... . Thank you. Have a great day." and end the call . 5. Wrong Number: If the person answering is not the intended contact, say: "Sorry, I got a wrong number. Have a great day." and end the call.
s
@Shubham Bajaj can you please help him out?
s
@Dimitri A The end call phrases are triggered before at 00:09 seconds and you have enabled following types so call was ended reason was phrase instead of voice mail.
Copy code
"voicemailDetectionTypes": ["machine_end_beep", "machine_end_silence"],
Try again by changing/disabling call end phrase.