octavioherrera
12/08/2025, 5:37 AMAI Evy
12/08/2025, 5:37 AMAI Evy
12/08/2025, 5:37 AMAI Evy
12/08/2025, 5:37 AMAI Evy
12/08/2025, 5:37 AMsip:sip.retellai.com. [(1) ]()
For transport-specific variants, the documented URIs are:
- TCP: sip:sip.retellai.com;transport=tcp
- UDP: sip:sip.retellai.com;transport=udp
- TLS: sip:sip.retellai.com;transport=tls
When using the “Dial to SIP URI” method with a registered call, the SIP URI format is:
- sip:{call_id}@sip.retellai.comoctavioherrera
12/08/2025, 5:45 AMoctavioherrera
12/08/2025, 5:45 AMAI Evy
12/08/2025, 5:45 AMAI Evy
12/08/2025, 5:45 AM5t4n6j0wnrl.sip.livekit.cloud) to an IP and then sending SIP to the IP instead of the domain. Once they stopped pre‑resolving and sent SIP to the domain itself, calls started working. [(1) ]()
2. Retell’s SIP integration expects calls to be routed through its SIP server and then managed by Retell’s SIP architecture (registration, routing, etc.) . Correct SIP trunk configuration (termination/origination URIs, authentication, and number import) is required so that calls can be routed to the right agent and complete successfully. [(2) ]()
Given that:
- If your SBC/PBX is still resolving the new Retell SIP domain to a raw IP before sending the INVITE, you may hit the same issue described above; ensure you are sending SIP traffic to the domain as‑is, not to a resolved IP. [(1) ]()
- Double‑check that your SIP trunk and number import into Retell are correctly configured so Retell can actually accept and route the call once it reaches their SIP server. [(2) ]()
Because I don’t have your disconnection reason / SIP logs or the full custom‑telephony docs in these sources, I can’t see the exact failure mode. If you’d like, you can share the specific SIP response codes or Retell disconnection reasons you’re seeing, and I can try to mapAI Evy
12/08/2025, 5:45 AMAI Evy
12/08/2025, 5:45 AMAI Evy
12/08/2025, 5:45 AMoctavioherrera
12/08/2025, 5:58 AMAI Evy
12/08/2025, 5:58 AMAI Evy
12/08/2025, 5:58 AMfrom_number must be a number you own in E.164 format that is either purchased from Retell or imported to Retell. [(2) ]()
* Imported numbers behave like Retell‑purchased numbers: they appear in the dashboard and can be used for inbound and outbound calls once correctly imported and bound. [(5) ]() [(7) ]()
* If a number is not properly imported or bound, Retell would not be able to route calls for that number, which can lead to call failures (though the exact mapping to "reject" is not documented) . [(5) ]() [(2) ]() [(7) ]()
3. SIP trunk authentication & termination/origination config
* With Elastic SIP trunking, you must configure origination (inbound) and termination (outbound) correctly on your telephony provider so calls can reach and leave Retell. [(5) ]() [(6) ]()
* For Telnyx, you explicitly set credentials for outbound authentication and then supply the same username/password when importing the number into Retell. [(7) ]()
* Community guidance for Twilio shows that for outbound calls, your Termination SIP URI must be defined properly in the provider and in Retell; for inbound, your Origination SIP URI must point to the expected SIP URI. [(8) ]()
* If credentials or URIs don’t match what Retell expects, the provider or Retell can reject the call; the sources, howeveAI Evy
12/08/2025, 5:58 AM"reject". [(5) ]() [(6) ]() [(7) ]() [(8) ]()
4. Transport and IP / ACL considerations
* Retell documents support for TCP, UDP, and TLS as SIP transports, with explicit SIP URIs like sip:sip.retellai.com;transport=tcp. [(5) ]()
* For custom telephony, Retell provides IP blocks (e.g. 18.98.16.120/30) that you may need to whitelist on your telephony provider or firewall; this is “commonly needed in a bunch of telephony providers.”
* A later Discord message clarifies that for customers using custom telephony, a specific CIDR block should be whitelisted to ensure uninterrupted SIP signaling, and that SIP trunking can rely on either credential‑based auth or IP whitelisting. [(9) ]()
* If the IPs used by Retell are not allowed in your SBC / carrier ACLs, calls can be rejected at the network or SIP layer. [(5) ]() [(9) ]()
5. Agent routing and call setup
* For custom telephony with Dial to SIP URI, you must first call the Register Phone Call API to register the call with a specific agent_id (and optional agent_version / overrides) . Retell returns a call_id, and you then dial sip:{call_id}@sip.retellai.com. [(5) ]() [(4) ]()
* If a calAI Evy
12/08/2025, 5:58 AMdisconnection_reason: "reject" on Retell’s side. The API references do show where the disconnection reason appears in the call object, but they don’t enumerate which precise telephony / SIP failure modes map to "reject". [(1) ]() [(2) ]() [(3) ]() [(4) ]()
What is documented and directly relevant to your situation are the main configuration points that must be correct for SIP calls to be accepted and routed:
1. Correct SIP endpoint / trunking method
* For Retell’s SIP server, the documented SIP URI is sip:sip.retellai.com, with optional ;transport=tcp|udp|tls postfix for inbound transport selection. [(5) ]()
* When using “Dial to SIP URI” with custom telephony, Retell expects calls to sip:{call_id}@sip.retellai.com after you first call the Register Phone Call API to obtain a call_id. [(5) ]() [(4) ]()
* Elastic SIP trunking is the recommended integration path; when using a provider like Telnyx, you configure a trunk to sip.retellai.com and then import your numbers into Retell with the provider’s FQDN as the termination SIP URI. [(5) ]() [(6) ]() [(7) ]()
2. Number import / recognition
* For outbound calls created via the Create PhonAI Evy
12/08/2025, 5:58 AMcall_id (for Dial to SIP URI) or without a correctly imported/bound number (for Elastic SIP trunking) , Retell would not be able to associate it with an agent; the exact behavior/error mapping is not explicitly documented, but this is a likely class of cause for rejections. [(5) ]() [(6) ]() [(4) ]()
6. How to inspect what Retell thinks happened
* The call objects returned by Get Call, Create Phone Call, Update Call, Register Phone Call, and Create Web Call all include a disconnection_reason field (e.g. "agent_hangup", "call_transfer", or various error_* reasons) . [(1) ]() [(2) ]() [(3) ]() [(10) ]() [(4) ]()
* They also include transfer_destination, latency breakdowns, call analysis, and other metadata that can help debug once the call is at least partially established.
* However, the list of all possible disconnection_reason values and the exact logic that yields "reject" is only partially visible (e.g. agent_hangup, error_no_audio_received, etc.) , and "reject" is not explicitly enumerated in the snippets we have. [(3) ]()
Given what is documented, the most relevant Retell‑side checks for your “reject” situation while routing to 5t4n6j0wnrl.sip.livekit.cloud are:
- Confirm you are using the currently documented SIP endpoint and integration pattern (ElastiAI Evy
12/08/2025, 5:58 AMdisconnection_reason, and
- The SIP response codes from your SBC / carrier,
those can be correlated with the documented fields above to narrow down whether the failure is at the provider/SBC level (e.g. auth/ACL) or at the Retell routing/agent/number level.AI Evy
12/08/2025, 5:58 AMsip.retellai.com or Dial to SIP URI using sip:{call_id}@sip.retellai.com) , not an older or intermediate endpoint, and that your provider’s termination/origination URIs match that. [(5) ]() [(6) ]()
- Verify that the number you are using is imported into Retell (or purchased there) and appears in the dashboard, and that it is bound to the expected agent (for trunk‑based flows) or that you are correctly registering each call via Register Phone Call and dialing the corresponding call_id SIP URI (for Dial to SIP URI) . [(5) ]() [(2) ]() [(7) ]() [(4) ]()
- Check that your SIP trunk authentication (credentials or IP whitelisting) and ACLs are consistent with Retell’s documented IP blocks and your provider’s configuration. [(5) ]() [(7) ]() [(9) ]()
Because the sources don’t spell out the internal mapping from specific SIP failure modes to disconnection_reason: "reject", I can’t definitively say which of your listed possibilities (number not imported, auth, routing, transport, headers) is the exact trigger. [(1) ]() [(2) ]() [(3) ]() [(4) ]()
If you can share:
- The Retell call object (from Get Call / Update Call) incluAI Evy
12/08/2025, 5:59 AMAI Evy
12/08/2025, 5:59 AMoctavioherrera
12/08/2025, 6:11 AMAI Evy
12/08/2025, 6:11 AMAI Evy
12/08/2025, 6:11 AMsip:{call_id}@sip.retellai.com as described, rather than relying on an older or intermediate SIP hostname. [(1) ]() [(2) ]()
2. Inspect Retell’s call object / logs:
- Fetch the call object (e.g., via the Call APIs) and check disconnection_reason and any attached error details to correlate with your SIP traces. [(6) ]() [(7) ]() [(3) ]()
3. Verify SIP headers and number handling:
- Ensure any custom headers you rely on are X- prefixed if you want them surfaced as dynamic variables. [(5) ]()
- Ensure numbers used in API‑initiated outbound calls are in E.164 and owned/imported into Retell. [(6) ]()
Because the sources don’t document the internal SIP behavior of 5t4n6j0wnrl.sip.livekit.cloud in the level of detail you’re asking for, I can’t fully answer your SIP‑stack questions from the docs alone. [(1) ]() [(6) ]() [(7) ]() [(2) ](AI Evy
12/08/2025, 6:11 AM5t4n6j0wnrl.sip.livekit.cloud setup. [(6) ]() [(7) ]() [(3) ]()
- At which precise SIP stage (DNS, INVITE, auth, number routing, agent assignment) your current rejection occurs. [(1) ]() [(6) ]() [(7) ]() [(3) ]()
- Any additional required SIP headers beyond standard SIP and the documented handling of custom X- headers. [(5) ]()
- Exact transport/port combinations for 5t4n6j0wnrl.sip.livekit.cloud beyond the fact that Retell documents support for TCP/UDP/TLS via URIs like sip:sip.retellai.com;transport=tcp|udp|tls. [(1) ]()
- Detailed number‑format enforcement rules for that endpoint, beyond the general requirement that outbound from_number be a nAI Evy
12/08/2025, 6:11 AM5t4n6j0wnrl.sip.livekit.cloud specifically (response codes, exact reject stage, required headers, or that exact Request‑URI format) . [(1) ]() [(2) ]() [(3) ]()
What is documented:
- Retell’s documented SIP endpoint for custom telephony is sip.retellai.com, with transport variants such as sip:sip.retellai.com;transport=tcp|udp|tls. [(1) ]() [(2) ]()
- For “Dial to SIP URI”, the expected Request‑URI format is sip:{call_id}@sip.retellai.com, where call_id is obtained from the Register Phone Call API before your system dials Retell. [(1) ]()
- For Elastic SIP trunking, you connect your provider’s SIP trunk to Retell’s VoIP and then import numbers into Retell; once imported, those numbers behave like Retell numbers and can be used for inbound and outbound calls. [(1) ]() [(4) ]()
- Custom SIP headers are supported for phone calls, but only headers starting with `X-`/`x-` are parsed into call.custom_sip_headers and exposed as dynamic variables; there is no documented requirement for standard headers like P-Asserted-Identity beyond normal SIP practice. [(5) ]()
- The call object includes a disconnection_reason field (e.g. agent_hangup, call_transfer, or various error_* values) , but the mapping from specific SIPAI Evy
12/08/2025, 6:11 AMdisconnection_reason from the call object, and
- A short SIP trace for a failing call,
so they can correlate your trace with server‑side logs.AI Evy
12/08/2025, 6:11 AMAI Evy
12/08/2025, 6:11 AM