Limiting Voicemail Minutes
# support
z
I'm having trouble getting my Assistant hanging up after leaving a voicemail. It's leaving it running after it's done which is resulting in more unecessary money being spent. Any advice?
v
@Z4CHY I'm sorry to hear that you're experiencing issues with the Assistant not hanging up after leaving a voicemail. To assist you better, could you please provide more details about the voice API you are using and how you have set up the voicemail functionality? This will help me understand the situation and offer a more precise solution.
You can continue this conversation by mentioning me in the message.
z
Can you help me set up voicemail?
s
Hey @Z4CHY can you share the call id?
z
348b351c-6d75-4f17-baf9-4367e8b9c9ba
b70a4a99-d61f-4716-a3bc-a84ddecd6d9b
78cab19c-19ad-473b-a293-11eae9839755
78cab19c-19ad-473b-a293-11eae9839755
s
Hey @Z4CHY can you enable the twilio voice mail detection, and also set the voicelmail message if you don't use voice mail message then call won't end with reason voice mail detected.
Copy code
json
  "voicemailDetection": {
    "provider": "twilio",
    "enabled": true,
    "voicemailDetectionTypes": [
      "machine_end_beep",
      "machine_end_other",
      "machine_end_silence",
      "machine_start",
      "unknown"
    ],
    "machineDetectionTimeout": 5,
    "machineDetectionSpeechThreshold": 2400,
    "machineDetectionSpeechEndThreshold": 1000,
    "machineDetectionSilenceTimeout": 3000
  }
Do let me know how it goes.
z
@Shubham Bajaj— Will test it out. Also, while I have you. When this post is executed, is it supposed to be sending multiple times? It's sending the same data like 3+ times after only one post. https://cdn.discordapp.com/attachments/1305632477460693053/1306330058465738782/Screenshot_2024-11-13_at_1.47.42_PM.png?ex=6736462c&is=6734f4ac&hm=2f754c0059149624faa1fc6b1c503c1b0caa8c990dd0a7e2b4a9bd684413bd69&
b
@Z4CHY it's doing the same thing for me as well, sends call report multiple times to the server URL
s
Hey @Z4CHY / @Benjamin E. please unselect all server events except end of call report then you won't be getting unnecessary server requests from Vapi. If this is not the case then share the call ids.
b
@Shubham Bajaj thank you for your response. I do have custom tools that I want to run but have both tools-call and function-call activate, which one should I deactivate ?
z
I made your change and am now getting: Request failed with status: 400
Also, agreed with @Benjamin E. — I also require tools-call to be there.
s
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 me figure out what went wrong!
function-call are deprecated, use tool call only.