Notifications on emergency pages for school

I have several schools as customers. Emergency pages (Lockdown, Intruder, Tornado, etc.) can be dialed from any phone. I’m trying to figure out a way to send a notification similar to those on outbound routes so that administration can be alerted to the fact that an emergency page was just made (might be off campus) and from which extension.

Any ideas?

‘tail -F /var/log/asterisk/full’ through a regex filter what filters what concerns you. Any matching patterns can trigger an email or perhaps a script, for example

That sounds like just the thing. Unfortunately, I may not have the chops to write the little bit of code and implement it. Can you recommend someone who could assist me with it?

Hooking for fun and income is another way of doing it.

That is highly outdated as it uses Macros. Needs to be updated for GoSub

Post a log of any and all ‘emergency pages’ that you want to act on so we can uniquely define the [[ $LINE ~= regex ]] to be emailed