[OpenSIPS-Users] Configuration variables: shared variables
Răzvan Crainea
razvan at opensips.org
Mon Mar 18 15:19:09 CET 2013
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 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
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130318/e74db27e/attachment.htm>
More information about the Users
mailing list