[OpenSIPS-Devel] [ opensips-Patches-3513177 ] Substitutions in configuration file
Saúl Ibarra Corretgé
saul at ag-projects.com
Mon Apr 2 09:42:53 CEST 2012
Hi Rudy,
On Mar 30, 2012, at 9:00 PM, Rudy wrote:
> Hi All,
>
> Not that I particularly support the addition of "substitutions"
> inside the current config parser, but one thing I have wanted myself
> is something similar to defines. Flipping the question to Saul,
> assuming we are all familiar with m4, what kind of parser additions
> would you need to completely omit m4 from your current configurations?
> This seems to be like an opportunity to brainstorm some new ideas, not
> only for 1.x branch, but possibly for 2.0 configuration files.
>
IMHO, there is no need for creating a new programming language for OpenSIPS configuration. An existing one can be embedded and used to write the config script, think Python or Lua.
Why spend time in reinventing tools we already have?
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Devel
mailing list