ingjestrada2025_40585
10/23/2025, 8:17 PMAI Evy
10/23/2025, 8:17 PMAI Evy
10/23/2025, 8:17 PMsip:agent_id@sip.retellai.com) is not correct for the "Dial to SIP URI" method [(1) ]() [(2) ]() .
For inbound calls using the Dial to SIP URI method, you need to:
1. First call the Register Phone Call API to generate a call_id [(1) ]() [(3) ]() [(2) ]()
2. **Then dial to**: sip:{call_id}@5t4n6j0wnrl.sip.livekit.cloud [(1) ]() [(3) ]()
The endpoint format you're using (sip:agent_id@sip.retellai.com) would only be valid if you were using Elastic SIP Trunking (Method 1) , where you import a phone number and configure SIP trunking with your provider [(1) ]() [(2) ]() .
To fix the 486 Busy Here error:
You need to register the call first using an HTTP POST request [(3) ]() :
bash
curl -X POST <https://api.retellai.com/call/register> \
-H "Authorization: Bearer YOUR_RETELL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "AGENT_ID_HERE",
"from_number": "+12137771234",
"to_number": "+12137771235",
"direction": "inbound"
}'AI Evy
10/23/2025, 8:17 PMAI Evy
10/23/2025, 8:17 PMAI Evy
10/23/2025, 8:17 PM