Does the call to rl_check_pipe add the invite to the
pipe, and update the
counters before returning. Also would I need to define multiple pipes for
multiple subscribers who I wish to rate limit? ie. The cps from subscriber
A does not affect the cps from subscriber B
Stagg Shelton
VocalCloud
On 6/24/10 9:52 AM, Ovidiu Sas wrote:
The ratelimit module will do the job here. It was designed for
something like that.
You will need to define a pipe with the desired cps and then run all
the incoming INVITEs from that specific subscriber through your pipe:
http://kamailio.org/docs/modules/1.5.x/ratelimit.html#id2467664
Regards,
Ovidiu Sas
On Thu, Jun 24, 2010 at 9:42 AM, Stagg Shelton<stagg(a)vocalcloud.com>
wrote:
>
> I have a customer who has just started operating a dialer. Over the past
> couple of days this dialer has been creating some minor issues with our
> US48
> termination. We are currently running Server:: Kamailio (1.5.1-notls
> (x86_64/linux)).
>
> I would like to limit on a subscriber by subscriber basis the amount of
> outgoing calls per second that they can do. I am reading through the
> ratelimit module documentation, but haven't been able to determine if I
> can
> use it to limit one particular subscriber outgoing activity. I have also
> looked at the pike module, and think that I may be able to use it in
> order
> to limit calls per second by IP. Does anyone have any recommendations,
> suggestions, or examples that can be used to control the calls per second
> based on the kamailio subscriber name.
>
> Stagg Shelton
> VocalCloud
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>