using VAPI voicemail detection
# support
d
Hi, I am not having luck with the Twilio voicemail detection and wanted to try yours. Your docs say "Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. " I did this but it does not work. "assistant": { "model": { "messages": [{ "content": prompt, "role": "system", }], "tools":["VoicemailTool"], The message says: assistant.model.each value in tools must be one of these objects: TransferCallToolUserEditable, DtmfToolUserEditable, EndCallToolUserEditable, FunctionToolUserEditable, GhlToolUserEditable, MakeToolUserEditable, VoicemailToolUserEditable"
v
@deathless I'm here to help you with the voicemail detection configuration. It seems like there might be a slight issue with the way you've specified the tool in your configuration. According to the message you received, the tool name should include "UserEditable" at the end. Please try updating your configuration to use "VoicemailToolUserEditable" instead of "VoicemailTool". Here's how it should look:
Copy code
json
"assistant": {
  "model": {
    "messages": [{
      "content": prompt,
      "role": "system",
    }],
    "tools":["VoicemailToolUserEditable"]
  }
}
Make sure to replace
prompt
with the actual prompt message you want to use. If you continue to experience issues or need further assistance, please let me know!
You can continue this conversation by mentioning me in the message.
s
enable the voicemailDetection property instead.
check components > schemas > TwilioVoicemailDetection from here https://api.vapi.ai/api-json#
19 Views