Sami Ahmed
09/01/2025, 5:03 PMAI Evy
09/01/2025, 5:03 PMAI Evy
09/01/2025, 5:03 PMsip:5t4n6j0wnrl.sip.livekit.cloud
2. Move numbers to Elastic SIP Trunking :
Purchase numbers or move existing numbers to this trunk
3. Import numbers to Retell :
You can import the number programmatically using the Import Number API [(2) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.retrieve('+14157774444') ;
console.log(phoneNumberResponse.inbound_agent_id) ;
[(3) ]()
When importing, you'll need to supply the termination SIP URI you set up in Step 1 [(1) ]() . The termination URI should end with ".pstn.twilio.com" [(2) ]() . If you set up authentication via credentials, you'll also need to supply the username and password [(1) ]() [(2) ]() .
Once imported, the number will show up in your Retell dashboard and you can make phone calls directly from there or use the Create Phone Call API programmatically [(1) ]() .AI Evy
09/01/2025, 5:04 PMAI Evy
09/01/2025, 5:04 PMSami Ahmed
09/01/2025, 5:04 PMSami Ahmed
09/01/2025, 5:05 PMAI Evy
09/01/2025, 5:05 PMAI Evy
09/01/2025, 5:05 PMAI Evy
09/01/2025, 5:05 PMAI Evy
09/01/2025, 5:05 PM