Email call recording after 911 outbound route hit

I use


tail -F /var/log/asterisk/full|while read LINE;do [[ $LINE ~= 911@{yourtrunkname} ]] && echo "911 called $LINE"|mail -s  "9211 call" [email protected];done