Upgrading to the current version of asterisk changes the log location in /etc/asterisk/logger.conf from messages->messages.log This causes fail2ban to stop logging asterisk because its configuration in /etc/fail2ban/jail.conf is logfile = /var/log/asterisk/messages Either change the logging path back to what it was or update fail2ban to look in the new location.
reassign 1024822 fail2ban retitle 1024822 fail2ban: misses asterisk logs using suffix .log since asterisk 19 thanks Quoting James.Bottomley@HansenPartnership.com (2022-11-25 23:37:19) This was a deliberate change upstream, in effect since Asterisk 19rc1 (upstream git commit 55c53de022). I am therefore reassigning to fail2ban for adjusting there. Also, fixing logrotate which has been missing this change as well. Thanks for reporting, - Jonas