https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am making changes to the AI Agent, but when I ca...
# ❓・ai-evy-support
a
@AI Evy I am making changes to the AI Agent, but when I call it is not updated. I moved phone numbers to different agents and also still going to former agents. Waited an hour and still old prompting coming up during call, not what is in my retell agent.
a
Thanks for tagging me @axe9467. I'll look through relevant sources and get back to you shortly.
### Answer Based on the sources, here are the key steps to troubleshoot why your agent changes aren't reflecting in calls: 1. Verify Phone Number Configuration When you update a phone number's agent assignment, you need to ensure the
inbound_agent_id
or
outbound_agent_id
is correctly set [(1) ]() . The phone number configuration includes both the agent ID and the agent version . Check that your phone number update includes the correct agent ID:
Copy code
json
{
  "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
2. Check Agent Version When you update an agent, it creates a new draft version [(2) ]() . The phone number needs to reference the correct agent version [(1) ]() . You can specify
inbound_agent_version
or
outbound_agent_version
when updating the phone number . If not provided, it will default to the latest version . 3. Publish Your Agent According to the sources, agents have a
version
and
is_published
status [(2) ]() . When you update an agent, it updates the latest draft version . You may need to publish your agent changes for them to take effect. 4. Re-verify Phone Number Assignment From a community report, it's important to re-verify that the phone number is assigned only to the intended agent [(3) ]() . Double-check in your dashboard that the phone number shows the correct agent binding. If the issue persists after verifying these steps, I recommend reaching out to Retell AI support: - Visit [Contact Sales]() - Visit [) **
​ To learn more, see the sources I considered: [[1] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Agent switching automatically bug](https://discord.com/channels/1186424376300679209/1404178632074596475) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Are there any current isues which would effect this