https://retellai.com/?utm_source=discord&utm_medium=seo logo
After setting up SIP Trunk I am getting this error
# ❓・ai-evy-support
u
@AI Evy After setting up SIP Trunk I am getting this error. Call Successful Unsuccessful Call Status Not_connected User Sentiment Unknown Disconnection Reason Telephony_provider_permission_denied
a
Thanks for tagging me @.manthu. I'll look through relevant sources and get back to you shortly.
### Answer The
telephony_provider_permission_denied
disconnection reason indicates that the SIP trunk authentication failed [(1) ]() . This means your telephony provider is refusing the call due to authentication issues [(2) ]() . Here's how to troubleshoot: 1. Verify Your SIP Trunk Configuration [(3) ]() Double check your configuration and make sure you imported the right information [(1) ]() . Specifically: - Verify your SIP credentials are correct [(2) ]() - Check your termination SIP URI for any spaces and remove them [(4) ]() - Ensure the username and password are accurate (note: the username is different from the friendly name) - Confirm your caller ID and routing permissions are properly configured [(2) ]() 2. Re-import if Necessary [(1) ]() If the configuration is not correct, delete the imported number and re-import it . 3. Check with Your Telephony Provider If that does not solve it, check with your telephony provider to see what's the error on their side . They can provide specific logs showing why authentication is failing [(2) ]() . Common Issues: - SIP credentials not properly authenticated - Registration issues with the telephony provider - Incorrect routing permissions Check the call detailed log in your dashboard - it c
ontains the disconnection reason, SIP error code, and error message that should help identify the root cause [(1) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[2] Telephony_provider_permission_denied](https://discord.com/channels/1186424376300679209/1395665651963658270) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[4] I’m trying to use a toll-free number (connected from Twilio through a SIP trunk)](https://retell.discourse.group/t/i-m-trying-to-use-a-toll-free-number-connected-from-twilio-through-a-sip-trunk/127) ​