Is a Voicemail Message required for Voicemail Dete...
# support
r
I’m setting up Voicemail Detection so that endedReason is correctly logged as "voicemail". I don’t want the assistant to leave a voicemail message, but I’ve noticed detection only seems to work when the Voicemail Message field is not blank. A few examples, where Voicemail Detection is on, but Voicemail Message is blank: - Call ID: d2296d53-6d08-443c-8eca-10b100b58f7c | endedReason: assistant-ended-call - Call ID: 8604683f-6a85-4ba4-8962-43a6021ae7eb | endedReason: customer-did-not-answer - Call ID: 44bfff7a-d38c-4ceb-b861-c2e559410fd2 | endedReason: customer-did-not-answer - Call ID: 563a7912-09d6-4b46-930b-275b46128ad7 | endedReason: customer-did-not-answer - Call ID: 1f18bc96-0774-4eb9-90ab-8a5137693030 | endedReason: customer-did-not-answer Is this the expected behavior (by design), or is it a bug? Any guidance would be greatly appreciated!
c
Hi chenrob1, To use voicemail detection effectively with Vapi, setting a voicemail message in your configuration is not strictly required, but it is beneficial for ensuring your assistant responds correctly when a voicemail is detected. Here's a simple configuration setup you can follow using Vapi's voicemail tool: 1. Configure Voicemail Tool: - Add the
voicemail
tool to your assistant configuration. 2. Define Voicemail Message: - Even if not mandatory, including a message provides a clear response once voicemail is detected. This can be done using text-to-speech or linking to a pre-recorded audio file. Example configuration for text-to-speech:
Copy code
json
   "messages": [
     {
       "type": "request-start",
       "content": "Hi, this is {{company}}. {{message}}. Please call us back at {{phone}}."
     }
   ]
3. Detection and Delivery: - When voicemail indicators (like "leave a message" or "voicemail") are detected, the configured message is delivered, providing a professional and clear response to potential clients or contacts. For more details, see the [voicemail tool documentation](https://docs.vapi.ai/tools/voicemail-tool) and consider tuning detection parameters to best suit your needs.
h
this is a bug in end of call reporting, customer did not answer can not be true if there is a recording of something answering
c
We’re really sorry about this it looks like there’s a bug in the end-of-call reporting. The “customer did not answer” status shouldn’t appear if there’s a recording showing that something actually answered the call. Thank you for providing this information. We’ll be looking into it further to better understand the situation and determine the next steps. Our team will update you as soon as we have more details, and we truly appreciate your patience and cooperation in the meantime.
2 Views