Extremely high number of call fails last night
# support
w
Howdy! One of the assistants I'm running experienced quite a few call failures of various kinds in its outbound campaigns yesterday. Attaching some examples of these: "Twilio Connection Failed": a7432720-73e5-4b84-92a4-9a144dcef13a 0c237ab3-bc41-4d66-9dd9-c29397493805 "Silence Timed Out": 7eca98be-f130-4b7b-9235-da663e707039 cab99c65-63d0-436b-b3ad-d0aa57455916 I'm seeing a LOT of the Twilio Connection Failed calls specifically. Any help would be appreciated ASAP as the client is wanting to run more campaigns at noon CST today. Thank you!
v
Hi there! 👋 Sorry to hear about the high number of call failures in your outbound campaigns. While I can't access the specific logs for the call IDs you've shared, I can definitely help you understand and troubleshoot both the "Twilio Connection Failed" and "Silence Timed Out" errors you're experiencing. ## Twilio Connection Failed Errors These errors typically occur when Twilio fails to establish a connection with VAPI servers. Here are some common causes and solutions: ### Possible Causes: - Network connection failures between Twilio and VAPI servers - Server-side issues (such as 502 HTTP status) - Database outages - Incorrect webhook configurations - SIP configuration problems - Twilio account restrictions - The telephony failing to connect within the required timeframe ### Troubleshooting Steps: 1. Check Twilio Account Settings: - Verify your Twilio Account SID and Auth Token are correct - Ensure outbound calling is enabled - Check that the countries you're calling are enabled in the Twilio Console under 'Voice' > 'Geo Permissions' - Verify your phone number is properly set up for outbound calls 2. Review Webhook Configuration: - Ensure the webhook URL configured in Twilio for incoming calls correctly points to the VAPI endpoint - Check that "a call comes in" is set to "webhook" with the correct URL 3. Check Network Connectivity: - Ensure there are no network issues causing timeouts - Review firewall settings that might be blocking connections 4. Review Twilio Logs: - Check Twilio logs for TwiML entries and error messages - Look for specific error codes that might provide more insight 5. Check Concurrency Limits: - Verify you're not exceeding Twilio's concurrent call limits - Implement delays between call initiations (e.g., one call every 2 seconds) ## Silence Timed Out Errors
These errors occur when a call ends due to a period of silence exceeding a configured timeout. Here's how to address them: ### Troubleshooting Steps: 1. Adjust `silenceTimeoutSeconds`: - The default value is 30 seconds - If there are delays from external services, consider increasing this value 2. Review Voicemail Detection Configuration: - If using Twilio for voicemail detection, ensure settings are correctly configured - Adjust
machineDetectionSilenceTimeout
(default is often 6000ms/6s) - Check
machineDetectionSpeechThreshold
and
machineDetectionSpeechEndThreshold
settings 3. Check Network Connectivity: - Ensure stable network connections to prevent timeouts 4. Review Recent Code Changes: - Check if recent changes might have affected the agents' ability to receive voice input 5. Analyze Logs: - Review both VAPI and Twilio logs for error messages or warnings ## Preventive Measures for Future Campaigns: 1. Implement delays between call initiations to avoid hitting concurrency limits 2. Monitor active calls in real-time to identify potential issues early 3. Optimize configuration settings like
silenceTimeoutSeconds
and
machineDetectionSilenceTimeout
4. Ensure SIP trunks are correctly configured if you're using them 5. Check geographic permissions in Twilio for the countries you're calling 6. Implement robust error handling for failed calls, retries, and fallbacks Would you like me to elaborate on any specific aspect of these troubleshooting steps before your noon campaign today? Sources: - [Troubleshooting "Twilio Connection Failed" errors in outbound campaigns](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334001638876250233) - [Possible causes of "Twilio Connection Failed" errors in Vapi outbound campaigns](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334137548162728040)
- [Solutions for "Twilio Connection Failed" errors in Vapi outbound campaigns](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336432457943351358) - [Troubleshooting "Silence Timed Out" errors in outbound campaigns](https://docs.vapi.ai/api-reference/squads/list) - [Best practices for preventing call failures in Vapi outbound campaigns](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334001638876250233)
s
could be related to known issues with the transcriber ... vapi is on it, but maybe you should advise your client not to run campaings until vapi has solved the known problems ... a lot of issues related to the same problem today
w
@Sven Yeah but most were Twilio fails, silence time out was only a few Unfortunately campaigns are automated from their CRM and they don’t have any way to schedule them
s
The silence time out is just another symptom among many others rooting from the main issue i guess. IMHO the probability that most of the reported issues came from the same problem is way higher than not. But do i know for sure - absolutely not.
"Unfortunately campaigns are automated from their CRM and they don’t have any way to schedule them" ... maybe there is a possibility to just -delay- the actions or add a breaker somewhere? (Dont know the CRM or setup / workflow software). Just an idea...
a
checking if this is resolved/solved for you?