[OpenSIPS-Users] Configuration variables: shared variables
Stas Kobzar
stas.kobzar at modulis.ca
Fri Mar 15 15:22:50 CET 2013
Hello List,
Is there a way to use shared variables in modules' configuration?
For example:
modparam("cfgutils", "shvset", "DBURI=s:mysql//user:pass at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130315/05bfed96/attachment.htm>
More information about the Users
mailing list