Module: kamailio
Branch: master
Commit: dd717b80be6f8e9519aa4b3d627cb88267b81146
URL:
https://github.com/kamailio/kamailio/commit/dd717b80be6f8e9519aa4b3d627cb88…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-28T14:08:16+01:00
core: new core directive modparamx(mod, param, val)
- alternative to modparam() where all its parameters are evaluated for
config script variables
- note that only variables that do not depend on SIP message processing
should be used at this stage
- example - set a module parameter using the value of an evironment
variable:
modparamx("dispatcher", "db_url", "$env(DBURL)")
---
Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/modparam.c
Modified: src/core/modparam.h
Modified: src/core/sr_module.h
---
Diff:
https://github.com/kamailio/kamailio/commit/dd717b80be6f8e9519aa4b3d627cb88…
Patch:
https://github.com/kamailio/kamailio/commit/dd717b80be6f8e9519aa4b3d627cb88…