Rafael dos Santos Saraiva
2015-Aug-12 12:34 UTC
[asterisk-users] Busy level in Asterisk 11
Hi I need to set the number of incoming calls to one, but the outgoing calls should be unlimited. I think the busylevel parameter is for it(incoming calls), but not works. My config is: cat sip.conf [general] [template](!) qualify=yes cc_agent_policy=generic cc_monitor_policy=generic call-limit=2 busylevel=1 callcounter=yes subscribecontext = hint allowsubscribe=yes [100](template) type=friend context=default host=dynamic secret=*** [101](template) type=friend context=default host=dynamic secret=*** [102](template) type=friend context=default host=dynamic secret=*** Thanks in advance [image: Sua Foto] <rafaelsnsa at gmail.com>Rafael S. SaraivaPorto Alegre - RS | Mobile: (51) 8174-7956 <http://br.linkedin.com/pub/rafael-saraiva/52/aab/230> <https://plus.google.com/u/0/+RafaelSaraivaRS> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150812/fcf41bd8/attachment.html>
On Wed, Aug 12, 2015, at 09:34 AM, Rafael dos Santos Saraiva wrote:> HiKia ora,> I need to set the number of incoming calls to one, but the outgoing > calls > should be unlimited. I think the busylevel parameter is for it(incoming > calls), but not works. My config is:<snip> The "busylevel" configuration option controls device state: ; If you set the busylevel, we will indicate busy when we have a number of calls that ; matches the busylevel treshold. That is, if the number of calls is equal to the busylevel then the state of the device is considered busy. It does not prevent calls from occurring. The "call-limit" configuration option is what prevents the calls, and it has no separation between inbound and outbound. You would have to use other constructs (such as group counting in the dialplan) to do it. Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Rafael dos Santos Saraiva
2015-Aug-14 14:36 UTC
[asterisk-users] Busy level in Asterisk 11
Hi Joshua Thanks for you explanation. I found another problem. When I reject call by group limit, the CCSS do not work, only if call limit on sip peers is set to 1. There is a way to using ccss when call limit is different to one? Thanks in advance. [image: Sua Foto] <rafaelsnsa at gmail.com>Rafael S. SaraivaPorto Alegre - RS | Mobile: (51) 8174-7956 <http://br.linkedin.com/pub/rafael-saraiva/52/aab/230> <https://plus.google.com/u/0/+RafaelSaraivaRS> 2015-08-12 9:41 GMT-03:00 Joshua Colp <jcolp at digium.com>:> On Wed, Aug 12, 2015, at 09:34 AM, Rafael dos Santos Saraiva wrote: > > Hi > > Kia ora, > > > I need to set the number of incoming calls to one, but the outgoing > > calls > > should be unlimited. I think the busylevel parameter is for it(incoming > > calls), but not works. My config is: > > <snip> > > The "busylevel" configuration option controls device state: > > ; If you set the busylevel, we will indicate busy when we have a number > of calls that > ; matches the busylevel treshold. > > That is, if the number of calls is equal to the busylevel then the state > of the device is considered busy. It does not prevent calls from > occurring. > > The "call-limit" configuration option is what prevents the calls, and it > has no separation between inbound and outbound. You would have to use > other constructs (such as group counting in the dialplan) to do it. > > Cheers, > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20150814/ceb6342c/attachment.html>