<div dir="ltr">thanks Vlad - I've tried it but I get <div><br></div><div>ERROR: command 'cache_remove_chunk' returned: -32602: Invalid params<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 Nov 2020 at 13:21, Vlad Patrascu <<a href="mailto:vladp@opensips.org">vladp@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 cols="72">--
Vlad Patrascu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 20.11.2020 13:47, Mark Allen wrote:<br>
</div>
<blockquote type="cite">
<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></fieldset>
<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>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>