<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok. But Im sure I was using only 2 include levels i.e. a file included
from a file included and that there was no circular nesting. Here is my
scenario - <br>
<br>
queues.conf<br>
<br>
#include <sales-queue.conf><br>
#include <support-queue.conf><br>
.<br>
.<br>
.<br>
#include <billing-queue.conf><br>
<br>
Then I have a file defaults.conf which contains some default options
for queues and that file is being included in all the above
xxxxx-queues.conf files.<br>
<br>
Then I also have xxxxx-agents.conf files which are files containing
queue members. These files are included in their respective
xxxxx-queues.conf files.<br>
<br>
The reason im doing this is because we have 30+ queues and 150+ agents.<br>
<br>
I will try it out again and debug this in the future.<br>
<br>
Thanks and Regards,<br>
Deepak<br>
<br>
Tzafrir Cohen wrote:
<blockquote cite="mid:20070622065552.GI23204@xorcom.com" type="cite">
<pre wrap="">On Fri, Jun 22, 2007 at 10:28:32AM +0530, Deepak Bhat wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yes I was aware of the MAX_INCLUDE_LEVEL define. Just wasnt sure about
increasing it cos I thgt it might have been kept that low for a reason.
I have my setup working perfectly fine right now ( I just reduced the
number of files being included and there is no nesting either). Though I
will try out your suggestions in the future when I need to make changes.
Will let you know of my findings then.
</pre>
</blockquote>
<pre wrap=""><!---->
It's "include level". Not "total number of includes".
If you have:
#include file1
#include file2
#include file3
...
#include file100
It should work fine.
If that gives you an error, it is a bug.
There may be a problem with:
#include file1
which has:
#include file1.1
which has:
#include file1.1.1
up to more than 10 nesting levels. But I fail to see why is that needed.
Again, I'm looking for an example that would make some sense for some
specific situation.
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for your help.
Regards,
Deepak
Tzafrir Cohen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Thu, Jun 21, 2007 at 04:07:03PM +0530, Deepak Bhat wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">I repeat:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">To trace this, enable debugging and debug logging. There is a debug
comment for each included file.
</pre>
</blockquote>
</blockquote>
<pre wrap="">enable 'debug' for some log file in logger.conf , and then run:
logger reload
reload
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>