Voicemail Transcription
Uses API services to transcribe voicemails into text to be used in the app-sms and the voicemail to email options. Bing’s Speech API or other generic APIs can be used.
IBM Watson API
Sign up and language information is located on IBM Watson’s Site
Warning
We cannot use mod_shout to record Voicemails because the transcription service needs an uncompressed version of the audio. Therefore we will record in WAV and then use LAME to re-encode in MP3. This could cause added resource utilization to your system.
Goto Advanced > Default Settings. Add the following entries
NOTE: Watson URL used for testing was the following: https://example.url.api.us-south.speech-to-text.watson.cloud.ibm.com/instances/{GUID}/v1/recognize?model=en-US_Telephony&smart_formatting=true
List of available IBM Watson speech to text models https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models
Click “Reload” at the top of the page.
Goto Status > Sip Status.
Click “Flush Cache”, “Reload XML” and “Rescan”.
If you entered your key’s correctly, you should now start getting transcriptions delivered in your voicemail to email and you will also see them on the Messages page.
Azure API
Goto Advanced > Default Settings. Add the following entries
Category
Subcategory
Type
Value
Enabled
voicemail
transcribe_provider
text
azure
True
voicemail
azure_key
text
{ your azure key }
True
voicemail
azure_server_region
text
{ your server region }
True
voicemail
transcribe_language
text
en-US
True
voicemail
transcribe_enabled
boolean
true
True
voicemail
json_enabled
boolean
true
True
Click “Reload” at the top of the page.
Goto Status > Sip Status.
Click “Flush Cache”, “Reload XML” and “Rescan”.
If you entered your key’s correctly, you should now start getting transcriptions delivered in your voicemail to email and you will also see them on the Messages page.
Google API
Goto Advanced > Default Settings. Add the following entries
Category
Subcategory
Type
Value
Enabled
voicemail
transcribe_provider
text
True
voicemail
google_key
text
{ your google key }
True
voicemail
google_url
text
{ your google url }
True
voicemail
transcribe_language
text
en-US
True
voicemail
transcribe_enabled
boolean
true
True
voicemail
json_enabled
boolean
true
True
Click “Reload” at the top of the page.
Goto Status > Sip Status.
Click “Flush Cache”, “Reload XML” and “Rescan”.
If you entered your key’s correctly, you should now start getting transcriptions delivered in your voicemail to email and you will also see them on the Messages page.
Bing API
Recommend using Azure as an alternative to Bing.
Sign up and language information is located on Microsoft Site Note: The Bing Speech API is deprecated as of October 2018, this works for now but needs to be ported to the new API
Warning
We cannot use mod_shout to record Voicemails because the transcription service needs an uncompressed version of the audio. Therefore we will record in WAV and then use LAME to re-encode in MP3. This could cause added resource utilization to your system.
Goto Advanced > Default Settings. Add the following entries
Category
Subcategory
Type
Value
Enabled
voicemail
transcribe_provider
text
microsoft
True
voicemail
microsoft_key1
text
{your microsoft key #1}
True
voicemail
microsoft_key2
text
{your microsoft key #2}
True
voicemail
transcribe_language
text
en-US
True
voicemail
transcribe_enabled
boolean
true
True
Click “Reload” at the top of the page.
Goto Status > Sip Status.
Click “Flush Cache”, “Reload XML” and “Rescan”.
If you entered your key’s correctly, you should now start getting transcriptions delivered in your voicemail to email and you will also see them on the Messages page.
Custom API
Currently does not work with the FusionPBX email_queue.
API info from the Speech to Text provider of your choice is needed, or you can self host a transcription engine like Mozilla DeepSpeech or Kaldi ASR
Goto Advanced > Default Settings. Add the following entries
Category
Subcategory
Type
Value
Enabled
Required?
voicemail
transcribe_provider
text
custom
True
voicemail
transcription_server
text
True
voicemail
json_enabled
boolean
true
True
Optional
voicemail
api_key
text
your_api_key
True
Optional
voicemail
transcribe_language
text
en-US
True
voicemail
transcribe_enabled
boolean
true
True
Click “Reload” at the top of the page.
Goto Status > Sip Status.
Click “Flush Cache”, “Reload XML” and “Rescan”.
If you entered your key’s correctly, you should now start getting transcriptions delivered in your voicemail to email and you will also see them on the Messages page.