https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can I have Retell use a different phone number for...
# ❓・ai-evy-support
f
@AI Evy Can I have Retell use a different phone number for calling depending on dynamic variables?
a
Thanks for tagging me @fakedane. I'll look through relevant sources and get back to you shortly.
### Answer I don't have information in the available sources showing that you can use dynamic variables to select the
from_number
when making outbound calls with Retell AI. When creating a phone call, the
from_number
parameter is a required string in E.164 format [(1) ]() . The API documentation shows this as a direct value, not supporting dynamic variable syntax [(1) ]() [(2) ]() . Dynamic variables in Retell AI are primarily used for injecting context into prompts and tool descriptions through the
retell_llm_dynamic_variables
parameter [(3) ]() [(1) ]() [(2) ]() , not for selecting which phone number to use as the caller. If you need to use different phone numbers based on conditions, you would need to programmatically determine the appropriate
from_number
in your application logic before making the API call to create the phone call [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.