Izaak
12/18/2025, 7:32 PMAI Evy
12/18/2025, 7:32 PMAI Evy
12/18/2025, 7:33 PMAI Evy
12/18/2025, 7:33 PMsip:sip.retellai.com
2. Import the Number to Retell
- After moving your Twilio number to the elastic SIP trunk, import it to Retell
- Supply the termination SIP URI you set up in Twilio
- If you configured auth via credentials, provide the username and password as well
You can import via the dashboard (Phone Numbers → "Connect via SIP Trunking") or programmatically using the Import Phone Number API: [(2) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
phone_number: '+447XXXXXXXXX',
termination_uri: 'someuri.pstn.twilio.com',
}) ;
3. Bind an Inbound Agent
- Set the inbound_agent_id to your voice agent's ID when importing the number
For detailed setup instructions, see: [Import Phone Number]()
If you need account-level changes or run into issues, reach out via [Contact Sales]() .AI Evy
12/18/2025, 7:33 PM