[Asterisk-Users] Extensions.conf error - 'Maximum Include level (10) exceeded'

Douglas Garstang dgarstang at oneeighty.com
Fri Jan 13 16:46:08 MST 2006


Can someone tell me why the following from extensions.conf generates this error on asterisk load?

Jan 13 09:27:24 WARNING[31701]: config.c:938 ast_config_internal_load: Maximum Include level (10) exceeded

As far as I can tell I don't have a DEPTH of 10 includes. I certainly have more than 10 include statements, but I don't have them drilled down to a depth of 10. I'm thinking the error text is wrong. Maybe you can't have more than 10 includes? And is it talking about #include or include=> ? None of the .conf files included here have any include statements.


[OffNet]
; lines removed

[OnNet]
; lines removed
include => OffNet

[comp_wildwildwest]
#include "inc/wildwildwest/features.conf"
#include "inc/wildwildwest/blocked-outgoing.conf"
#include "inc/wildwildwest/blocked-incoming.conf"

[user_3250071]
#include "inc/wildwildwest/3250071/features.conf"
[user_3250072]
#include "inc/wildwildwest/3250072/features.conf"
[user_20000]
#include "inc/wildwildwest/20000/features.conf"
[user_20001]
#include "inc/wildwildwest/20001/features.conf"
[user_20002]
#include "inc/wildwildwest/20002/features.conf"
[user_20003]
#include "inc/wildwildwest/20003/features.conf"
[user_20004]
#include "inc/wildwildwest/20004/features.conf" ; If I comment this line, the error goes away.
[user_20005]
#include "inc/wildwildwest/20005/features.conf"

[entry_3250071]
include => user_3250071
include => comp_wildwildwest
include => OnNet
[entry_3250072]
include => user_3250071
include => comp_wildwildwest
include => OnNet
[entry_20000]
include => user_20000
include => comp_wildwildwest
include => Nowhere
[entry_20001]
include => user_20001
include => comp_wildwildwest
include => Nowhere
[entry_20002]
include => user_20002
include => comp_wildwildwest
include => Nowhere
[entry_20003]
include => user_20003
include => comp_wildwildwest
include => Nowhere
[entry_20004]
include => user_20004
include => comp_wildwildwest
include => Nowhere
[entry_20005]
include => user_20005
include => comp_wildwildwest
include => Nowhere



More information about the asterisk-users mailing list