[OpenSIPS-Users] Configuration variables: shared variables

Stas Kobzar stas.kobzar at modulis.ca
Mon Mar 18 16:18:06 CET 2013


Thank you Razvan


On Mon, Mar 18, 2013 at 10:19 AM, Răzvan Crainea <razvan at opensips.org>wrote:

>  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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/69745039/attachment.htm>


More information about the Users mailing list