I finally got the chance to sit down and put together an email processing script for outgoing voicemail emails that does the following:
- Checks to see if outgoing email is HTML and changes Content-Type accordingly
- Converts outgoing WAV attachments to MP3
- Sends WAV attachment to Microsoft Bing speech recognition and inserts the transcribed message into the outgoing email (NOTE: This requires an Azure account with cognitive services)
Here is the Github link: https://github.com/westparkcom/FreePBX-VM-Transcription
Please give this a whirl and let me know if you encounter any issues. I look forward to some feedback.