I don't have the source for 1.2.18 handy and didn't bother digging
through my 1.4.4 tree looking but a quick grep for the
exact error you see didn't reveal anything... although i greped the
typo in maaximum
However, correct that and that leads you to config.c
#define MAX_INCLUDE_LEVEL 10
I suspect if your nesting a lot of includes you would probably need
to up this level. I don't see a way to change this in asterisk.conf so
I would suggest if you really need to go that deep in includes edit
this option re-compile and be happy.
**** NOTE ***
This was in 1.4.4 maybe different in your version. I'm also not
qualified to say from a quick glance if upping this limit has any
negative impact
but I would imagine it wouldn't.... and is more to help keep from
causing loops.
On Jun 21, 2007, at 6:37 AM, Deepak Bhat wrote:
Im sure its not a circular include.
Like you said its mostly realted to the number of nested includes
but the exact meaning is not clear to me.
Anyways to get it working I have consolidated most of my queue
config files and am not including anything from files that are
included.
Thanks!
Tzafrir Cohen wrote:
On Thu, Jun 21, 2007 at 12:35:30PM +0530, Deepak Bhat wrote:
Hi all,
I am using asterisk version 1.2.18.
I recently tried to change my asterisk configuration by using
#include
statements to include other config files in my extensions.conf and
queues.conf files.
My queues.conf is in /etc/asterisk. It includes several files
which are
in /etc/asterisk/queues. Each of these files contains the config of
individual queues.
Again each of the individual queue config files in /etc/asterisk/
queues
includes files which are in /etc/asterisk/queues/queue_members.
The problem is that when I reload this config I get the following
error: -
*WARNING: Maaximum include level exceeded : 10*
Has anyone encoutered this before and does anyone know what it
means ??
Any help will be deeply appreciated as I have been unable to find
any
documentation on this.
Sounds like a circular include:
in extensions.conf:
#include extensions.conf
The circle may include more than one file.
To trac this, enable debugging and debug logging. There is a debug
comment for each included file.
Unless you really have such a complex nesting structure of include
files
and want that constant changed. That it easy to do by a code
change. I
don't really see a reason to make this configurable, until someone
shows
me a case where this does not indicate a circular include.
Hmmm... so should the error message be changed to:
*WARNING: Maaximum include level exceeded : 10. Check for circular
includes.*
?
_______________________________________________
--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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bryan Laird, Sr. Manager CM Operations
-+-
Cablemodems are the gateway to the Internet.
The Internet is a gateway to some things that are better left un-seen.
_______________________________________________
--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