I am the IT Administrator for a local fire district and we just moved over to VoIP so we’re still exploring a lot of ways that the new Asterisk system we installed can really benefit us and make our lives easier.
I’m trying to setup so that in our system, when an email is received from a monitored email account, we’ll say “firstname.lastname@example.org”, that I can create a script that will automagically, grab that email and it’s contents. Generate a text to speech temporary file, and read out key form fields from that email, then delete the email.
Now I know that Asterisk alone can’t do all of this. But what would you recommend using to get this going.
I was originally thinking of using a PHPAGI + DialPlan function to kick this all off but at this point, it seems that the extension can only be trigged by calling it directly. The email contains all the fields we need to use, so there has to be a way to get them down to the Asterisk system, trigger a paging group to be opened, read out loud, and then disconnect the paging group.