https://retellai.com/?utm_source=discord&utm_medium=seo logo
- Inbound calls and voice selection when one voice...
# ❓・ai-evy-support
q
@AI Evy - Inbound calls and voice selection when one voice agent is used for multiple cusotmer but those customer want different voice. WHat options do I have?
a
Thanks for tagging me @Q4. I'll look through relevant sources and get back to you shortly.
### Answer For inbound calls where you want to use different voices for different customers with a single agent, you have a couple of options: Option 1: Use the Inbound Call Webhook with Dynamic Variables You can set up an inbound call webhook that dynamically passes customer-specific information when the call comes in [(1) ]() . This allows you to inject dynamic variables that could influence the agent's behavior, though the voice itself is set at the agent level [(2) ]() . Option 2: Override the Agent on Inbound Calls Based on community discussions, you can use the inbound webhook to override which agent handles the call [(3) ]() . This means you could create multiple agents with different voices and route incoming calls to the appropriate agent based on the caller's phone number or other identifying information . The inbound webhook approach works by setting a webhook URL on your phone number, then using that webhook to determine routing logic . When a call comes in, the webhook can return an
override_agent_id
to switch to a different agent with the desired voice configuration [(4) ]() [(3) ]() . Option 3: Multi-State Agents You could use multi-state agents, which allow multiple states within a single agent [(4) ]() . However, this approach is more suited for different conversation flows rather than different voices. The most practical solution for your use case would be creating separate agents with different voice configurations and using the inbound webhook to route calls
to the appropriate agent based on customer identification.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) [[3] multiple agent for same inbound number](https://discord.com/channels/1186424376300679209/1422923667821826058) [[4] Clarification on Assigning Multiple Agents to a Single Phone Number](https://discord.com/channels/1186424376300679209/1306563900463906880) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.