Hello,

old questions, but for the records -- the newer versions support modparamx(...) which evaluates its parameters for variables, thus one can use there $env(...) as well.

Cheers,
Daniel

On 18.02.21 19:11, H Yavari wrote:
Hi to all,

Is it possible to set modules parameters with env values? 
I know that in routes we can use $env(NAME), but what about for other parameters? for example setting DB address in K8s cluster ENV values.


Regards,
Hossein

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/