In " Building Telephony Systems with OpenSIPS" book mentioned:
...To prevent these attacks, many people employ the use of a
utility called Fail2ban successfully. While Fail2ban is effective, it requires intensive
processing of log files, possibly degrading the performance of the whole system...