Alert when extention is unreachable OR high latency

Hii,
I Need to send email alert or run CURL when extention reg is unreachable OR latency more then 30 ms…
Asterisk 13.

BR,
AMID

Asterisk 13 is no longer supported. Asterisk doesn’t use the term extension for devices that register.

You probably want to use AMI events. I presume there is one for device state that will cover this case.