<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Yes you can, "db_mode" of the usrloc module has nothing to do
with "avp_db_query" from the avpops module! :)</tt>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 18.04.2016 15:10, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote
cite="mid:BY2PR02MB16551481FEB20C3F3BA6998BB56B0@BY2PR02MB1655.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Liviu.</p>
<p><br>
</p>
<p>Thank you very much!</p>
<p>So, I'm comfortable with OpenSIPS.</p>
<p><br>
</p>
<p>In my OpenSIPS config file I have:</p>
<p><br>
</p>
<p>loadmodule "usrloc.so"<br>
modparam("usrloc", "db_mode", 2) <br>
</p>
<p><br>
</p>
<p>Can I change db_mode to zero and still have every
avp_db_query working well?</p>
<p>That is, with db_mode=0 I will avoid using Sqlite and every
SQL operation over user location will apply just over data
in memory cache. Am I correct?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
</div>
</blockquote>
<br>
</body>
</html>