[SR-Users] Having "modparam" options in the database

Olle E. Johansson oej at edvina.net
Tue Jan 8 09:21:09 CET 2013


7 jan 2013 kl. 20:46 skrev Glenn O Larsen <glenn at europlan.no>:

> On Fri, Jan 4, 2013 at 4:18 PM, Henning Westerholt <hw at kamailio.org> wrote:
>> Am Donnerstag, 3. Januar 2013, 16:14:59 schrieb Glenn O Larsen:
>>> 
>>> Is there a way to read modparam config from a database?
> 
>> probably the configuration database module - cfg_db is implementing what you're
>> searching for. But I personally did not used it so far, so I can't share any
>> more details.
> 
> Thanks for the tip. Unfortunately it seems that this is only used to
> replace the core parameters, not module parameters. At least that's
> what my testing, and source code browsing has proven/showed me. If I'm
> wrong, please tell.
> 
> Based on what I have seen (and tried), it seems that its not possible
> to extend this module to set the module parameters, since I can't be
> sure that module I'm trying to configure, hasn't been loaded yet. Can
> someone with deeper module load knowledge confirm this?

In most cases, there should be no need to change modparams at runtime.

Can you tell us more about which parameter you want to change during
runtime that doesn't have a mI/rpc reload command?

/O


More information about the sr-users mailing list