<div dir="ltr">Thank you Razvan</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 10:19 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hi, Stas!<br>
<br>
Currently the pseudo variables are not allowed to be used in the
modules' configuration. You can only use plain values.<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre><div><div class="h5">
On 03/15/2013 03:22 PM, Stas Kobzar wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello List,
<div><br>
</div>
<div>Is there a way to use shared variables in modules'
configuration?</div>
<div>For example:</div>
<div><br>
</div>
<div>modparam("cfgutils", "shvset",
"DBURI=s:mysql//user:pass@host/accdb")<br>
</div>
<div>modparam("acc", "db_url", "$shv(DBURI)")<br>
</div>
<div><br>
</div>
<div>does not work for me:</div>
<div>ERROR:core:db_check_api: module db_$shv(DBURI)
does not export db_use_table function<br>
</div>
<div><br>
</div>
<div>Same error happens when I am trying to use varset:</div>
<div>ERROR:core:db_check_api: module db_$var(dburi)
does not export db_use_table function<br>
</div>
<div><br>
</div>
<div>
My version 1.8 rev: 9914</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Stas</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>