On Fri, Jun 30, 2017 at 03:15:21PM +0200, Stefan Viljoen wrote:
> Hi all
> 
> I'm trying to limit the maximum concurrent calls on my Asterisk to try and
> mitigate another problem I posted about earlier.
> 
> I've edited /etc/asterisk/asterisk.conf
> 
> And uncommented this line, and put a value of 60 in there:
> 
> maxcalls = 60
> 
> in an effort to limit my Asterisk to 60 simultaneous calls.
> 
> I did a 
> 
> core reload
> 
> in the CLI after doing that.
> 
> Any idea why my running instance totally ignores this setting? I still goes
> right ahead and services unlimited numbers of simultaneous calls - we have
> 90 extensions or so and it will happily service 90 simultaneous calls in
> spite of asterisk.conf clearly stating

I suppose asterisk.conf is not read on a reload. IIUC it is read before
the rest of the configuration.

Another small thing that makes it slightly different:

In any other configuration file you can either have '#include relative/path'
or '#include /absolute/path' to include files. A relative path would be
relative to $astetcdir. However when reading asterisk.conf, $astetcdir
is not set yet, and thus '#include relative/path' would generally not
work as expected.

-- 
               Tzafrir Cohen
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to