Right to VM with twilio
# support
j
During testing, it looks like a lot of the calls go direct to vm without ringing through when using twilio. Is there a setting to enable or something? It feels nondeterministic - certain numbers it just goes straight to VM with no ringing, figured this out testing with coworkers. Any recommendations?
v
@jsieber-eip It sounds like you're experiencing issues with calls going directly to voicemail when using Twilio. This can happen for a few reasons, and here are some recommendations to troubleshoot the issue: 1. **Network Issues**: Sometimes, calls may go directly to voicemail due to network connectivity issues on the recipient's end. Ensure that the recipients have good network coverage. 2. **Do Not Disturb**: Check if the recipients have their phones set to 'Do Not Disturb' mode, which can send calls directly to voicemail. 3. **Carrier Settings**: Some carriers have settings that might send calls to voicemail if the line is busy or if there's no answer after a certain number of rings. 4. **Twilio Configuration**: Ensure that your Twilio number is correctly configured. You can check the Twilio console for any settings that might affect call routing. 5. **Twilio Voice URL**: Verify that the Twilio Voice URL is correctly set up to handle incoming calls and that there are no errors in the TwiML response. 6. **Number Verification**: If you're using your own phone number with Twilio through the /phone-numbers/import endpoint, make sure that the number is verified and properly configured with VAPI services. 7. **Code Review**: Review your code to ensure that there are no conditions that might be causing the calls to be redirected to voicemail. 8. **Twilio Logs**: Check the Twilio logs for any errors or warnings that could provide more insight into why calls are going to voicemail. 9. **Contact Twilio Support**: If you've gone through these steps and are still facing issues, it might be best to reach out to Twilio support for further assistance. If you need help with verifying and configuring your own phone number with VAPI services, I can assist you with that. Would you like to proceed with importing your phone number using the dashboard or the /phone-numbers/import endpoint?
You can continue this conversation by mentioning me in the message.
j
its not letting me click the ask for help button. but please provide recommendations
s
Hey @jsieber-eip do checkout this documentation https://vapi.notion.site/Handling-Voicemail-in-Calls-142008c8393f80f1abb8de8ecb17842d?pvs=4 regarding voice mail detection and setup using twilio.
For further help do ping me.
j
@Shubham Bajaj the issue wasnt that it is going to voicemail, its that its not ringing at all. I have it handled so it doesnt leave a message
s
Thanks Man for correcting and I will update you once I get the clarifications regarding server-message status-update.
j
@Shubham Bajaj ok thank you - I was about to open that ticket, but i will just wait for your comment here on this thread. If you do have any tips / tricks for twilio not ringing and just going right to VM, let me know. The issue isnt that its hitting voicemail, its that the phone is not ringing so theres never an opportunity for the individual to pick up.
s
@jsieber-eip I checked with team regarding your issue and you have status-update event in your assistant server-messages. The screenshot contains the call id and assistant id of it. https://cdn.discordapp.com/attachments/1308425408802193471/1313964661456244776/Screenshot_2024-12-05_at_1.55.51_AM.png?ex=67520c73&is=6750baf3&hm=18f24d5bfd5bfcd6fbf27cd0fe96d8254d58b89c151318ba38648bd344c92d0f&
@jsieber-eip I don't have any tricks because in this so obvious that gets picked in sub-second, but will update you once i find any.
j
@Shubham Bajaj well yes, now I do. Thats current data youre looking at. I revamped it to only use status-updates. At the time of our issue, I did not have it
@Shubham Bajaj you saw the screen sharing
i redid it all to work only off status updates because i was pre-emptively fixing it for when you implemented a bugfix
s
@jsieber-eip when I checked with team, the server message was there.
j
so is it a ui glitch?
@Shubham Bajaj or what is the issue causing it? because everything was set correctly to not be sending status-update messages. just because status-updates is set on the call doesnt mean that I had it set. Do you have a db snapshot or setting history for the assistant to reference?
i specifically only had end of call report in my server messages, that is not the correct record in server_messages then
because in the other calls I showed you I had end of call reports being produced and sent to my server
so that has to be a record for my current assistant settings, or different calls were being amde with different server message settings?
s
Most probably can be a UI glitch, because we don't add it by ourself. For calls which you want me to check, share the call id I will try to look into logs.
j
its alright. just makes no sense why its saying server messages wasa just status update when it was sending both, and the one i explicitly enabled was the end of call report. Thats why i think youre looking at current server messages set on the assistant rather than historical.
i worked around the issue so no damage now, but may come up again for someone else
s
Most probably UI glitch.
j
if it was UI, why would it be sending both?
s
I tried reproducing it but couldn't if you can help me reproduce it I will make sure it gets fixed.
j
i can try probably tomorrow or friday - Ill make a note on my todo list.
s
any update on it @jsieber-eip