Hi, Stas!
Currently the pseudo variables are not allowed to be used in the
modules' configuration. You can only use plain values.
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 03/15/2013 03:22 PM, Stas Kobzar wrote:
Hello List,
Is there a way to use shared variables in modules' configuration?
For example:
modparam("cfgutils", "shvset", "DBURI=s:mysql//user:pass@host/accdb")
modparam("acc", "db_url", "$shv(DBURI)")
does not work for me:
ERROR:core:db_check_api: module db_$shv(DBURI) does not export
db_use_table function
Same error happens when I am trying to use varset:
ERROR:core:db_check_api: module db_$var(dburi) does not export
db_use_table function
My version 1.8 rev: 9914
Thank you,
Stas
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users