Twilio errors for all outbound calls
# support
n
Example call id: 8d73c35b-7e0b-4896-841b-d9d67e1e45fb Error on Vapi: [LOG] Twilio detected "machine_end_other" in 30000ms Errors on Twilio: 31901 - Stream - WebSocket - Connection Timeout, 31920 - Stream - WebSocket - Handshake Error
v
It looks like you're encountering a couple of issues with your call on Vapi involving Twilio. Let's break down the errors you're seeing: 1. **"machine_end_other" Error**: This error indicates that Twilio's voicemail detection has identified a machine end type that doesn't fit into the standard categories. It can happen due to various reasons, such as atypical signals from voicemail systems. To mitigate this, ensure that your voicemail detection settings are configured correctly to minimize false positives. 2. **WebSocket Connection Timeout (Error 31901)**: This error typically occurs due to network issues, incorrect WebSocket URLs, or server-side problems. Here are some steps to troubleshoot: - **Check Network Configuration**: Ensure that your network allows WebSocket connections and that there are no firewalls or proxies blocking them. - **Validate WebSocket URL**: Make sure the URL you are using is correct and hasn't expired. You can test it using a WebSocket client like
wscat
. - **Server Status**: Confirm that the server you are trying to connect to is operational. If there are any known outages, that could be the cause. 3. **WebSocket Handshake Error (Error 31920)**: This error can also stem from network issues or incorrect URLs. Follow the same troubleshooting steps as above to resolve this. If you continue to experience these issues, please provide any additional details or logs, and I'll be happy to help further! 😊 Sources: - [Understanding the "machine_end_other" Error in Twilio and VAPI](https://docs.vapi.ai/phone-calling/voice-mail-detection) - [Common Causes of WebSocket Connection Timeout Errors in Twilio](https://discord.com/channels/1211482211119796234/1211483291191083018/1329235631855108128) - [Troubleshooting WebSocket Handshake Errors with Twilio and VAPI](https://discord.com/channels/1211482211119796234/1211483291191083018/1341810370700120064)
k
logs
🟑 14:09:37:692 Live Call Manager Ending With Error...(vapifault-transport-never-connected) Neeraj, this was our issue and it’s been resolved. You can try making another call. FYI, there was a small network spike issue for 15 minutes, which caused this failure.
3 Views