you can achieve that with the dialog module.
http://www.kamailio.org/docs/modules/4.4.x/modules/dialog_ng.html

Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337

On Fri, Dec 16, 2016 at 10:33 AM, Cibin Paul <paul_cibin@me.com> wrote:
Hi,

Is there a way to limit the number of active calls per cli or dst number basis? Yesterday my system had a ddos attack in which 123456 (CLI) was hitting 2345 (DID) at a rate of 100-200 calls per minute. I would like to restrict to 2-4 simultaneous calls per CLI/DST.

Any help would be appreciated.

Thanks,
Cibin



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users