PIONEERS IBM Voice Recognition with Incredible PBX: New Voice Dialer for Asterisk

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
DLijsiKX0AAAvfB.jpg


We've finally got a reliable replacement for Google's STT offering which was shaky at best. The IBM Watson STT engine is free for your first month and for 1,000 minutes a month thereafter. 2 cents a minute after that. In other words, it's dirt cheap and extremely reliable and accurate.

Come try out our new Voice Dialer for Asterisk!

Try Before You Buy Use (it's free!): Dial 843-606-0444, choose option 1, and say "Delta Airlines" or "American Airlines"

Prerequisites: Incredible PBX 13, Incredible PBX for Issabel, or Incredible PBX for Wazo platform. A working outbound trunk with support for NXXNXXXXXX dial strings.

WARNING: This will replace the 411 context for Call by Name using AsteriDex. Most airlines supported in default Incredible PBX setup plus whatever else you've added to your AsteriDex database.

Creating an IBM Bluemix Speech to Text Account

1. Create Bluemix account here.

2. Confirm your registration by replying to email from IBM.

3. Login to Bluemix using your new credentials.

4. Agree to terms and conditions, name your organization, and name your space (STT).

5. Choose Watson Speech to Text service and click Create.

6. When Speech to Text-kb opens, click Service Credentials tab.

7. In Actions column, click View Credentials and copy your username and password.

8. Logout by clicking on image icon in upper right corner of dialog window.


Installing the Software on Incredible PBX13 or Incredible PBX for Issabel

1. Log into your server as root and issue the following commands:
Code:
cd /
wget http://incrediblepbx.com/ibmstt-411.tar.gz
tar zxvf ibmstt-411.tar.gz
rm -f ibmstt-411.tar.gz
sed -i '\:// BEGIN Call by Name:,\:// END Call by Name:d' /etc/asterisk/extensions_custom.conf
sed -i '/\[from-internal-custom\]/r /tmp/411.txt' /etc/asterisk/extensions_custom.conf
asterisk -rx "dialplan reload"

2. Edit /var/lib/asterisk/agi-bin/getnumber.sh and insert your IBM credentials from step #7 above into these variables:
Code:
API_USERNAME="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
API_PASSWORD="XXXXXXXXXXXX"

3. Save the file.


Installing the Software on Incredible PBX for Wazo

1. Log into your server as root and issue the following commands:
Code:
cd /
wget http://incrediblepbx.com/ibmstt-411-wazo.tar.gz
tar zxvf ibmstt-411-wazo.tar.gz
rm -f ibmstt-411-wazo.tar.gz
sed -i '\:// BEGIN Call by Name:,\:// END Call by Name:d' /etc/asterisk/extensions_extra.d/xivo-extrafeatures.conf
sed -i '/\[xivo-extrafeatures\]/r /tmp/411.txt' /etc/asterisk/extensions_extra.d/xivo-extrafeatures.conf
asterisk -rx "dialplan reload"

2. Edit /var/lib/asterisk/agi-bin/getnumber.sh and insert your IBM credentials from step #7 above into these variables:
Code:
API_USERNAME="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
API_PASSWORD="XXXXXXXXXXXX"

3. Save the file.


Taking the Software for a Test Drive

1. Dial 411 from an extension on your PBX and say "Delta Airlines" or "American Airlines"
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Incredible PBX for Wazo support added above.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Incredible PBX 13 and Incredible PBX for Issabel platforms use AsteriDex with MySQL or MariaDB for the backend lookups.

Incredible PBX for Wazo uses AsteriDex with SQLite3 for the backend lookups.

You can decipher the syntax differences by reviewing the bash script: /var/lib/asterisk/agi-bin/getnumber.sh
 

Members online

Forum statistics

Threads
25,779
Messages
167,505
Members
19,199
Latest member
leocipriano
Get 3CX - Absolutely Free!

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.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top