<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Mark,</p>
<p>The command you should run is:</p>
<p>opensips-cli -x mi cache_remove_chunk * other</p>
<p>I will also update the docs as the example is outdated so thanks
for pointing it out!<br>
</p>
<p>Regards,</p>
<pre class="moz-signature" cols="72">--
Vlad Patrascu
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 20.11.2020 13:47, Mark Allen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADaqb1sGo3c5TVN-vi35u32hh5mcpr0=kyt=w8Te5fa=TPTPig@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I have local cache collections setup in my script:
<div><br>
</div>
<div>loadmodule "cachedb_local.so"<br>
modparam("cachedb_local", "cache_collections", "general;
other;")<br>
modparam("cachedb_local", "cachedb_url",
"local:general:///general") <br>
</div>
<div>
<div> modparam("cachedb_local", "cachedb_url",
"local:other:///other") <br>
</div>
<div><br>
</div>
<div>I want to be able to use opensips-cli to clear the
contents of the "other" collection from the command line or
a script without needing to restart OpenSIPS or losing the
contents of the "general" cache collection. I've looked at
the cachedb_local documentation for exported MI functions
but I don't understand how this translates into a valid
opensips-cli command.</div>
<div><br>
</div>
<div>Any help gratefully received! :D</div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>