On 26.08.2009 12:09 Uhr, IƱaki Baz Castillo wrote:
2009/8/26 Olle E. Johansson oej@edvina.net:
And just to be very clear in the documentation - "Note that you can't use any type of avp's in this statement as it is processed at startup, not at runtime."
Sorry, is that true? I understood that the included file text is justinserted in the main config file being parse,
Yes, kind of. One cfg tree is built from the content of all files.
no more, so the included file could also contain AVP's and everything.
Yes, can contain anything that is valid in at the position of include directive.
Am I wrong?
Probably Olle meant that you cannot do: $avp(x) = "my_file"; include $avp(x)
Cheers, Daniel