Limit inbound calls per DID



this is probably an asterisk question, but i was wondering if there’s a way to limit inbound calls per DID. how would i get this to work. I have multiple DIDs that i’d like to limit concurrent calls to.

Limitare le chiamate in entrata
(Lorne Gaetz) #2

Possible but requires custom code. You would have to have a context to receive all inbound calls, and then use the GROUP() and GROUP_COUNT() Asterisk functions to keep track of the calls.

(Mvogel4949) #3

You could potentially direct the DID to a queue with a max # of callers in queue. Failover destination of the queue could be disconnect?