res_security_log.so

Hi,

I don’t get any SECURITY events when using security log module.
Nothing in the console or in the security log file.

Asterisk 1.8.13.1
modules.conf:
load = res_security_log.so
logger.conf:
console => notice,warning,error,security
security => security

So it should work afaik.

I don’t get any errors so I can’t really tell if something is wrong either.

Any tips to what it could be ?
What other modules/functions is res_security_log.so relying on that i might be missing ?

Thanks.

Try using the module load command at the CLI to determine if it is failing to load, and why.

Disabled module in modules.conf and restarted asterisk.
Then i loaded the module manually.

This is what i got:

*CLI> module load res_security_log.so
Loaded res_security_log.so
– Security Logging Enabled
Loaded res_security_log.so => (Security Event Logging)

Here’s some more information.

*CLI> logger show channels
Channel Type Status Configuration


/var/log/asterisk/full File Enabled - DEBUG NOTICE WARNING ERROR VERBOSE DTMF SECURITY
/var/log/asterisk/security File Enabled - SECURITY
/var/log/asterisk/messages File Enabled - NOTICE WARNING ERROR
Console Enabled - NOTICE WARNING ERROR SECURITY

Just to show that the actual SECURITY event is configured for logfiles and console.

Still nothing in neither console or logfile.