[SR-Users] Limit cps per destination gw

Henning Westerholt hw at gilawa.com
Thu Jul 28 20:08:33 CEST 2022


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,

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 Jon Bonilla (Manwe)
Sent: Thursday, July 28, 2022 8:04 PM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] Limit cps per destination gw

Hi

I'm thinking on having a cps preference for each pstn gw that I can check. 

I've started thinking in the pike module but it won't allow me to set custom cps per peer. seems that the threshold is global.

Ratelimit module needs the queues to be set as modparam, not dynamic AFAICS. 


Any hints?



cheers,

Jon



--
PekePBX, the multitenant PBX solution
https://pekepbx.com



More information about the sr-users mailing list