https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I test with real call number on retell ai
# ❓・ai-evy-support
g
@AI Evy how do I test with real call number on retell ai
a
Thanks for tagging me @giang5469. I'll look through relevant sources and get back to you shortly.
### Answer To test with a real phone number on Retell AI, you can create outbound phone calls using the API [(1) ]() . Here's how to make a test call:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
For inbound testing, you need to first set up a phone number with an agent bound to it [(2) ]() . You can update a phone number to bind it to your agent:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.update('+14157774444', {
 inbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
 nickname: 'Frontdesk Number',
 outbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
Based on community feedback, after setting up your number through Retell with the Twilio option and binding an agent for inbound calls, you should be able to call the number directly [(3) ]() . If you experience silence when calling, it may need some time to update and propagate .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[3] Discord message from @burton_94559 on 2025-03-31](https://discord.com/channels/1186424376300679209/1186462578310910112/1356360825102799109) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
g
you mean I bought a phone number to register, can it be any number?
a
Thanks for the follow-up, @giang5469. I'll get back to you soon.
g
@AI Evy you mean I bought a phone number to register, can it be any number?
a
### Answer No, you cannot use just any phone number with Retell AI. There are specific requirements depending on your setup: ## For Retell-managed numbers When purchasing numbers through Retell, you can only purchase US and Canadian numbers [(1) ]() . Currently only US area codes are supported [(2) ]() . You can choose between: - Regular US numbers: $2/month [(1) ]() - US toll-free numbers: $5/month - Canadian numbers: $2/month ## For existing numbers If you want to use an existing phone number, you have a few options: 1. **Port your number**: Some telephony providers like Twilio allow you to port your existing number to their system, after which you can use it with Retell [(3) ]() 2. **Call forwarding**: You can enable call forwarding from your existing number to a business phone number purchased through Retell or a telephony provider 3. **Custom telephony**: You can import phone numbers from your own telephony provider using the Import Phone Number API [(4) ]() , but this requires setting up custom telephony integration ## API differences - **Create Phone Call**: Used only for Retell-managed numbers (purchased from Retell) [(5) ]() - **Register Phone Call**: Used for custom telephony provided numbers The Register Phone Call API is specifically for custom telephony setups where you bring your own numbers from providers like Twilio, Telnyx, or other SIP trunking services [(6) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.