Limiting calls from every number for a specific ti...
# support
w
Is there a way to limit calls from every number in a specific timeframe? For example, you can only call twice every 10 minutes. I'd want to use this to prevent people spam calling as this will eat up the balance. Of course we're not talking big amounts but if somebody is willing to mess with you, this could turn out as a pretty big issue imo.
v
@wirevo Yes, you can implement a rate limiting feature to restrict the number of calls from each number within a specific timeframe. This would involve setting up logic on your server to track the number of calls from each number and the time of each call. When a call comes in, you would check against this log to determine if the caller has exceeded the allowed number of calls within the set timeframe. If you're using VAPI, you would need to handle this logic within your application code, as VAPI itself does not provide a built-in rate limiting feature. You could store the call counts and timestamps in a database, and each time a call is initiated, you would check the database to see if the rate limit has been reached. If the limit has been exceeded, you could then block the call or take other appropriate actions. If you need assistance with setting up such a feature or have any other questions, please let me know!
You can continue this conversation by mentioning me in the message.
s
You can do it but you will need to write custom logic for it.
You can hire someone from our expert directory https://docs.vapi.ai/community/expert-directory
4 Views