[SR-Users] How to externally trigger htable cache flushing?

Bastian Triller bastian.triller at gmail.com
Mon Jul 18 12:29:06 CEST 2022


Also, htable.flush table isn't replicated via DMQ, IIRC

On Mon, Jul 18, 2022, 11:07 Henning Westerholt <hw at gilawa.com> wrote:

> Hello,
>
> you can delete keys with RPC commands:
>
>
> https://kamailio.org/docs/modules/5.5.x/modules/htable.html#htable.rpc.delete
>
>
> Cheers,
>
> Henning
>
> --
> Henning Westerholt – https://skalatan.de/blog/
> Kamailio services – https://gilawa.com
>
> -----Original Message-----
> From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Benoit
> Panizzon
> Sent: Monday, July 18, 2022 9:45 AM
> To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
> Subject: [SR-Users] How to externally trigger htable cache flushing?
>
> Hi List
>
> We cache stuff like call forwarding information in a htable cache to
> minimizie SQL lookups and have it available via DMQ on all instances.
>
> But of course, if the call forwarding information for a destination
> changes in the database, we would like to flush either the whole cache, or
> even better, that single entry.
>
> What is the best way to do this?
>
> Mit freundlichen Grüssen
>
> -Benoît Panizzon-
> --
> I m p r o W a r e   A G    -    Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29             Tel  +41 61 826 93 00
> CH-4133 Pratteln                Fax  +41 61 826 93 01
> Schweiz                         Web  http://www.imp.ch
> ______________________________________________________
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220718/c9b3d946/attachment.htm>


More information about the sr-users mailing list