peaky_blind3r
10/26/2025, 2:02 PMAI Evy
10/26/2025, 2:02 PMAI Evy
10/26/2025, 2:03 PMAI Evy
10/26/2025, 2:03 PMsip:sip.retellai.com
2. Configure origination (inbound) with Retell's SIP URI
3. Import your Avoxi number into Retell AI via the dashboard or Import Number API
During import, you'll provide:
- Your termination SIP URI from Avoxi
- Authentication credentials if required
## IP Whitelisting
For Retell's IP addresses that need to be whitelisted in Avoxi:
**United States traffic**: 143.223.88.0/21, 161.115.160.0/19
Note: There is currently no static IP address block for traffic outside of US, but it's under development .
## Transport & Encryption
Retell supports these transport methods :
- UDP: sip:sip.retellai.com;transport=udp
- TCP: sip:sip.retellai.com;transport=tcp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
Media encryption via SRTP is also supported .
Once imported, your Avoxi number will function like any Retell-purchased number for inbound and outbound calls [(2) ]() .
**AI Evy
10/26/2025, 2:03 PMpeaky_blind3r
10/26/2025, 2:06 PMAI Evy
10/26/2025, 2:06 PMAI Evy
10/26/2025, 2:07 PMsip:sip.retellai.com
3. Check transport protocol - Try explicitly specifying transport:
- UDP: sip:sip.retellai.com;transport=udp
- TCP: sip:sip.retellai.com;transport=tcp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
The documentation focuses on elastic SIP trunking where you configure your provider to point to Retell, but IP whitelisting on Retell's end for specific providers isn't documented and likely requires direct support assistance.AI Evy
10/26/2025, 2:07 PMAI Evy
10/26/2025, 2:07 PMpeaky_blind3r
10/26/2025, 2:08 PMAI Evy
10/26/2025, 2:08 PMAI Evy
10/26/2025, 2:08 PMX- or x- [(1) ]() . These headers become available in call.custom_sip_headers and are automatically added to your dynamic variables . For example, if Avoxi sends headers like X-test-header, they'll be accessible in your call data .
However, this is different from authentication credentials.
## Authentication for SIP Trunking
The documentation discusses authentication in the context of you setting up elastic SIP trunking with your telephony provider (like Twilio or Telnyx) , where you can choose between IP whitelisting or credential-based authentication [(2) ]() .
For your specific scenario—where Avoxi needs to send calls to Retell—the documentation doesn't specify how to obtain or configure authentication credentials on Retell's side.
## Recommendation
Since the 486 Rejected error suggests an authentication or configuration issue, and the documentation doesn't cover obtaining Retell-side SIP credentials for incoming connections from third-party providers, you should:
1. Contact Retell AI support directly to request:
- Whitelisting of Avoxi's IPs (154.65.66.84, 154.65.66.85)
- Any required SIP authentication credentials or headers for Avoxi to include
- Visit [Contact Sales]()
- Visit [)
The documentation focuses on outbound configuration from Retell rather than inbound authentication requiremenAI Evy
10/26/2025, 2:08 PMAI Evy
10/26/2025, 2:08 PMAI Evy
10/26/2025, 2:08 PMpeaky_blind3r
10/26/2025, 2:10 PMpeaky_blind3r
10/26/2025, 2:10 PMAI Evy
10/26/2025, 2:10 PMAI Evy
10/26/2025, 2:11 PMsip:{+E.164}@sip.retellai.com:5060 needs adjustment. According to the documentation, when using the "Dial to SIP URI" method, you need to obtain a specific call_id first [(1) ]() .
## Correct Approach for Avoxi → Retell Integration
Since Avoxi doesn't appear to support elastic SIP trunking in the traditional sense, you'll need to use the Dial to SIP URI method :
1. Register each call first using the Register Phone Call API to get a call_id
2. Construct the SIP URI as: sip:{call_id}@sip.retellai.com
This means you can't use a static URI like sip:{+E.164}@sip.retellai.com:5060. Each call requires a unique call_id generated by Retell .
## Port Configuration
Remove the :5060 from your URI. Retell's SIP server address is simply sip:sip.retellai.com . If you need to specify transport, use these formats :
- UDP: sip:sip.retellai.com;transport=udp
- TCP: sip:sip.retellai.com;transport=tcp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
## Limitations
Using the Dial to SIP URI method means you won't be able to use Retell's transfer call feature, as Retell doesn't have direct control over your telephony provider . You would need to implement custom transfer logic if needed .
## Recommended Solution
If possible, check if Avoxi supports Elastic SIP Trunking. This is the recommended integration method and would allow you to:
- Set Retell's SIP server (sip:sip.retellai.com) as the origination URI
- Import your Avoxi numbers directly into Retell
- Use all Retell features including call transfer
If Avoxi doesn't support elastic SIP trunking, you'll need to implement code that calls the Register Phone Call API before each call to generAI Evy
10/26/2025, 2:11 PMAI Evy
10/26/2025, 2:11 PMAI Evy
10/26/2025, 2:11 PMpeaky_blind3r
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMsip:sip.retellai.com
- Termination settings (for outbound) : Configure your AVOXI termination SIP URI
2. Authentication
You'll need to choose one of two methods :
- **IP Whitelisting**: Whitelist Retell's US IP blocks in AVOXI:
- 143.223.88.0/21
- 161.115.160.0/19
- **Credentials**: Set up username/password authentication in AVOXI
3. Import Your AVOXI Number to Retell
Once your SIP trunk is configured in AVOXI, import your number into Retell [(2) ]() :
- Provide your AVOXI termination SIP URI
- If using credential-based auth, supply the username and password
- You can import via the Retell dashboard or the Import Number API
## Transport Protocol
Retell supports these transport methods [(1) ]() :
- UDP: sip:sip.retellai.com;transport=udp
- TCP: sip:sip.retellai.com;transport=tcp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
## Troubleshooting Your 486 Error
The "486 Rejected" error you're experiencing is likely due to:
1. Missing IP whitelisting - Add Retell's IP blocks to AVOXI's whitelist
2. Authentication not configured - Set up credentials if not using IP whitelisting
3. Incorrect SIP URI format - Remove the {+E.164} placeholder and port :5060
Once properly configured, your AVOXI number will function like any Retell-purchased number for both inbound and outbound calls [(2) ]() .
**AI Evy
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMpeaky_blind3r
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMAI Evy
10/26/2025, 2:12 PMsip:sip.retellai.com
- **Transport protocol**: Choose UDP, TCP, or TLS
- UDP: sip:sip.retellai.com;transport=udp
- TCP: sip:sip.retellai.com;transport=tcp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
2. Authentication Configuration
Choose one authentication method :
Option A: IP Whitelisting
Whitelist Retell's US IP blocks in AVOXI :
- 143.223.88.0/21
- 161.115.160.0/19
Option B: Credential-Based Authentication
Set up username and password in AVOXI's outbound authentication settings [(2) ]() .
3. Import Your AVOXI Number to Retell
Once AVOXI is configured, import your number into Retell AI [(1) ]() :
- Provide your AVOXI termination SIP URI [(2) ]()
- Supply username and password if using credential-based auth
- Assign an agent ID to handle calls on this number
You can import via the Retell dashboard or programmatically using the Import Number API .
## Benefits of This Setup
Using Elastic SIP Trunking means [(1) ]() :
- All Retell telephony features will be supported (assuming AVOXI supports them)
- Your AVOXI number will function like a Retell-purchased number [(2) ]()
- You can make and receive calls, transfer calls, and manage the number from the Retell dashboard [(1) ](AI Evy
10/26/2025, 2:12 PMsip:sip.retellai.com
2. Set up proper authentication (IP whitelist or credentials) [(1) ]() [(2) ]()
3. Remove the {+E.164} placeholder and :5060 port from your previous configuration [(1) ]()
**AI Evy
10/26/2025, 2:13 PMAI Evy
10/26/2025, 2:13 PMpeaky_blind3r
10/26/2025, 2:15 PMAI Evy
10/26/2025, 2:16 PMAI Evy
10/26/2025, 2:16 PMcall_id
2. Route the call to: sip:{call_id}@sip.retellai.com
However, this requires custom code and won't support Retell's transfer call feature .
## Option 4: Jambonz as Intermediary
The documentation mentions Jambonz as a partner that already connects with Retell and supports static IP addresses . If you need help with SIP trunking setup, Jambonz offers dedicated Slack support for Retell users . However, pricing details aren't specified in the documentation.
## Recommendation for DemoAI Evy
10/26/2025, 2:16 PMAI Evy
10/26/2025, 2:16 PMpeaky_blind3r
10/26/2025, 2:17 PMAI Evy
10/26/2025, 2:17 PMAI Evy
10/26/2025, 2:17 PMsip:sip.retellai.com [(2) ]()
- Import the number into Retell AI [(1) ]()
This avoids AVOXI's $19.99/month trunk fee while giving you a Swedish number.
Option 2: Port Your AVOXI Number to Twilio/Telnyx
If you already have a Swedish number with AVOXI, you could port it to Twilio or Telnyx [(3) ]() . This would allow you to:
- Keep your existing Swedish number
- Avoid the $19.99/month SIP trunk fee
- Use pay-as-you-go pricing for demo calls
Option 3: Call Forwarding Workaround
As mentioned in the Discord community, you could enable call forwarding from your AVOXI Swedish number to a Retell-purchased US number . While not ideal, this could work for demo purposes if you explain the forwarding to clients.
## If You Must Keep AVOXI
If you need to keep the AVOXI Swedish number and can't avoid the trunk fee, follow the elastic SIP trunking setup I outlined earlier with proper authentication (IP whitelisting or credentials) [(2) ](AI Evy
10/26/2025, 2:17 PMAI Evy
10/26/2025, 2:17 PMAI Evy
10/26/2025, 2:17 PMpeaky_blind3r
10/26/2025, 2:21 PMAI Evy
10/26/2025, 2:21 PMAI Evy
10/26/2025, 2:21 PMsip:sip.retellai.com
- **Transport protocol**: Choose TCP (recommended) - sip:sip.retellai.com;transport=tcp
2. Authentication Setup
Choose one method :
Option A: IP Whitelisting
Whitelist Retell's US IP blocks in AVOXI :
- 143.223.88.0/21
- 161.115.160.0/19
Option B: Credentials
Set up username/password in AVOXI's authentication settings [(2) ]() [(3) ]() .
3. Import Your Swedish Number to Retell
Use the Import Number API or dashboard [(4) ]() . You'll need:
- Your AVOXI termination SIP URI
- Username and password (if using credential-based auth)
json
{
"phone_number": "+46XXXXXXXXX",
"termination_uri": "your-avoxi-uri.com",
"sip_trunk_auth_username": "username",
"sip_trunk_auth_password": "password",
"inbound_agent_id": "your_agent_id"
}AI Evy
10/26/2025, 2:21 PMAI Evy
10/26/2025, 2:21 PMAI Evy
10/26/2025, 2:21 PMpeaky_blind3r
10/26/2025, 2:27 PMAI Evy
10/26/2025, 2:27 PMAI Evy
10/26/2025, 2:27 PMcall_id [(2) ]() :
json
{
"agent_id": "your_agent_id",
"from_number": "+46XXXXXXXXX",
"direction": "inbound"
}AI Evy
10/26/2025, 2:27 PMsip:{call_id}@sip.retellai.com
3. Dial the call to that URI from Jambonz
### Step 5: Handle the Call Flow
Your Jambonz application will act as the intermediary, receiving the call from AVOXI and routing it to Retell using the dynamically generated SIP URI [(2) ]() [(1) ]() .
## Important Limitations
When using the Dial to SIP URI method (AVOXI → Jambonz → Retell) [(2) ]() :
- You won't be able to use Retell's built-in transfer call feature
- You'll need to implement custom transfer logic if needed
- All traffic appears as inbound to Retell
## Alternative Recommendation
The community member also noted: "Works much better than the previous streaming app, better latency too." [(1) ]()
However, if you can configure AVOXI's elastic SIP trunking directly to Retell (even with the $19.99 fee) , that's still the recommended approach as it provides full feature support [(2) ]() .
For detailed Jambonz integration examples, check out the [Jambonz-Retell integration repository]() [(3) ]() .
---
**AI Evy
10/26/2025, 2:27 PMAI Evy
10/26/2025, 2:27 PMpeaky_blind3r
10/26/2025, 2:35 PMAI Evy
10/26/2025, 2:35 PMAI Evy
10/26/2025, 2:35 PMsip:sip.retellai.com
Or with transport specified :
- TCP: sip:sip.retellai.com;transport=tcp
- UDP: sip:sip.retellai.com;transport=udp
- TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
2. Configure Authentication
Choose one method :
Option A: IP Whitelisting
Whitelist Retell's US IP blocks in AVOXI :
- 143.223.88.0/21
- 161.115.160.0/19
Option B: Credential-Based
Set up username and password in AVOXI's termination settings [(2) ]() [(3) ]() .
3. Import Your Swedish Number to Retell
Once AVOXI is configured, import your number using the termination URI from AVOXI [(1) ]() [(2) ]() . You can do this via the Retell dashboard or the Import Number API [(1) ]() .
If using credentials, provide the username and password when importing [(2) ]() [(3) ]() .
## This Avoids the Dial to SIP URI Method
Since AVOXI supports elastic SIP trunking (like Sonetel did) , you don't need the Dial to SIP URI method that requires registering each call individually [(1) ]() . This means:
- All Retell telephony features will work
- You can use call transAI Evy
10/26/2025, 2:35 PMAI Evy
10/26/2025, 2:35 PMAI Evy
10/26/2025, 2:35 PMpeaky_blind3r
10/26/2025, 2:37 PMAI Evy
10/26/2025, 2:37 PMAI Evy
10/26/2025, 2:38 PMcall_id for each call .
## Why You Need Jambonz as an Intermediary
When you route AVOXI → Jambonz → Retell AI, here's what happens:
1. AVOXI forwards calls to Jambonz using AVOXI's SIP URL forwarding (avoiding the $19.99 trunk fee)
2. Jambonz acts as the intermediary that registers each call with Retell
3. Jambonz generates the dynamic SIP URI (sip:{call_id}@sip.retellai.com) for each call
## You Don't Get a Termination URI from AVOXI
When using the SIP URL method (non-trunk) , AVOXI doesn't provide you with a termination URI because:
- AVOXI is only forwarding inbound calls to another destination (Jambonz)
- The termination URI is what Retell would use to send outbound calls back through AVOXI
- Since you're only doing inbound calls and using SIP URL forwarding, there's no termination URI to configure
## The Trade-off
Option 1: Pay $19.99/month for AVOXI SIP Trunk
- You get a termination URI from AVOXI
- Import your number directly into Retell with that termination URI
- Full elastic SIP trunking with all features
*Option 2: Use AVOXI SIP URL → Jambonz → Retell (Free from trunk fee) *
- No termination URI needed from AVOXI
- Jambonz handles the dynamic SIP URI generation
- Requires Jambonz application code [(2) ]()
- Cannot use Retell's built-in transfer featurAI Evy
10/26/2025, 2:38 PMAI Evy
10/26/2025, 2:38 PMpeaky_blind3r
10/26/2025, 2:47 PMpeaky_blind3r
10/26/2025, 2:49 PMAI Evy
10/26/2025, 2:49 PMAI Evy
10/26/2025, 2:49 PMsip:{call_id}@sip.retellai.com
## The Key Difference
With Elastic SIP Trunking:
- You import the number once with AVOXI's termination URI
- Retell stores this configuration
- All future calls use this setup automatically
With Jambonz Method:
- Jambonz's SIP realm receives calls from AVOXI
- Each call is registered individually with Retell to get a unique call_id
- Jambonz constructs the dynamic SIP URI for each call
So yes, you need a "destination" in both cases—but with the Jambonz method, that destination is Jambonz's SIP realm (not a traditional termination URI that you'd import into Retell) .
**AI Evy
10/26/2025, 2:49 PMAI Evy
10/26/2025, 2:49 PMpeaky_blind3r
10/26/2025, 3:12 PMAI Evy
10/26/2025, 3:12 PMAI Evy
10/26/2025, 3:12 PM154.65.66.84:5060 and 154.65.66.85:5060 are AVOXI's SIP gateway IPs
- Both are set for Inbound and Outbound, which is correct
- This allows Jambonz to receive calls from AVOXI and send calls back if needed
E.164 Syntax:
- "Prepend a leading +" is enabled, which ensures proper number formatting for Retell AI
- This matches Retell's requirement for E.164 format [(2) ]()
Default Application:
- You've set "Retell" as the default application, which means calls from AVOXI will automatically route to your Retell application in Jambonz
## Next Steps: Configure Your Jambonz Retell Application
Now that your AVOXI carrier is configured in Jambonz, you need to set up the Jambonz application that routes calls to Retell AI [(1) ]() . This application needs to:
1. Register each incoming call with Retell to get a call_id
2. Construct the SIP URI as sip:{call_id}@sip.retellai.com
3. Dial the call to Retell using that dynamic URI
## Important Configuration in AVOXI
In your AVOXI account, configure the SIP URL forwarding to point to your Jambonz SIP realm. This is the connection that sends calls from AVOXI to Jambonz.
## What You've Avoided
By using this setup, you're avoiding AVOXI's $19.99/month SIP trunk fee while still being able to use your Swedish number with Retell AI for inbound calls .
## Limitations to Remember
When using the Dial to SIP URI method (which is what AVOXI → JamboAI Evy
10/26/2025, 3:12 PMAI Evy
10/26/2025, 3:12 PMAI Evy
10/26/2025, 3:12 PM