[SR-Users] Call limiting with Kamailio
Social Boh
social at bohboh.info
Fri Nov 26 16:23:20 CET 2021
Hi,
DMQ is a good option and you can test if restarting one Kamailio, this
kamailio sync the data with the other/s.
DMQ_USRLOC using this logic with parameter sync.
Regards
---
I'm SoCIaL, MayBe
El 26/11/2021 a las 7:38 a. m., Karsten Horsmann escribió:
> Hi,
>
> using dialog or dlg makes your life easier.
>
> -> Counting calls with htable and replicating with DMQ to other node
> (can the data survive from a restart?)
>
> htable can write back to the database. But that solution needs a bit
> more (getting the data - manually or via dialog/dlg and replicate that
> htable, how to work with htable)?
>
> As an untested idea - you can define two htables. One htable_nodeA the
> other htable_nodeB.
> Node A writes only into htable_nodeA and vice versa. So there should
> no race condition.
> And then you may check htable_nodeA customerX calls and htable_nodeB
> customerX calls (sum that) on new calls.
>
> Many ways.
>
> Kind regards
> Karsten
>
>
> Am Fr., 26. Nov. 2021 um 13:26 Uhr schrieb Henning Westerholt
> <hw at gilawa.com>:
>
> Hello,
>
> you could also use dialog profile functionality (single server or
> also with DMQ sync), also probably also the new dlgs module
> (single server)
>
> Cheers,
>
> Henning
>
>
> __________________________________________________________
> 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/20211126/9ab9494d/attachment.htm>
More information about the sr-users
mailing list