KYB- LPP
12/28/2025, 11:21 AMAI Evy
12/28/2025, 11:21 AMAI Evy
12/28/2025, 11:21 AMAI Evy
12/28/2025, 11:21 AMAI Evy
12/28/2025, 11:21 AMKYB- LPP
12/28/2025, 11:26 AMAI Evy
12/28/2025, 11:26 AMAI Evy
12/28/2025, 11:26 AMAI Evy
12/28/2025, 11:26 AMAI Evy
12/28/2025, 11:26 AMKYB- LPP
12/28/2025, 11:28 AMKYB- LPP
12/28/2025, 11:38 AMAI Evy
12/28/2025, 11:38 AMAI Evy
12/28/2025, 11:38 AMsip:sip.retellai.com (for inbound calls)
Setup process:
1. Purchase the local number from your carrier [(1) ]()
2. Move/configure the number on an elastic SIP trunk with your provider [(2) ]()
3. Set up termination (outbound) with proper SIP URI and authentication
4. Set up origination (inbound) pointing to sip:sip.retellai.com
5. Import the number to Retell via the dashboard or API, providing the termination SIP URI and credentials
Important note: Your carrier must provide numbers in E.164 format (e.g., +852XXXXXXXX for Hong Kong) . Some local providers may not do this by default, which can cause issues. [(3) ]()
For detailed Twilio SIP trunk setup steps, see: [Twilio SIP Trunk Documentation]() [(2) ]()AI Evy
12/28/2025, 11:38 AMAI Evy
12/28/2025, 11:38 AMAI Evy
12/28/2025, 11:52 AMKYB- LPP
12/28/2025, 11:52 AMAI Evy
12/28/2025, 11:53 AMyourprovider.sip.com) [(1) ]()
- Authentication credentials — Username and password if they require SIP authentication [(2) ]() , [(3) ]()
2. Origination Settings (for inbound calls) :
- Ask them to configure origination to point to Retell's SIP server: sip:sip.retellai.com [(1) ]()
- Confirm which transport method they support: TCP (recommended) , UDP, or TLS
3. Phone Number Details:
- Your Hong Kong number in E.164 format (e.g., +852XXXXXXXX) [(3) ]()
- Confirm the number is assigned to the SIP trunk
4. Network/Firewall Configuration:
- Ask if they need to **whitelist Retell's IP block**: 18.98.16.120/30 [(1) ]()
- If using TLS with SRTP encryption, confirm they support it
5. Questions to Ask Your Carrier:
- "Do you support elastic SIP trunking?"
- "Can you provide a termination SIP URI for outbound calls?"
- "Can you configure origination to an external SIP address for inbound calls?"
- "Do you require IP whitelisting or username/password authentication?"
- "What transport protocols do you support (TCP/UDP/TLS) ?"
Once you have this info, import the number to Retell via the dashboard or API:AI Evy
12/28/2025, 11:53 AMjavascript
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) ;
[(3) ]()
For detailed setup guidance, see: [Custom Telephony Overview]() [(1) ]()AI Evy
12/28/2025, 11:53 AMAI Evy
12/28/2025, 11:53 AMKYB- LPP
12/28/2025, 12:08 PMAI Evy
12/28/2025, 12:08 PMAI Evy
12/28/2025, 12:09 PMAI Evy
12/28/2025, 12:09 PMAI Evy
12/28/2025, 12:09 PM