Abhishek Tayal
02/03/2026, 11:18 AMAI Evy
02/03/2026, 11:18 AMAI Evy
02/03/2026, 11:18 AMsip:sip.retellai.com [(1) ]()
3. Import the number into Retell
Once your number is configured with your SIP trunking provider, import it to Retell using the dashboard or the Import Number API: [(3) ]()
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) ;
You'll need to provide the termination URI from your SIP trunking provider, and optionally authentication credentials if required.
Transport options supported: TCP (recommended) , UDP, or TLS. [(1) ]()
Check out these resources for detailed setup guides:
- [Custom Telephony Overview]()
- [Twilio SIP Trunking Guide]()AI Evy
02/03/2026, 11:18 AMAI Evy
02/03/2026, 11:18 AM