Sip hacker attempt


I have a problem with the recording frame with an attempt to hack posts.

I tried to modify fail2ban but it doesn’t take into account. I put at 5 attempts then blocking but I have times full, full, … of attempts.

Here are the frames of what I receive. How can I get that to block attempts?

Thank you.

[2020-07-30 11:28:09.6487] NOTICE[19044]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request ‘REGISTER’ from ‘sip:5332@XX.XX.XX.XX’ failed for ‘’ (callid: 1808962990-333704147-1583924429) - Failed to authenticate