[SR-Users] KAMAILIO Config Hot/Live reload
Daniel-Constantin Mierla
miconda at gmail.com
Mon Mar 25 13:36:43 CET 2013
Hello,
On 3/24/13 4:20 PM, Vitaliy Aleksandrov wrote:
> On 03/21/2013 12:59 AM, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> On 3/18/13 7:09 PM, Omar wrote:
>>> Kamailio Team.
>>>
>>> Was this feature added already or we still need to restart kamailio
>>> after we modify the Kamailio.cfg.
>> it is still required to restart after changing the config file. But
>> some core and module parameters can be now changed at runtime, via
>> rpc commands (e.g., lowering tcp connecting timeout).
>
>> Cheers,
>> Daniel
>>
>
> As I understand I have to edit kamailio.cfg to preserve values changed
> by rpc between reboots. Is it possible to save current "state" of
> config variables somewhere (db, tmp file) ?
theoretically there is a module that allows to load/reload the values
from database. Unfortunately is not much documented, being inherited
from SER past development. Look over it, at the end should not be
impossible to get it work, we have the sources. See its readme at:
- http://kamailio.org/docs/modules/stable/modules/cfg_db.html
If you can contribute back some documentation, will be greatly appreciated.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
More information about the sr-users
mailing list