fail2ban is 1 option. 
http://wiki.freeswitch.org/wiki/Fail2ban

after X # of failed attempts it will be auto added to the firewall.

Restricting the external ports to only trusted hosts can be an option as well if you don't have any incoming sip calls from unknown sources.