VoiceMail settings
# support
m
On all my calls identified as
Voicemail
, the agent waits 30s before speaking. Example Call Id:
aa578a31-360a-460e-95ea-b8975eab0e1a
I use this config:
Copy code
"voicemailDetection": {
          "provider": "google",
          "voicemailExpectedDurationSeconds": 18
        },
I was expecting agent to speak after 18s. How can I fix that?
v
Are you using any additional configuration parameters beyond what you've shared? The documentation primarily covers Twilio-based voicemail detection, but for Google provider, you might need to add
startSpeakingPlan
with custom endpointing rules to control when the agent speaks. For example:
Copy code
json
"startSpeakingPlan": {
  "customEndpointingRules": [
    {
      "type": "assistant",
      "regex": ".*voicemail.*",
      "delayMs": 18000  // 18 seconds in milliseconds
    }
  ]
}
This would help ensure your agent speaks after the expected 18 seconds.
m
Is there a default config setup to 30s?
k
To help track down this issue, could you share one or two: - 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!
m
There is a callid in my first message: aa578a31-360a-460e-95ea-b8975eab0e1a I expect to get why agent waits 30s to leave voicemail message (so long blank in the conversation, see in attached screen). With this config:
Copy code
"voicemailDetection": {
          "provider": "google",
          "voicemailExpectedDurationSeconds": 18
        },
It should speak after 18s (to my understanding) https://cdn.discordapp.com/attachments/1369249282535723079/1369601102739148911/image.png?ex=681c73ec&is=681b226c&hm=01200e33b1a7c6c013c9b9b4c8d4468079e86900b0feca165e58e5c50857a15d&
@Kings_big💫 do you need additional data?
k
Looking into it
m
Any insights @Kings_big💫 ?
or @Shubham Bajaj ?
k
No update yet