umijah
10/16/2025, 12:37 AMAI Evy
10/16/2025, 12:37 AMAI Evy
10/16/2025, 12:38 AM{ status: "BLOCKED" } . Then include in your agent prompt "if status is blocked hang up immediately" .
Alternatively, you can create an inbound call webhook and transfer blocked numbers to an agent that just hangs up [(2) ]() . You can also override the agent ID and route to an agent that just hangs up the call .
## Using Custom Telephony Providers
If you use a number from a third-party provider like Twilio, Telnyx, or other telephony providers connected via SIP, you can implement blocking at the provider level [(2) ]() [(3) ]() . With Twilio specifically, you can use Twilio Studio to implement filter logic before forwarding calls to your Retell agent [(4) ]() .
For Twilio users, there's also a built-in spam filtering option available [(3) ]() .
## Alternative Solutions
You can also use automation platforms like Make.com with filters to block specific numbers [(4) ]() . Some users have implemented dynamic variables like {{isblocked}} in combination with inbound webhooks to trigger the agent's end_call function .
The most flexible approach is using a cuAI Evy
10/16/2025, 12:38 AMAI Evy
10/16/2025, 12:38 AM