atis42
09/24/2025, 12:40 PMAI Evy
09/24/2025, 12:40 PMAI Evy
09/24/2025, 12:41 PMAI Evy
09/24/2025, 12:41 PMAI Evy
09/24/2025, 12:41 PMAI Evy
10/07/2025, 10:33 PMatis42
10/07/2025, 10:33 PMINVITE sip:37167885290@5t4n6j0wnrl.sip.livekit.cloud SIP/2.0
Via: SIP/2.0/UDP 159.148.47.250:9070;rport;branch=z9hG4bK4Q0y7gQ126XcB
Max-Forwards: 69
From: "37128806004" <sip:FreeSWITCH@d47gk3gtnerp.sip.octella.com>;tag=QeB0H0m98c2gN
To: <sip:37167885290@5t4n6j0wnrl.sip.livekit.cloud>
Call-ID: cf577add-1e61-123f-5f89-bc24117a7014
CSeq: 105381260 INVITE
Contact: <sip:gw+00400-CG-retell.ai@159.148.47.250:9070;transport=udp;gw=00400-CG-retell.ai>
...
Remote-Party-ID: "37128806004" <sip:37128806004@d47gk3gtnerp.sip.octella.com>;party=calling;screen=yes;privacy=off
If I change that, Retell.AI is rejecting my call:
INVITE sip:37167885290@5t4n6j0wnrl.sip.livekit.cloud SIP/2.0 Via: SIP/2.0/UDP 159.148.47.250:9070;rport;branch=z9hG4bKrFNtNKStKgp5a Max-Forwards: 69 From: "37128806004" ;tag=2jaayB90cc0mQ To: Call-ID: c620895f-1e6a-123f-5f89-bc24117a7014 CSeq: 105383185 INVITE Contact: User-Agent: OctellaFS Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Allow-Events: talk, hold, conference, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 270 X-FS-Support: update_display,send_info Remote-Party-ID: "37128806004" ;party=calling;screen=yes;privacy=off
SIP/2.0 486 Rejected Via: SIP/2.0/UDP 159.148.47.250:9070;rport=4010;branch=z9hG4bKrFNtNKStKgp5a;received=10.1.101.82 From: "37128806004" ;tag=2jaayB90cc0mQ To: ;tag=SCL_cmoeZghAJ6Br Call-ID: c620895f-1e6a-123f-5f89-bc24117a7014 CSeq: 105383185 INVITE Content-Length: 0AI Evy
10/07/2025, 10:33 PMFrom: "37128806004" <sip:FreeSWITCH@d47gk3gtnerp.sip.octella.com>
When you change it to use the actual caller number instead of "FreeSWITCH", Retell rejects the call with "486 Rejected" .
For the Dial to SIP URI method, you need to first register the phone call using the Register Phone Call API to obtain a call_id, then use that to construct the SIP URI as sip:{call_id}@sip.retellai.com . However, I notice you're dialing to 5t4n6j0wnrl.sip.livekit.cloud which suggests you may already have a registered call.
The rejection when changing the From header indicates that Retell may be expecting a specific format or authentication method. When using Method 2: Dial to SIP URI, Retell does not directly make or receive calls, but instead relies on your system to dial the call to the respective SIP URI .
For troubleshooting SIP connection issues, the SIP connection log is available in the call logs and is useful to understand the failure reason [(2) ]() . I recommend:
1. Check your call logs in the Retell dashboard for detailed SIP error information
2. Ensure you're properly registering each call before dialing to get the correct call_id
3. Verify that your From header format matches what Retell expects for your setup
If you continue having issues, you may want to consider using Method 1: Elastic SIP trunking instead, which is the recommended approach for integrating with telephony providers [(1) ]() .AI Evy
10/07/2025, 10:33 PMAI Evy
10/07/2025, 10:33 PMatis42
10/07/2025, 10:34 PMAI Evy
10/07/2025, 10:34 PMAI Evy
10/07/2025, 10:35 PMsip:sip.retellai.com
3. **Number Import Configuration**: Double check your configuration and make sure you imported the right information [(3) ]()
Since the call works when the From header shows "FreeSWITCH" but gets rejected when you change it, this indicates that your telephony provider may have specific requirements for the From header format or caller ID validation.
For troubleshooting steps :
- If the configuration is not correct, delete the imported number and re-import
- Check with your telephony provider to see what's the error on their side
- Verify your termination and origination settings match the requirements [(2) ]()
The fact that rejected calls don't appear in Retell logs suggests the rejection is happening at your telephony provider level before reaching Retell's system. I recommend checking your SIP trunk provider's logs to see the specific rejection reason.AI Evy
10/07/2025, 10:35 PMAI Evy
10/07/2025, 10:35 PMatis42
10/07/2025, 10:36 PMatis42
10/07/2025, 10:36 PMAI Evy
10/07/2025, 10:36 PMAI Evy
10/07/2025, 10:37 PMsip.retellai.com [(2) ]() .
Here's the specific configuration based on the transport method you're using [(1) ]() :
- For UDP: sip:sip.retellai.com;transport=udp
- For TCP: sip:sip.retellai.com;transport=tcp
- For TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
The origination configuration tells your system where to send inbound calls destined for Retell AI agents. When a call comes in to one of your numbers that's been imported to Retell, your SIP trunk should route that call to the appropriate Retell SIP URI based on your transport method .
For example, with Vonage, you would set up origination by specifying Retell's SIP server address as the origination SIP URI: sip.retellai.com [(2) ]() . With Telnyx, you add the FQDN of Retell's SIP server: sip.retellai.com and select SRV as the DNS record type [(3) ]() .
The key point is that the origination URI configuration determines where inbound calls get routed to reach Retell's system [(1) ]() .AI Evy
10/07/2025, 10:37 PMAI Evy
10/07/2025, 10:37 PM