[sr-dev] spleete configuration file

Meftah Tayeb tayeb.meftah at gmail.com
Fri Sep 17 14:45:14 CEST 2010


daniel,
like in freeswitch xml files is streeped down in several part, dialplan, 
directory, configuration and ...
that make it easy for beginer to understand it quickly
you put basic configuration in "kamailio_conf.cfg", routes in 
routes.cfg, auth or something in auth.cfg, modules in modules.cfg, and 
you include them from kamailio.cfg
thank you
Daniel-Constantin Mierla a écrit :
>  Default config is not that big right now and last version uses 
> defines and string names for routes, making it easier to go through.
>
> If you have clear ideas about how it should look, send them and will 
> discuss if it is better or not.
>
> Personally I don't see a big benefit for splitting the current version.
>
> Cheers,
> Daniel
>
> On 9/17/10 1:33 PM, Meftah Tayeb wrote:
>> hello Henning,
>> i know this allready, i mean in the default git repo (git head)
>> users will understand it quickly
>> thank you
>> Henning Westerholt a écrit :
>>> On Friday 17 September 2010, Meftah Tayeb wrote:
>>>> could we spleete the configuration file in several configuration file
>>>> based on the default config, but diferent sexions?
>>>> and we include it in the main conf file?
>>>> like in routes, we create a folder "route" in /etc/sip-router 
>>>> (kamailio
>>>> or ser) and we pute routes in separate files or in single file, and
>>>> include it from sip-router.conf
>>>> that will facilitate iverything
>>>> thank you
>>>
>>> Hi Meftah,
>>>
>>> do you refer to splitting the cfg file in several pieces?
>>> This is possible with the #include directive, you can find more
>>> informations here:
>>>
>>> http://by-miconda.blogspot.com/2009/12/best-of-new-in-kamailio-300-1-include.html 
>>>
>>>
>>> Cheers,
>>>
>>> Henning
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus 
>>> signature database 5283 (20100716) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus 
>> signature database 5283 (20100716) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5283 (20100716) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





More information about the sr-dev mailing list