Missing ip address in log - can't ban with fail2ban

Why not use Asterisk 10/11 and put, for example, security => security in logger.conf?

Regards.