[OpenSIPS-Users] Clear local cache collection without OpenSIPS 3.1 restart

Mark Allen mark at allenclan.co.uk
Fri Nov 20 11:47:33 EST 2020


I have local cache collections setup in my script:

loadmodule "cachedb_local.so"
    modparam("cachedb_local", "cache_collections", "general; other;")
    modparam("cachedb_local", "cachedb_url", "local:general:///general")
    modparam("cachedb_local", "cachedb_url", "local:other:///other")

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.

Any help gratefully received!   :D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201120/674800f1/attachment.html>


More information about the Users mailing list