I've gotten transcription working using the new Cognition API on Microsoft Azure. I plan on doing a proper pull request when I read through the contribution guidelines. In the meantime, I've attached the modified script (use the script editor to edit
You'll need to sign up for Cognitive services on Azure. Be sure to note the region where you placed the resource group. You'll need it later.
Edit the default settings like in the original instructions (https://docs.fusionpbx.com/en/latest/applications/voicemail_transcription.html), but with two differences
1. You only need
2. You need to set a new setting called
Turn on transcription on the needed voicemail boxes and you should be good to go. Hit me up if you run into any issues.
app/voicemail/resources/functions/record_message.lua
).You'll need to sign up for Cognitive services on Azure. Be sure to note the region where you placed the resource group. You'll need it later.
Edit the default settings like in the original instructions (https://docs.fusionpbx.com/en/latest/applications/voicemail_transcription.html), but with two differences
1. You only need
microsoft_key1
(both keys work, but you only need one of them).2. You need to set a new setting called
azure_region
. Set it using this list as a reference. You need the domain part just after the https://. The underlined part of this example is what you need: https://centralus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1Turn on transcription on the needed voicemail boxes and you should be good to go. Hit me up if you run into any issues.