voicemail transcriptions

395 views
Skip to first unread message

Andre S.

unread,
Dec 14, 2015, 1:31:57 PM12/14/15
to 2600hz-dev
At KazooCon it was mentioned that Daniel at Voxer had fixed voicemail transcriptions! Awesome news.

I'm trying to get this working on 3.21-3 and am not sure how to enable this.

curl -o ~/whapps_speech.erl https://raw.githubusercontent.com/2600hz/kazoo/master/core/whistle_apps-1.0.0/src/whapps_speech.erl
diff
/opt/kazoo/core/whistle_apps-1.0.0/src/whapps_speech.erl ~/whapps_speech.erl
cat ~/
whapps_speech.erl > /opt/kazoo/core/whistle_apps-1.0.0/src/whapps_speech.erl


/opt/kazoo/scripts/conn-to-apps.sh
l
(whapps_speech).

CTRL-C, a

Added    "transcribe_voicemail": true, to the VMBox.

bigcouch/{{ACCOUNT_ID}}/{{VMBOX}}
{
   
"mailbox": "1000",
   
"name": "John Doe's VMBox",
   
"ui_metadata": {
       
"version": "3.21-4",
       
"ui": "monster-ui",
       
"origin": "voip"
   
},
   
"check_if_owner": true,
   
"delete_after_notify": false,
   
"is_setup": false,
   
"media": {
   
},
   
"not_configurable": false,
   
"notify_email_addresses": [
   
],
   
"require_pin": false,
   
"transcribe_voicemail": true,
   
"skip_greeting": false,
   
"skip_instructions": false,
   
"pvt_type": "vmbox",
   
"pvt_vsn": "1",
}


sup couch_mgr flush_cache_docs
sup whapps_config flush


Voicemail's are emailed properly but transcription shows "Not Enabled".

The next change I'm going to try is to change the following line in the following file from:
 ,transcribe_voicemail = 'false' :: boolean()
to,
 ,transcribe_voicemail = 'true' :: boolean()

Then reload callflows in erlang.


Andre S.

unread,
Dec 14, 2015, 1:43:09 PM12/14/15
to 2600hz-dev
Looks like need to be converting them to wav before sending to iSpeech. At KazooCon it sounded like all of this was already fixed, but it'd be nice to know what files need to be updated for the change if more than whapps_speech.erl and cf_voicemail.erl.

Andre S.

unread,
Dec 14, 2015, 2:04:18 PM12/14/15
to 2600hz-dev
mc_ on irc #2600hz says the transcribe_voicemail doesn't actually do anything and this is not a feature that's supported or planned. I'm hoping Voxer will enlighten us on how they've fully fixed this issue, unless I misheard them and they were speaking of TTS.

Dayton Turner

unread,
Apr 27, 2016, 8:05:38 PM4/27/16
to 2600hz-dev
resurrecting a dead thread after someone else asked me about this and I realized i'd forgotten the answer

OP was close, but transcribe_voicemail should have simply been 'transcribe' in the vmbox doc itself. set that to true, and make sure your asr_* values in system_config/speech are set to the valid ispeech parameters,and you're golden.

Te Matau

unread,
Apr 29, 2016, 2:39:48 PM4/29/16
to 2600hz-dev
Seriously? That's awesome. I've gotta try that!

Te Matau

unread,
Apr 29, 2016, 10:22:52 PM4/29/16
to 2600hz-dev
I set
    "transcribe": true

I then set
       "asr_provider": "ispeech",

But I see the following in the log file
|wz9l1UWGKS|whapps_speech:404 (<0.18994.486>) FORMAT ERROR: "unsupported conversion from %s to %s" [<<"audio/mpeg">>,<<"application/mpeg">>]
|wz9l1UWGKS|cf_voicemail:1378 (<0.18994.486>) error transcribing: unsupported_content_type

What have I done wrong?

RT

unread,
Apr 13, 2017, 12:58:22 PM4/13/17
to 2600hz-dev
Sorry, I know this is rather old, but did you ever figure this out and get it working?

Brandon B

unread,
Apr 15, 2017, 5:14:03 PM4/15/17
to 2600hz-dev, andre....@gmail.com
We have it fully working, but before you get really excited....it is awful.  Nothing to do with 2600hz at all, but the transcription services (we've tried ispeech, amazon, and ibm) just don't do a good job of transcribing 8k audio.  Here is a gem....and yes, our transcription service actually dropped the f-bomb on a client, and no, the actual audio was COMPLETELY different with no bad words, and decent quality:

Hey giant f*cking me a call you get a chance I I think as a lubricant confusion in regards to our GW orders I in iPhone around to Sadler says that request the paperwork directly through PW but now this innovative business I just talked to Mike and anything we run our GW stuff through that I just want to


Google recently made their voice API available, and i've heard it is better - also, internal HD calls with a 16k audio stream are much better because there is just so much more data to use, but until cell phones can leave us HD voicemails, we shut the service down.  If we get google working, we will certainly try to contribute the code back to the community.


On Monday, December 14, 2015 at 10:31:57 AM UTC-8, Andre S. wrote:

Darren Schreiber

unread,
Apr 16, 2017, 6:09:57 PM4/16/17
to 2600h...@googlegroups.com

We have seen the same issue.

--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Te Matau

unread,
Apr 25, 2017, 4:59:47 PM4/25/17
to 2600hz-dev, andre....@gmail.com
"giant f*cking"

Oh dear.
Reply all
Reply to author
Forward
0 new messages