Re: [asterisk-users] how do I run a command on "Failed to authenticate" ?

2020-09-11 Thread Steve Edwards
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 Edwar

[asterisk-users] how do I run a command on "Failed to authenticate" ?

2020-09-11 Thread sean darcy
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 --