jj.b
07/29/2025, 8:27 PMAI Evy
07/29/2025, 8:27 PMAI Evy
07/29/2025, 8:27 PM5t4n6j0wnrl.sip.livekit.cloud as the FQDN of Retell's SIP server . Select SRV as the DNS record type
**Setup Outbound Calls Authentication**: Select credentials as the authentication method, and add the username and password . You'll need these credentials when importing the number to Retell
Setup Inbound Setting :
- Select +E.164 as the number format
- Select G722, G729, OPUS as the codec
- Select TCP as the transport method (UDP temporarily not supported due to a connectivity issue)
- Select your SIP region
**Setup Outbound Setting**: Create a new outbound voice profile and select that in the outbound setting
## 2. Move Numbers to Elastic SIP Trunking
Purchase numbers or move existing numbers to this trunk
## 3. Import Numbers to Retell
Supply Telnyx's FQDN as the termination SIP URI . You can find your FQDN based on your choice of SIP region in [this doc]() . You'll also need to supply the username and password you set up earlier in the outbound authentication
You can import numbers programmatically via 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.import({
phone_number: '+14157774444',
termination_uri: 'someuri.pstn.twilio.com',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;AI Evy
07/29/2025, 8:27 PMAI Evy
07/29/2025, 8:27 PMjj.b
07/29/2025, 8:28 PMAI Evy
07/29/2025, 8:28 PMAI Evy
07/29/2025, 8:29 PMAI Evy
07/29/2025, 8:29 PMAI Evy
07/29/2025, 8:29 PM