Hi, I have a few customers hosted on my Asterisk PBX. All incoming calls are coming from VoIP provider A and all outgoing calls are going to termination provider B (they happen to be different for now). On ONE of those customers I'd like to setup a channel limit, meaning they can have 4 calls max, either outgoing, incoming, or a combinaison of both. After that, I want it to ring busy. How do I accomplish that? I don't want to setup a global call limit for the provider, because other customers are on taking calls and have no limits. What is the best practice here? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061120/47b39f90/attachment.htm
You can set maximum channels per extension in sip.conf like using call-limit . From wiki call-limit = number : Number of simultaneous calls through this user/peer. On 20/11/06, Mike <list@virtutel.ca> wrote:> > Hi, > > I have a few customers hosted on my Asterisk PBX. All incoming calls are > coming from VoIP provider A and all outgoing calls are going to termination > provider B (they happen to be different for now). > > On ONE of those customers I'd like to setup a channel limit, meaning they > can have 4 calls max, either outgoing, incoming, or a combinaison of both. > After that, I want it to ring busy. > > How do I accomplish that? I don't want to setup a global call limit for > the provider, because other customers are on taking calls and have no > limits. What is the best practice here? > > Mike > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061120/f44aae04/attachment.htm
Mike wrote:> Hi, > > I have a few customers hosted on my Asterisk PBX. All incoming calls > are coming from VoIP provider A and all outgoing calls are going to > termination provider B (they happen to be different for now). > > On ONE of those customers I'd like to setup a channel limit, meaning > they can have 4 calls max, either outgoing, incoming, or a combinaison > of both. After that, I want it to ring busy. > > How do I accomplish that? I don't want to setup a global call limit for > the provider, because other customers are on taking calls and have no > limits. What is the best practice here? >Setup dialplan logic that counts the calls for the specific customer. Once they have 4 simultaneous calls, jump to a priority that goes busy. Jeremy McNamara