Resource icon

PIONEERS Custom IBM Voice Prompts for Asterisk and 3CX

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,928
Reaction score
2,573
Adding MP3 SOX Support to Incredible PBX 13-13 - This tutorial will walk you through adding MP3 support to SOX for Incredible PBX 13-13

Here are the steps to add MP3 support to SOX on the Incredible PBX 13-13 (CentOS) platform. Begin by logging into the Linux CLI as root. Then...
Code:
yum -y remove sox
yum -y install gcc-c++ libmad libmad-devel libid3tag libid3tag-devel lame lame-devel flac-devel libvorbis-devel
cd /usr/src
wget https://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.gz
tar zxvf sox-14.4.2.tar.gz
rm -f sox-14.4.2.tar.gz
cd sox*
./configure
make -s
make install
ldconfig
ln -s /usr/local/bin/sox /usr/bin/sox
Read more about this resource...
 
Last edited:
  • Like
Reactions: Jose Pinto

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,928
Reaction score
2,573


SoX 14.4.2 is a prerequisite to generate new IBM Voice Prompts suitable for Asterisk or 3CX using Incredible PBX 13-13 on the CentOS platform.

You also must obtain IBM TTS credentials. One million characters of text-to-speech synthesis is FREE every month forever! See this tutorial for details.

Once you have SoX 14.4.2 installed, here's how to install the IBM Voice Prompts script:
Code:
cd /root
wget http://incrediblepbx.com/ibmprompt.tar.gz
tar zxvf ibmprompt.tar.gz
rm -f ibmprompt.tar.gz
# insert your IBM TTS credentials in the script and save it
nano -w ibmprompt.php
# generate your first voice prompt
./ibmprompt.php "Text of your voice prompt"
 
Last edited:

piaftnt

Member
Joined
Jul 16, 2010
Messages
37
Reaction score
2
I just tried the above and it works as advertised.
Thanks for anticipating my next feature request, before I had a chance to ask for it.
Have you taken up mind reading? :)
 
  • Like
Reactions: wardmundy

w1ve

Guru
Joined
Nov 15, 2007
Messages
631
Reaction score
97
hmmmm any ideas?
Code:
./ibmprompt.php "This is a test of TTS"
Generating Voice Prompt: This is a test of TTS
sox WARN mp3-util: MAD lost sync
sox FAIL formats: can't open input file `/tmp/voiceprompt.mp3':
Your new voice prompt is ready: voiceprompt.wav
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,928
Reaction score
2,573
Looks like there was no MP3 file generated. Are you sure your TTS credentials are correct?? These are NOT the same as your STT credentials.
 

w1ve

Guru
Joined
Nov 15, 2007
Messages
631
Reaction score
97
Doh! *exactly* I was using the STT credential! BTW, loving 13-13 so far!
 
  • Like
Reactions: wardmundy

w1ve

Guru
Joined
Nov 15, 2007
Messages
631
Reaction score
97
Double DOH!! Well, I mostly use VPS, and most are CentOS; I have seen Polly working on CentOS7, but none of the providers offer it.

I should have known you would be on top of it. That's the benefit of being "retired", right?
 
  • Like
Reactions: wardmundy

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,262
Messages
136,424
Members
14,501
Latest member
yeoldroundabout