[SR-Users] Limit cps per destination gw

Ihor Olkhovskyi igorolhovskiy at gmail.com
Mon Aug 1 10:38:52 CEST 2022


Jon,

You can check one of my old blog posts related to this

https://blog.provoip.org/2017/02/kamailio-limit-cpscpmconcurrent-calls.html

It's based on htable and quite easy to implement

Le 28/07/2022 à 20:19, Jon Bonilla (Manwe) a écrit :
> El Thu, 28 Jul 2022 18:08:33 +0000
> Henning Westerholt <hw at 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
>
>
>
> __________________________________________________________
> 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



More information about the sr-users mailing list