<div dir="ltr">Hello Group,<div><br></div><div><br></div><div>I am perplexed about what the correct params are to point opensips to an instance of mongodb</div><div><br></div><div><br></div><div>I am currently using these </div><div><br></div><div><br></div><div>
<p class="">loadmodule "db_cachedb.so"</p>
<p class="">loadmodule "cachedb_mongodb.so"</p>
<p class=""><br></p>
<p class="">modparam("cachedb_mongo","cachedb_url","mongodb:instance1:<span class="">//162.XXX.XX.XXXX:27017/AOR.Location")</span></p><p class="">which triggers this error </p>
<p class=""> Parameter <cachedb_url> not found in module <cachedb_mongo> - can't set </p><p class="">Alternatively I have tried using :</p><p class=""> modparam("db_cachedb","cachedb_url","mongodb:instance1://162.XX.XX.XX:27017/AOR.Location")</p>
<p class="">which would cause the following error when running this query</p><p class="">
</p><p class=""><span class=""> cache_raw_query("mongodb","</span>{ \"op\" : \"find\", \"ns\" : \"AOR.Location\", \"query\": {\"User\" : $rU} }<span class="">","$avp(mongo_result)")</span><span class="">;</span></p><p class=""><br></p><p class=""><span class="">
</span></p><p class="">ERROR:core:cachedb_raw_query: failed to get connection for grp name [}</p><p class="">I am using Opensips version 1.11</p><p class="">Thanks</p><p class=""><br></p></div></div>