Months later... here is the quick fix. "echo -e"
The -e switch tells echo to interpret the escape sequences (\r\n)
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@can:/usr/local/sbin $ bluemix-test
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 98k 100 284 100 98k 112 39762 0:00:02 0:00:02 --:--:-- 39750
Not using yet but if the emails are printing the \r\n\r\n Message: then find the line in the script that reads
echo "\r\n\r\nMessage;..." and add the -e --- e.g. echo -e "\r\n\r\nMessage:...." this should be what you need
I am testing on two different systems, on my Incredible 13-13 (CentOS 7.4.1708, Asterisk 13.20.0, Incredible 13.0.120.10) system I am getting an email with a working transcription and an mp3 file that doesn't work, but the attached mp3 is 300 bytes.My transcription works, but my MP3 voicemails are all 0 bytes? Anyone else getting that issue?
My system:
Incredible PBX 15.2017-12-12 for Wazo (17.17)
Asterisk 15.1.3
Fully updated Debian
Thanks!
Thank you. You are right. I thought I checked the path.@dhoppy,
I had the same problem on my install. It was just the path to the .wav file in the bluemix-test script was off. For me, the was no "/en" subfolder. In your case, there may not be an "/en_US" folder. I would ssh into your server, then start working your way down the folder tree until you see the "after-the-beep" file. Insert the full path to that file in your script.
Hope that makes sense.
You can read all about it here.
If anyone else has this problem, installing lame fixed the mp3 attachment issue I was having.Thank you. You are right. I thought I checked the path.
On to the next problem. Bluemix-test was successful, but the email received did not include a transcription and the attached mp3 does not play, probably because the system thinks there is nothing in the voicemail.
@wardmundy, and suggestions on making curl work in centOS 6.2?
The scripts use IBM's Bluemix Speech to Text API to transcribe voicemails and then deliver both the transcribed message and the .WAV or .MP3 attachment via email.
Ward, I recently wondered about the security/confidentiality aspect of having a third party (IBM) transcribe voicemails. Say for a company that does health care related work, does IBM handle the data in a way that should cause concern?
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.