https://retellai.com/?utm_source=discord&utm_medium=seo logo
When I activate the inbound webhook option ot fail...
# ❓・ai-evy-support
c
@AI Evy When I activate the inbound webhook option ot fails after obtaining the response from n8n and in my phone a message pops up saying "489 - USUARIO OCUPADO" . I copied the response JSON directly from the documentation website, made sure my phone was active and connected to the agent and the agent ID is correct. I don't know what is happening
a
Thanks for tagging me @cassandramorones_95018. I'll look through relevant sources and get back to you shortly.
### Answer The "489 - USUARIO OCUPADO" message indicates the call is being rejected or cannot be connected after the inbound webhook response is processed. A few things to check based on the documentation and related discussions: 1. The inbound webhook expects a specific response format, and if the format is invalid, the call will not be connected [(1) ]() [(2) ]() . 2. Ensure your webhook response includes the required structure. Example from the documentation:
Copy code
json
   {
     "call_inbound": {
       "override_agent_id": "agent_12345",
       "override_agent_version": 1,
       "dynamic_variables": {
           "customer_name": "John Doe"
       },
       "metadata": {
           "random_id": "12345"
       }
     }
   }
If you omit fields or change the structure, Retell may reject the response [(2) ]() . 3. If you want to accept the call, your response must include a valid "override_agent_id". If you want to reject the call, send a 200 status with no "override_agent_id" in the response [(1) ]() . 4. If your webhook takes too long to respond (over 10 seconds) , or the response is not a 2xx HTTP status, the call may fail . 5. Double-check that the agent is correctly bound to the phone number in the dashboard [(3) ]() [(4) ]() . If you have already copied the example JSON from the docs and your agent ID is correct, verify that: - Your n8n webhook is sending the response with the correct content type (application/json) , - The response is not being modified or wrapped by n8n in a way that changes the structure. You can review the official docs for the required structure here: [Inbound call webhook]() . If the issue persists, check these resources: - [Inbound call webhook]() - [Inbound Webhook Failure]() - [Inbound Call issues]() Would you like a general troubleshooting answer based on my knowledge as well?
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Inbound Webhook Failure](https://discord.com/channels/1186424376300679209/1388504212048187392) [[3] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[4] Inbound Call issues](https://discord.com/channels/1186424376300679209/1400852237428723763) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.