[SR-Users] support for 'include' in cfg file

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 25 19:25:18 CEST 2009



On 25.08.2009 20:21 Uhr, Iñaki Baz Castillo wrote:
> 2009/8/25 Daniel-Constantin Mierla <miconda at gmail.com>:
>   
>> Hello,
>>
>> just committed to GIT support for 'include' in config file. Hopefully this
>> helps in nicer structuring and maintenance of your configs.
>>
>> The syntax is simple:
>>
>> include path_to_file
>>     
>
> Really useful !!!
>   

good.

> Just a question, how about the logs? The current logs display the line
> error and so, what would occur if there is a syntax error in an
> included file?
>   
yes, line is printed in kamailio 1.5.x, I am working to get line and 
file printed in SR for fixup and runtime errors - right now only log of 
syntax errors does this.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list