Anyone written AGI for failed trunk notification

Just wondering if onyone has written a notification script for the failed trunk feature in 2.3 - like an email notification.

I created a table in mysql so i can log the entries too.

https://www.druber.com/freepbx

you can figure out the schema for the mysql table yourself from the insert directive - it’s pretty flexible.