[Kamailio-Users] [sr-dev] [SR-Users] support for 'include' in cfg file
Daniel-Constantin Mierla
miconda at gmail.com
Wed Aug 26 12:28:27 CEST 2009
On 26.08.2009 12:09 Uhr, Iñaki Baz Castillo wrote:
> 2009/8/26 Olle E. Johansson <oej at 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
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the Users
mailing list