Voicemail detection should run before intro, inter...
# support
l
Context: The intro message is playing, then voicemail detection is run, then the voicemail default message is played -- all during a voicemail. Issue: Voicemail detection runs in intervals so it's figuring out we are in a voicemail after the intro message plays. I can turn up the interval checking but a better solution would be to check for voicemail BEFORE the agent speaks, not just periodically. Call ID: https://dashboard.vapi.ai/calls/019a84a7-b9b0-7997-b2ed-0458d9821d6d https://cdn.discordapp.com/attachments/1439058726639112383/1439058728098857164/image.png?ex=6942aaa1&is=69415921&hm=419a0c801da2871fba2b6dbf26f0f89ed96b83945a34a53ab3730d02ed5502ce&
v
To ensure voicemail detection runs before your intro message, set
firstMessageMode
to
"assistant-waits-for-user"
. This delays the assistant's speech until voicemail detection completes:
Copy code
json
{
  "firstMessageMode": "assistant-waits-for-user",
  "voicemailDetection": {
    "provider": "vapi",
    "backoffPlan": {
      "startAtSeconds": 1,
      "frequencySeconds": 2.5,
      "maxRetries": 6
    }
  }
}
This approach prevents the intro from playing until voicemail detection has a chance to run first ([documentation](https://docs.vapi.ai/calls/voicemail-detection)). Source: - [Voicemail Detection | Vapi Documentation](https://docs.vapi.ai/calls/voicemail-detection)
l
But i want the assistant to speak first if the call is picked up
Regular calls should not be impacted
REOPEN
REOPEN
c
Voicemail detection will be getting some updates in the upcoming releases. This is expected to improve your configuration
2 Views