wardmundy
Nerd Uno
- Joined
- Oct 12, 2007
- Messages
- 19,206
- Reaction score
- 5,229
Overview: For those using AsteriDex, we have a new add-on that I think you'll really use. Here's how it works. Ideally, you assign a button on your phone to extension 412. When the button is pressed or 412 is dialed, CallWho will prompt the user to enter the first three letters of the person they wish to call. This represents the first three letters of an entry in the AsteriDex phonebook. If only one entry exists, the call will be placed. If more than one matching entry exists, a list of the matching entries will be read (up to 9) using Cepstral or Flite. The user picks the one they want, and the call is placed.
Prerequisites: You must already have AsteriDex 4 installed (install script is available here) as well as either Flite or Cepstral (install tutorial is available here). The software defaults to Cepstral. To change it, edit extensions_custom.conf dialplan for 412 and reverse the commented and uncommented lines. Edit nv-callwho.php in /var/lib/asterisk/agi-bin and change the $ttspick entry from one to zero.
Installation: Log into your server as root and issue the following commands:
cd /root
wget http://bestof.nerdvittles.com/applications/asteridex4/callwho.pbx
chmod +x callwho.pbx
./callwho.pbx
After the install completes, use your web browser and point it to the real IP address of your server with the following:
http://192.168.0.22/asteridex4/dialcode.php
This will populate the dialcodes in your AsteriDex database with 3-digit codes for each name entry. As you add new entries, don't forget to add new dialcodes or run this app again. It will only run as an AsteriDex admin. ** IT WILL ERASE ANY DATA YOU ALREADY HAVE IN THE dialcode FIELD THROUGHOUT YOUR DATABASE! **
Now dial 412 from any phone on your system. If it doesn't work, add a Misc Destination in FreePBX for CallWho at extension 412 and try again.
Feedback appreciated!!
Prerequisites: You must already have AsteriDex 4 installed (install script is available here) as well as either Flite or Cepstral (install tutorial is available here). The software defaults to Cepstral. To change it, edit extensions_custom.conf dialplan for 412 and reverse the commented and uncommented lines. Edit nv-callwho.php in /var/lib/asterisk/agi-bin and change the $ttspick entry from one to zero.
Installation: Log into your server as root and issue the following commands:
cd /root
wget http://bestof.nerdvittles.com/applications/asteridex4/callwho.pbx
chmod +x callwho.pbx
./callwho.pbx
After the install completes, use your web browser and point it to the real IP address of your server with the following:
http://192.168.0.22/asteridex4/dialcode.php
This will populate the dialcodes in your AsteriDex database with 3-digit codes for each name entry. As you add new entries, don't forget to add new dialcodes or run this app again. It will only run as an AsteriDex admin. ** IT WILL ERASE ANY DATA YOU ALREADY HAVE IN THE dialcode FIELD THROUGHOUT YOUR DATABASE! **
Now dial 412 from any phone on your system. If it doesn't work, add a Misc Destination in FreePBX for CallWho at extension 412 and try again.
Feedback appreciated!!