Yoann C.
01/22/2025, 3:15 PMVapi
01/22/2025, 3:17 PMassistantOverrides.voicemailDetection object to fine-tune the voicemail detection.
Here's what you can do:
1. Set the provider to twilio since that's the service you're using.
2. Configure the voicemailDetectionTypes to the types of voicemail detection you want to enable. This could include AI-based detection or other criteria.
Once configured, the VAPI should automatically set the "call ended" reason to "voicemail" when the AI detects it. If you need to invoke a specific voicemail tool or function, please provide the name or details of the tool, and I can assist you further with that.
If you're looking to update the settings right now, could you please provide the specific voicemailDetectionTypes you'd like to enable? If you need more information on how to configure these settings, please ask support for more info on this.Vapi
01/22/2025, 3:17 PMYoann C.
01/22/2025, 3:46 PMYoann C.
01/22/2025, 4:31 PMVapi
01/22/2025, 4:31 PMvoicemailDetectionTypes to detect when a voicemail system has been reached (machine_end_beep and machine_end_silence). However, if you want to ensure that the "call ended" reason is explicitly set to "voicemail" when such a detection occurs, you might need to implement additional logic in your application to handle this.
Here's a general approach you could take:
1. Monitor the call events for voicemail detection triggers (machine_end_beep or machine_end_silence).
2. When the AI detects a voicemail, use your application logic to set the "call ended" reason to "voicemail".
This logic would typically be part of your call handling script or application code that interacts with the VAPI. If there is a specific tool or function provided by VAPI to set the "call ended" reason, you would call that function with the appropriate parameters.
Unfortunately, without a specific tool or function name provided for setting the "call ended" reason, I cannot give you a precise code example or function call. If such a tool exists within the VAPI, please provide its name or further details, and I can assist you with how to invoke it.
If you're unsure about the existence of such a tool or how to proceed, please ask support for more info on this.Chowderr
01/22/2025, 5:11 PMShubham Bajaj
01/23/2025, 6:36 AMYoann C.
01/23/2025, 4:24 PMShubham Bajaj
01/23/2025, 7:32 PMHam
01/23/2025, 9:40 PMShubham Bajaj
01/24/2025, 10:40 PM