Limit Inbound Channels

I am having a problem with limiting the inbound channels. I have read a couple of forums on how to do this but nothing is really working. What I am trying to do is limit them amount of incoming phone calls the PBX can have. Any help would be great. thanks in advance!!

What is your criteria to limit ? The DID?, i wrote something that worked a while back, might work for you

I am looking for something that I can say limit that calls to a max of 15 incoming at any given time. So that the system does not allow for more than 15 incoming calls