https://retellai.com/?utm_source=discord&utm_medium=seo logo
can i use the same phone number Caller ID for dif...
# ask-retell-partners
d
@AI Evy can i use the same phone number Caller ID for different voice agents?
a
Thanks for tagging me @dcphealth_99900. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can use the same phone number with different voice agents [(1) ](

▾

) . When using inbound webhooks, you can route calls from the same phone number to different agents based on various conditions . The documentation shows that with inbound webhooks, you could send people to multiple agents using the same phone number - for example, routing callers to a Spanish agent, Chinese agent, or completely different agent depending on the person calling . This gives you flexibility in how you handle incoming calls on a single number . For custom telephony setups, you can also use the Register Phone Call API to specify which agent should handle each call [(2) ]() . This allows dynamic agent assignment even when calls come from the same phone number .
​ To learn more, see the sources I considered: [[1] Part 1: BuildYour First Retell Voice Al Agent That Sells Cars](

https://www.youtube.com/watch?v=p0DusrDjfjA▾

) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy how about for outbound calls
a
Thanks for the follow-up, @dcphealth_99900. I'll get back to you soon.
### Answer Yes, you can use the same phone number for outbound calls with different voice agents [(1) ]() . When you bind agents to a phone number, you can assign different inbound and outbound agents to the same number . You can also leave the agent unset to disable inbound or outbound functionality as needed . For outbound calls, you can specify which agent to use by setting the
outbound_agent_id
when creating or importing a phone number [(2) ]() [(3) ]() . The phone number will automatically use the assigned agent when conducting outbound calls [(3) ]() . If you set
outbound_agent_id
to null, the number won't be able to initiate outbound calls without an agent ID override . Here's how you can make an outbound call with a specific agent:
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444', // replace with the number you purchased
 to_number: '+12137774445', // replace with the number you want to call
 retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
 name: 'John Doe',
 blood_group: 'B+'
 }, 
 custom_sip_headers: { // replace with custom sip headers you want to send (optional)
 X-Custom-Header: 'Custom Value'
 }
}) ;
[(1) ]() This gives you flexibility to use the same phone number with different agents for different outbound calling scenarios.
​ To learn more, see the sources I considered: [[1] Outbound calls (make calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.