Over concurrecy limit. message.
# support
g
Is there any option to decline inbound call instead of playing voice message when the channels limit reached? Currently VAPI plays the voice message "Over concurrecy limit." instead of just decline the call
v
You can decline inbound calls at the webhook level by returning a Twilio
<Reject/>
response when your concurrency limit is reached. Here’s a simple example for your
/incoming
endpoint:
Copy code
js
app.post('/incoming', async (req, res) => {
  const activeCalls = await getActiveCalls();
  if (activeCalls >= MAX_CONCURRENCY) {
    res.type('text/xml').send('<Response><Reject/></Response>');
    return;
  }
  // ...enqueue or process call as usual
});
This will immediately reject the call without playing a message when your channel limit is reached. For more details, see the [Vapi call queue management documentation](https://docs.vapi.ai/calls/call-queue-management). Source: - [Call queue management with Twilio](https://docs.vapi.ai/calls/call-queue-management)