FreePBX | Register | Issues | Wiki | Portal | Support

FreePBX Voicemail Transcription

voicemail
Tags: #<Tag:0x00007fb9052bbab8>

#1

All,

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.


(Jessy5765) #2

How much success have you had with this? Is it about 90% accurate translation?


(Lorne Gaetz) #3

Good job, thanks for this work. Since your intent to share with the world, please add license details when convenient.


#4

Done, set up a MIT license in the repo.


#5

Regarding the accuracy, it really depends on how clear the caller’s voice is. If there’s a lot of noise in the background it can have trouble. I find it works pretty well for my needs.


(Jessy5765) #6

I will definitely give it a try. :slight_smile:


#7

Implemented it this today. It works great except that the Bing Speech to Text REST API only allows for up to 15 seconds of audio. It works for the short voice mails but obviously not the longer ones.


(User9000) #8

Anyone willing to make this a standard module?


(Jordack) #9

We used this script for a month, didn’t have issues with messages longer than 15 seconds. The script work very well, thank you.

The issue we had, Bing sucks. The transcriptions were terrible, script was great.

We ended up transitioning to Watson, used some so Josh’s techniques along with some other scripts we found.

Would love to see both services offered as a module, I don’t have the skill set to create one. :frowning:


#10

Would you mind sharing the Watson version of this?


(Lorne Gaetz) #11

There is an inelegant but working script here for IBM Bluemix:


(Mvogel4949) #12

Does this involve creating a BlueMix account and then creating the API in BlueMix?


(Mvogel4949) #13

Nevermind I think I found it under the Watson api commands