https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can RetellAI make outbound call with my number
# ❓・ai-evy-support
x
@AI Evy Can RetellAI make outbound call with my number? Im from Indonesia and im about to use Indonesia SIP Trunking provider, not from Twilio or Telnyx. Can RetellAI still connect and make outbound call with my number if i have URI Termination
a
Thanks for tagging me @xavera23. I'll look through relevant sources and get back to you shortly.
### Answer Yes, Retell AI can make outbound calls with your Indonesian number using your local SIP trunking provider [(1) ]() . Retell AI supports custom telephony providers through Elastic SIP trunking, which is the recommended integration method . To set this up with your Indonesian SIP trunking provider: 1. Create your SIP trunk with your provider and configure it to connect to Retell's SIP server:
sip:sip.retellai.com
2. Import your number to Retell using the Import Phone Number API [(2) ]() . You'll need to provide: - Your phone number in E.164 format - The termination URI from your SIP trunk provider - SIP trunk authentication credentials (username and password) Here's the code example for importing your number:
Copy code
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) ;
For your Indonesian provider, you would replace the
termination_uri
with the URI provided by your local SIP trunking provider . Key requirements: - Your SIP trunk provider must support elastic SIP trunking [(1) ]() - You need the termination URI for outbound calls [(2) ]() - Authentication credentials (username/password) for your SIP trunk Once imported, you can make outbound calls with your Indonesian number just like numbers purchased from Retell, and it will show up in your dashboard [(1) ]() .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.