Re: [asterisk-users] how do I run a command on "Failed to authenticate" ?
On Fri, 11 Sep 2020, sean darcy wrote: I'd like to get an alert if a call fails to authenticate: if "Failed to authenticate" then mail someone the source ip endif How about fail2ban? -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] how do I run a command on "Failed to authenticate" ?
16.13.0, pjsip I'd like to get an alert if a call fails to authenticate: if "Failed to authenticate" then mail someone the source ip endif As I look at ami or ari, they deal with calls in channels. Is there a way to get failed invites or registers ? sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users