Hi friends,
I want to ask how I can do Asterisk send me an email when it’s stopped and when someone tries to log in unsuccessfully?
I loaded the directory
/usr/sbin/safe_asterisk
and changed the email settings
[code]
CLIARGS="$*" # Grab any args passed to safe_asterisk
TTY=9 # TTY (if you want one) for Asterisk to run on
CONSOLE=yes # Whether or not you want a console
NOTIFY=ben@mydomain # Email address for crash notifications
[/code]
but I do not receive the email, the server has a mail server installed and receives and sends emails.
OS my server : Debian 9
Thanks in advance for your help