Maybe it's very late,
but I use this: https://github.com/Mickaelh51/freeswitch/blob/master/pingcalls_limit.xml
it's not per IP, but it's easy to change this code

Le lun. 22 juil. 2019 à 23:03, António Silva via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> a écrit :



---------- Forwarded message ----------
From: "António Silva" <asilva@wirelessmundi.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Thu, 18 Jul 2019 10:52:14 +0200
Subject: Limit cps per source IP and port
Hi,

is it possible to limit the number of calls per source ip and port
before the dialplan?

I know that this can be done using mod_limit in the dialplan, i was
thinking of a limit like the sessions-per-second global limit, this way
less resources are used if some ip/port is flooding our machine.

Another possibility is using the firewall... but i like this option less
because i wont know of the drop calls.

Thanks,

--
Saludos / Regards / Cumprimentos
António Silva





---------- Forwarded message ----------
From: "António Silva via FreeSWITCH-users" <freeswitch-users@lists.freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Mon, 22 Jul 2019 14:03:23 -0700 (PDT)
Subject: [Freeswitch-users] Limit cps per source IP and port
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com