VoicemailTool not working for LLM voicemail detect...
# support
f
Has anyone been able to get this to work? There isn't much about it in the docs. My assistant config looks like this:
Copy code
{
'model': {
  'tools': {
        "type": "voicemail",
        "async": False,
    }
}
v
@falseVacuum It looks like you're trying to configure voicemail detection for your assistant. However, the configuration snippet you've provided seems to be incorrect. The voicemail detection should be set up under the
assistant.voicemailDetection
object, not directly within the
model.tools
. Here's how you can properly configure voicemail detection:
Copy code
json
{
  "assistant.voicemailDetection": {
    "enabled": true,
    "async": false,
    "silenceTimeout": 1500,
    "greeting": "Hello, please leave a message after the beep."
  }
}
In this configuration: -
enabled
is set to
true
to activate voicemail detection. -
async
is set to
false
to indicate that the detection should be done synchronously. -
silenceTimeout
is the time in milliseconds to wait for silence before considering it as a voicemail. You can adjust this value as needed. -
greeting
is the message that will be played to the caller before the beep. Make sure to adjust the settings according to your needs. If you need further assistance or have any more questions, feel free to ask!
You can continue this conversation by mentioning me in the message.
c
It works for sure.
Did you set a VM message?
s
@falseVacuum Please refer to this document regarding voicemail: https://vapi.notion.site/Handling-Voicemail-in-Calls-142008c8393f80f1abb8de8ecb17842d?pvs=4 It contains comprehensive information about the topic. Please don't hesitate to reach out if you need any further assistance.
f
Thanks so much for the responses. This does in fact work after further testing. I was just using some hard to detect voicemail greetings.
2 Views