On 26.08.2009 11:25 Uhr, Olle E. Johansson wrote:
26 aug 2009 kl. 09.47 skrev Daniel-Constantin Mierla:
On 26.08.2009 1:51 Uhr, Klaus Darilion wrote:
thanks, I was
wondering if this really belongs to parameters section,
since it can be used in route blocks as well. Maybe a new section is
better -- not sure how to name it now.
It is important to mark such a construct as a configuration engine
option, we've learned in Asterisk where we have two of them. One is
#include that includes a file, another one is #exec that runs a script
and takes stdout and includes that. Both of them are valid in all
configuration files, parsed before the app gets the configuration data.
If you don't mark it a separate option, people will misunderstand it.
Especially in Asterisk where we have both "#include" and
"include=>"
in the dialplan, which wasn't very clever choice of names looking at
it from hindsight.
was an option to get the c style, but in K/S the '#' marks beginning of
a comment, so I sticked more or less to php version. Other chars like $,
@... are used for some classes of variables... changing it is very
simple, just need something which does not add confusion.
Cheers,
Daniel
--
Daniel-Constantin Mierla
*
http://www.asipto.com/