Based on the sources, there are several reasons why calls through the same agent and Twilio trunk might work inconsistently(1).
Common Disconnection Reasons for Outbound Calls
When outbound calls show not_connected status, the disconnection_reason field tracks specific causes(1):
invalid_destination: The destination phone number is invalid(1)
telephony_provider_permission_denied: SIP trunk authentication failed(1)
telephony_provider_unavailable: The telephony provider is not available or has errors(1)
sip_routing_error: Loops or issues with SIP routing(1)
marked_as_spam: The call is marked as spam(1)
user_declined: The user explicitly declined the call(1)
dial_failed: SIP error codes are not available, or error is unknown(1)
dial_busy: The number dialed is busy(1)
dial_no_answer: The number dialed did not answer(1)
Troubleshooting Steps for Twilio SIP Trunk Issues
For your Twilio elastic SIP trunk configuration, check these specific points(2):
- Check your Termination SIP URI for any spaces and remove them(2)
- Use a localized termination URI near your region(2)
- Verify your username and credentials are correct (the username is different from the friendly name)(2)
Check Call History and Detailed Logs
The call history and detailed log contains the disconnection reason, the SIP error code, and the error message(1). In most cases, this provides enough information to identify the root cause(1).
If Configuration Issues Persist
If the configuration is not correct, delete the imported number and re-import(1). If that does not solve it, check with your telephony provider to see what’s the error on their side(1).
Number Marked as Spam
When a number experiences high outbound call volume spike without any warmup, and/or has a low pickup rate, it might be marked as spam by carriers(1). When this happens, the number will get blocked frequently(1). To remedy this, you can try to:
- Purchase a new number, and warm it up before pouring all traffic to it (slowly add outbound traffic to it)(1)
- Increase the pickup rate(1)
- Register the number with Retell’s spam remediation feature(1)
Since you’re experiencing inconsistent behavior with the same agent and trunk, I recommend checking the detailed logs for each failed call to identify the specific disconnection_reason and SIP error codes, as these will reveal whether the issue is authentication-related, routing-related, or spam-related.