[OpenSIPS-Devel] [ opensips-Feature Requests-2941212 ] Dynamic Pipes for Rate Limit Module

SourceForge.net noreply at sourceforge.net
Thu Dec 1 13:30:51 CET 2011


Feature Requests item #2941212, was opened at 2010-01-27 12:05
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2941212&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
>Group: trunk
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Razvan Crainea (razvancrainea)
Summary: Dynamic Pipes for Rate Limit Module

Initial Comment:
Are there any plans to make the pipes defined in the rate limit module dynamic. Right now they are statically defined in the config, so it makes it difficult to assign these to customers real time. An implementation similar to the Dialog module would be preferred.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-12-01 04:30

Message:
Available in current trunk, future 1.8

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2010-02-10 09:00

Message:
The ratelimit was designed to deal with static endpoints.  Dynamic
endpoints and creation of dynamic endpoints will require a complete
redesign of the ratelimit module (or maybe a new module).  As a result, at
this point in time, there are no plans to add such functionality, but
contributions are always welcome :)
If you are trying to control traffic from registered users, maybe pike
combined with dialog profiles may work better for you.

----------------------------------------------------------------------

Comment By: Scott Mullen (smullen27)
Date: 2010-02-10 07:01

Message:
I'd like too see the ability to dynamically create the pipes on the fly
during call processing.  Similar to how the dialog module allows you to
dynamically create profiles with values.

http://www.opensips.org/html/docs/modules/devel/dialog.html#id227288

Right now its pretty much impossible to do rate limiting on a customer
basis when customers are constantly being added and deleted.  Would be nice
to be able to reference a pipe based on a "customerid" or something dynamic
in the config.

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2010-01-27 12:50

Message:
Each pipe can be modified in realtime via the mi interface:
http://www.opensips.org/html/docs/modules/devel/ratelimit.html#id228609
Is this what you were looking for?

Also, a pipe can be chosen dynamically via a pseudovariable:
http://www.opensips.org/html/docs/modules/devel/ratelimit.html#id228351 

It is true that on server restart, the pipe topology will be restored to
the one predefined in the config file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2941212&group_id=232389



More information about the Devel mailing list