[asterisk-gui] Better #include Handling

Steven Sokol ssokol at sokol-associates.com
Thu Dec 28 09:34:11 MST 2006


I just submitted a bug report with a patch which will hopefully fix
the way included files are handled.  The bug's URL is:

http://bugs.digium.com/view.php?id=8684

Essentially this alters the way configuration loads for the GetConfig
and UpdateConfig commands are processed.  The #include directive is
ignored completely and is treated as a comment (so that it gets
re-written during the save).

This allows us to completely ignore huge hunks of boilerplate and/or
to leave the core files (extensions.conf, agents.conf) alone and only
alter the includes.  Asterisk will continue to process the files as
before.

Please let me know what you think.

Thanks,

Steve

-- 
Steven Sokol
CEO
Sokol & Associates, LLC

Asterisk Training:  http://www.sokol-associates.com/
AstriCon 2007: http://www.astricon.net/


More information about the asterisk-gui mailing list