[Home]

Summary:ASTERISK-17837: extconfig.conf - Maximum Include level (1) exceeded
Reporter:pz (pz)Labels:
Date Opened:2011-05-11 08:37:04Date Closed:2014-01-27 14:37:04.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:1.8.3 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When i include the content of extconfig.conf more then 1 level deep i get an error when starting Asterisk:

Maximum Include level (1) exceeded
The file './extconfig_content.conf' was listed as a #include but it does not exist.

The file does exist. If i include extconfig_content.conf directly it works as it should.

In /utils/extconf.c the variable MAX_INCLUDE_LEVEL is set to 10 so if i am correct it should be possible to include the content of extconfig.conf 10 levels deep.

****** ADDITIONAL INFORMATION ******

extconfig.conf

#include ./extconfig_test.conf





extconfig_test.conf

#include ./extconfig_content.conf





extconfig_content.conf

[settings]
sippeers => odbc,asterisk
extensions => odbc,asterisk
Comments:By: Leif Madsen (lmadsen) 2011-05-11 09:48:20

I can confirm this happens. Not sure why it doesn't work with extconfig.conf, but it works with voicemail.conf.

By: Paul Belanger (pabelanger) 2012-05-09 13:17:56.713-0500

Nice, just ran into this!

By: Russell Bryant (russell) 2014-01-27 11:31:21.149-0600

https://reviewboard.asterisk.org/r/3159/