This is not a new capability. Since 4.2 (maybe before), FusionPBX has offered this capability. When a caller sends a voicemail message, FusionPBX is able to convert it to a text as well. This is really handy, not everybody has the patience to listen to the sounds. Sometimes, reading is faster. This service is possible because of the Bing API from Microsoft.
Since 2018 (not sure when), Microsoft has deprecated Bing API in favour of Azure. This means that legacy users may still use it (for a while, we don't know yet when it will drop completely) but new users who want to use the transcribe service won't be able to do it. Not using Bing way.
I will explain here how I figure out to make it work with Azure.
You will need an Azure Account. Don't worry, they are for free. Azure will give you a 260 $ dollar credit if you want to try the full potential of the platform. However, there is a free plan for speech service. If I recall for good, the free plan only allows one transcript translation at the time (no simultaneous). So, let's pretend you can sign up and you understand the billing schemas from Azure.
The next thing you will need to do is to create a resource.
The important thing here is you remember the location you select. You must know that when getting the keys, they are attached to the location. If you use a key attached to Asia in a North America East server, it won't work. I learned this the hard way.
Once you create the resource, you can take note of the key number one. This is the only one my patch uses.
I have sent pull requests #4067 and #4068. Let's hope they are accepted. I will update the article when I get an answer regarding this.
UPDATE: The pull requests have been accepted.
I will now explain what the patch does:
Category | Subcategory | Type | Value | Description |
Voicemail | azure_key1 | text | (Azure key) | The azure key from the resource |
azure_server_region | text | (Azure region host) | The azure region host, if the region es East US, the value should be "eastus". Check the full list of Azure regions. | |
transcribe_enabled | boolean | true | Enable it in the system. You will need to enable it in the voicemail settings as well. | |
transcribe_language | text | en-US | The language you will use. Although FusionPBX supports default settings per domain, the LUA script doesn't check the domain (I will need to read that part of the code further). So for now, assume it is system-wide. | |
transcribe_provider | text | azure | Set this value to use my patch |
You are ready to go.
Good luck!
blog comments powered by DisqusAbout
Read about IT, Migration, Business, Money, Marketing and other subjects.
Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.