https://retellai.com/?utm_source=discord&utm_medium=seo logo
webhook on phone number issue
# ❓・bug-report
u
So for whatever reason the webhook on a phone number is causing my agents to fail - by fail i mean it rings then pickup then hangs up right away. Removing it i can call the agent, so I am assuming something with the payload is breaking it (although nothing has changed) ... feels like something has changed on Retells end here... This was working all fine the other day when testing and i had no issues at all... what is strange is i get no logs in Retell when this happens but i can see Retell calling my inbound webhook...
this is --> RESOLVED <--- i found the issue.
If you are getting the agent id on an inbound webhook, and the agent id you submit is incorrect/deleted then the agent fails to connect - even if you have set an agent directly on the phone number.
it would likley be a better solution for Retell to fall back to the agent assigned to the phone number rather than a hard fail and hangup.
c
usually the outbound/inbound agents are very different. this was handled by desing