Pipelimit module, specifically pl_check function is very much capable of doing CPS per GW, TAILDROP algorithm.

https://www.kamailio.org/docs/modules/devel/modules/pipelimit.html#pipelimit.f.pl_check

On Thu, Jul 28, 2022 at 2:20 PM Jon Bonilla (Manwe) <manwe@sipdoc.net> wrote:
El Thu, 28 Jul 2022 18:08:33 +0000
Henning Westerholt <hw@gilawa.com> escribió:

> Hi,
>
> pipelimit allows dynamic queues from a DB. But if you want to limit
> concurrent calls, the best option is probably using dialog profiles with the
> dialog modules. For a cps limit you could also just use htable.
>
> Cheers,
>

Hi Henning

No, concurrent calls is not the issue. CAPS is.

pipelimit seems promising. Don't like the db backend requirement. I guess I can
use dbtext, leave it blank and create pipes on demand with pl_check and read
the limit from a custom header. This system doesn't have db backend as it's a
loadbalancer for multiple kamailio servers and needs to be fast as hell.


thank you

Jon


--
PekePBX, the multitenant PBX solution
https://pekepbx.com
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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