Outbound calls: first message played when voicemai...
# support
a
Example, vapi ID: b567ae6d-9713-4130-b62d-185166225d92 Hi there! Whenever we make an outbound call that reaches someone's voicemail, it plays the
firstMessage
and then plays the voicemail
voicemailMessage
. How can we avoid to play the
firstMessage
in those scenarios (outbound call to a voicemail) and play only the
voicemailMessage
? Note that I'm using those parameters:
Copy code
firstMessageInterruptionsEnabled:true
firstMessageMode:"assistant-waits-for-user"
beepMaxAwaitSeconds:0
with both a provided
firstMessage
and
voicemailMessage
, with
vapi
as
voicemailDetection
Thank you!
c
Hey! To help track down this issue, could you share: \- The call ID \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
a
Call ID: b567ae6d-9713-4130-b62d-185166225d92 Both first message and voicemail are played, whereas only voicemail should be played since the outbound call reaches the voicemail.
c
Hey Adeb, thanks for sharing your details. Our team will look into it and get back to you soon with an update.
a
any update?
c
You will have to tweak the settings for the voicemail detection. We also suggest changing the firstMessage mode for the assistant like the example provided below:
Copy code
{
  "firstMessageMode": "assistant-waits-for-user",
  "voicemailDetection": {
    "provider": "openai", // or "google" 
    "backoffPlan": {
      "startAtSeconds": 0,        // Start immediately
      "frequencySeconds": 2.5,    // Check every 2.5 seconds (minimum allowed)
      "maxRetries": 8             // More attempts for better coverage
    },
    "beepMaxAwaitSeconds": 15     // Reduced from 30 to 15 seconds
  },
  "voicemailMessage": "Your voicemail message here"
}
5 Views