https://retellai.com/?utm_source=discord&utm_medium=seo logo
Recommended approach for resolving issue: 2025-09-...
# ❓・ai-evy-support
r
@AI Evy Recommended approach for resolving issue: 2025-09-09 02:20:58.986 call_d814b23b16253f791e636c2b540 error: Error dialing to user, SIP status code: 403 SIP error category: telephony_provider_permission_denied Error: twirp error unknown: unexpected status from INVITE response: sip status: 403: Forbidden
a
Thanks for tagging me @Reed. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] I keep getting SIP status code: 403 SIP error category: telephony_provider_permission_denied Error](https://discord.com/channels/1186424376300679209/1389628288137429032) [[3] Discord message from @safa_cases_88416 on 2025-08-14](https://discord.com/channels/1186424376300679209/1294891368505937952/1405556280180871269) ​
### Answer The SIP status code 403 with error category
telephony_provider_permission_denied
indicates that your telephony provider is not allowing the call to proceed [(1) ]() . This is a provider-level authentication or permission issue . Here are the recommended troubleshooting steps: For Twilio Users: - Check Voice Geographic Permissions in your Twilio console to ensure you can call the destination country/region [(2) ]() - Verify your SIP trunk credentials are correctly authenticated [(1) ]() - Ensure your account has proper permissions for the numbers you're trying to call [(2) ]() General Troubleshooting: - Verify that your telephony provider credentials are correct and properly configured [(1) ]() - Check if your provider has restrictions on calling certain destinations [(2) ]() - Contact your telephony provider's support team to verify account permissions and settings [(2) ]() [(3) ]() Important Notes: - If you purchased numbers through Retell (via Twilio) , those numbers can only call US numbers [(2) ]() - For international calling, you'll need to use custom telephony with providers like Twilio, Telnyx, or other SIP trunking providers - This error comes from your telephony provider, not Retell [(3) ](
79209/1294891368505937952/1405556280180871269) The error indicates your provider won't allow the call, so the resolution typically involves checking your provider's configuration and permissions [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy Inbound calls connect to the agent on retell without problem. I have checked with vendor of the SIP trunk, and reviewed PCAP - inbound calls recieve a SIP invite and connect just fine which is clear across the logs. However, the outbound calls do not appear on the SBC logs at all -- they seemingly do not make it out of the retell platform. What is the issue?
a
Thanks for the follow-up, @Reed. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[2] SIP Trucking Error](https://discord.com/channels/1186424376300679209/1397622555506114580) [[3] 403 SIP error on VoipTel Italia trunk](https://discord.com/channels/1186424376300679209/1387798467681980487) ​
### Answer Based on your description where inbound calls work fine but outbound calls don't appear on your SBC logs at all, this suggests a configuration issue with your outbound SIP trunk setup in Retell [(1) ]() . Here are the key troubleshooting steps: 1. Verify Your SIP Trunk Configuration Double check your configuration and make sure you imported the right information . If the configuration is not correct, delete the imported number and re-import . 2. Check SIP Trunk Authentication [(2) ]() The error
telephony_provider_permission_denied
with SIP status code 403 indicates that SIP trunk authentication failed . Your Username and password must match exactly what you set in Retell's portal . Ensure your From user/domain header aligns with the registered trunk . 3. Regional IP Block Considerations For EU and French numbers, Retell's Livekit cloud uses dynamic IP blocks, so you need to set your provider to accept calls from any OR use a session border controller (SBC) with a fixed IP . 4. Provider-Side Configuration [(3) ]() Some providers require that your SIP endpoint be fully registered (SIP-UA functionality) . Most carriers will require that your SIP endpoint be fully registered, otherwise known as a SIP-UA functionality . Retell doesn't implement the SIP-UA functionality . 5. Contact Your Telephony Provider [(1) ]() If the above steps don't resolve the issue, please check with your telephony provider to see what's the error on their side . Since inbound works but outbound calls aren't reaching your SBC at all, the most likely issue is in your outbound SIP trunk configuration within
Retell or authentication credentials that prevent the calls from being initiated .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy can you provide an internal error code on call ID: call_d814b23b16253f791e636c2b540
a
Thanks for the follow-up, @Reed. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) ​
### Answer I can help you retrieve detailed information about that call ID using the Retell AI API [(1) ]() . You can get comprehensive call details including error information using the Get Call endpoint . Here's how to retrieve the call details:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('call_d814b23b16253f791e636c2b540') ;
console.log(callResponse) ;
The response will include the
disconnection_reason
field which shows the specific reason for call disconnection . Based on your previous message, this should show
telephony_provider_permission_denied
. The call response also includes additional debugging information such as: -
public_log_url
- Contains detailed requests and responses for debugging and tracing -
call_analysis
- Post-call analysis including status and summary -
latency
- Latency tracking information However, I don't have access to internal Retell error codes beyond what's available through the public API responses. The
disconnection_reason
field provides the standardized error categorization that Retell uses .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy here is the full output, i have confirmed with the carrier they are not receiving the SIP invite for outbound calls - what is the problem, is our retell account barred from outbound calls? Full response: { "agent_id": "agent_97d5e54d9f829362fe3de095ee", "agent_version": 12, "call_id": "call_d814b23b16253f791e636c2b540", "call_status": "not_connected", "call_type": "phone_call", "direction": "outbound", "from_number": "+61730884130", "to_number": "+61452090157", "call_analysis": { "call_successful": false, "call_summary": "", "custom_analysis_data": {}, "in_voicemail": false, "user_sentiment": "Unknown" }, "call_cost": { "combined_cost": 0.0, "product_costs": [], "total_duration_seconds": 0.0, "total_duration_unit_price": 0.0 }, "collected_dynamic_variables": null, "custom_sip_headers": {}, "data_storage_setting": "everything", "disconnection_reason": "telephony_provider_permission_denied", "duration_ms": 0, "end_timestamp": 1757384458988, "knowledge_base_retrieved_contents_url": null, "latency": { "e2e": null, "knowledge_base": null, "llm": null, "llm_websocket_network_rtt": null, "s2s": null, "tts": null }, "llm_token_usage": null, "metadata": null, "opt_in_signed_url": false, "public_log_url": "https://dxc03zgurdly9.cloudfront.net/04c3ef92647059a06e5f4463b14c8ec095ad39c0bb46c62cdf15cca4dc1b04fd/public.log", "recording_multi_channel_url": null, "recording_url": null, "retell_llm_dynamic_variables": {}, "scrubbed_recording_multi_channel_url": null, "scrubbed_recording_url": null, "scrubbed_transcript_with_tool_calls": null, "start_timestamp": 1757384458988, "telephony_identifier": null, "transcript": null, "transcript_object": null, "transcript_with_tool_calls": null, "agent_name": "Reedify AI receptionist", "opt_out_sensitive_data_storage": false }
a
Thanks for the follow-up, @Reed. I'll get back to you soon.
### Answer Based on your call response and the fact that your carrier isn't receiving SIP invites for outbound calls, this indicates a configuration issue with your SIP trunking setup rather than your Retell account being barred [(1) ]() . The
telephony_provider_permission_denied
disconnection reason specifically means "Outbound call not connected, the sip trunk credentials are not authenticated" [(2) ]() . Since your carrier confirms they're not receiving any SIP invites at all, the issue is likely in your termination configuration [(1) ]() . Key troubleshooting steps: 1. Check your termination setting in your SIP trunking provider and make sure you provide the right termination URL to Retell . 2. Double check your configuration and make sure you imported the right information. If the configuration is not correct, delete the imported number and re-import . 3. Review your SIP trunking setup - Since inbound works but outbound doesn't reach your carrier, there's likely a mismatch in your outbound routing configuration [(3) ]() . 4. Check logs with your telephony provider and perhaps open a ticket with them [(1) ]() . The fact that inbound calls work fine but outbound calls don't even reach your SBC suggests the termination configuration in your SIP trunk isn't properly set up to route outbound calls from Retell to your carrier [(3) ]() . Your account isn't barred - this is a configuration issue where the SIP invite isn't being properly routed to your telephony provider for outbound calls [(4) ](
m/channels/1186424376300679209/1395665651963658270) .
​ To learn more, see the sources I considered: [[1] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[2] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[4] Telephony_provider_permission_denied](https://discord.com/channels/1186424376300679209/1395665651963658270) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.