To set CPS limit you can use htable, store value in variable which get expired after sec, set its value when process invite and check its value before processing it.
Thanks
On Fri, 29 Jul 2022, 12:34 am Sergiu Pojoga, pojogas@gmail.com wrote:
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...
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:
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: