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
—
One thought on - How Do I Run A Command On “Failed To Authenticate” ?
How about fail2ban?
—
Thanks in advance,
————————————————————————-
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
—