https://retellai.com/?utm_source=discord&utm_medium=seo logo
when i call retell through my webhook i recieve th...
# ❓・ai-evy-support
a
@AI Evy when i call retell through my webhook i recieve the propmpt "Sorry your ai receptionist is unavailble righ now." then hang up
a
Thanks for tagging me @asmith1516. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] webhook on phone number issue](https://discord.com/channels/1186424376300679209/1417670485839319091) ​
Fallback Behavior [(2) ]() : It would be better if Retell fell back to the agent assigned to the phone number rather than a hard fail and hangup . However, currently if your webhook provides an incorrect/deleted agent ID, the call fails even with a phone number agent configured . To resolve this: 1. Verify your
override_agent_id
in the webhook response is valid and not deleted 2. Ensure your webhook responds within 10 seconds with a 2xx status code [(1) ]() 3. Set an inbound agent directly on the phone number as a fallback 4. Verify your webhook using your Retell API Key to ensure requests are coming from Retell AI [(4) ]()
### Answer The "Sorry your AI receptionist is unavailable right now" message typically indicates an issue with your inbound webhook configuration [(1) ]() . Based on community reports, if you're getting an agent ID on an inbound webhook and the agent ID you submit is incorrect or deleted, the agent fails to connect—even if you have set an agent directly on the phone number [(2) ]() . This results in a hard fail and hangup . Here's what to check: Webhook Response Requirements [(1) ]() : - Your webhook must respond with a successful status code (2xx) within 10 seconds - If no success status is received within 10 seconds, the webhook will be retried up to 3 times - If all retry attempts fail, Retell checks whether the number has an inbound agent ID set - If no inbound agent is set, the call disconnects Response Format : Your webhook response should include
override_agent_id
under the
call_inbound
object:
Copy code
json
{
  "call_inbound": {
    "override_agent_id": "agent_12345",
    "override_agent_version": 1,
    "dynamic_variables": {
      "customer_name": "John Doe"
    },
    "metadata": {
      "random_id": "12345"
    }
  }
}
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.