https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can we block numbers from calling
# ❓・ai-evy-support
t
@AI Evy How can we block numbers from calling?
a
Thanks for tagging me @themtzangel. I'll look through relevant sources and get back to you shortly.
### Answer For inbound calls, you can use the inbound webhook feature to detect and block unwanted traffic based on the incoming number [(1) ]() . There are a couple of approaches to block specific numbers: Method 1: Inbound Call Webhook You can set up an [inbound call webhook]() to detect and block unwanted traffic based on the incoming number . You can override the agent ID and route to an agent that just hangs up the call [(2) ]() . Method 2: Custom Twilio Setup If you're using custom Twilio, you can use Twilio's blocking features [(3) ]() . For more flexibility, you could use a number provisioned by a third party like Twilio/Telnyx and handle the blocking at the carrier level before the call reaches Retell [(2) ]() . Additional Prevention Measures For broader abuse prevention, you can also implement rate limiting based on phone numbers or IP addresses, and include prompts in your agent that can detect unrelated calls and hang up quickly [(1) ]() .
​ To learn more, see the sources I considered: [[1] Prevent abuse](https://docs.retellai.com/reliability/prevent-abuse) [[2] How to Block Specific Numbers from Bot Handling Calls?](https://discord.com/channels/1186424376300679209/1374545839191752786) [[3] Can I block a phone number?](https://discord.com/channels/1186424376300679209/1274871116803870811) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.