sean darcy
2020-Sep-11 19:58 UTC
[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
Steve Edwards
2020-Sep-11 23:17 UTC
[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 > endifHow about fail2ban? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281