Step 4. Install FreePBX
Here we are going to install FreePBX 2.6.0. Assuming you are logged in as root
# Download the source dlink-xxx:# cd ~ dlink-xxx:# wget http://mirror.freepbx.org/freepbx-2.6.0.tar.gz dlink-xxx:# tar xvfz freepbx-2.6.0.tar.gz dlink-xxx:# cd freepbx-2.6.0 # Create the necessary databases and grant permission dlink-xxx:# mysqladmin create asteriskcdrd dlink-xxx:# mysql asteriskcdrdb < SQL/cdr_mysql_table.sql dlink-xxx:# mysqladmin create asterisk dlink-xxx:# mysql asterisk < SQL/newinstall.sql dlink-xxx:# echo "GRANT ALL ON asterisk.* to asteriskuser@localhost identified by 'amp109'" | mysql dlink-xxx:# echo "GRANT ALL ON asteriskcdrdb.* to asteriskuser@localhost identified by 'amp109'" | mysql
Now we run the install script
dlink-xxx:# ./install_ampFollow the on-screen prompts.
Credit for this part goes to PowerPBX.
2 Responses to “Asterisk + FreePBX + Google Voice on DNS-323”
January 15th, 2010 at 6:35 AM
Wow, great tutorial! Makes it really clear, the steps you’ve taken. It’s actually deterred me from doing it on my own dns-323, which I’m using primarily now, as a torrent client/server ( I was using it a a backup/fileserver for our home computer network, but realized pretty quickly it just didn’t have the horsepower to do what I wanted it to do). That said, it’s as reliable as a hammer, in that it will run for months without a hiccup (installed funplug on it almost immediately after unboxing it a couple years ago).
After reading about your experiences, and the instructions on the nerdvittles site, I think I’m going to buy one of those low power acer revo boxes, and install pbx-in-a-flash on it. I think they have enough power to do what you’ve done on the dns-323, and media-centre as well
Thanks again for the writeup!
January 15th, 2010 at 8:36 AM
Thanks. But this is not something original, I just put those pieces together specifically for DNS-323.
I use my DNS-323 mostly as a media server, occasionally for Bittorrent. But the built-in BT client is very limited and crashes often. So I siwtched to rTorrent. I can turn it on and off as I wish.
The Acer Revo is a great machine. It’s cheap, even cheaper if you go the Ubuntu route. I was considering getting one as a HTPC. But I do want Blu-Ray capability and Atom is just not gonna cut it.
D-Link has a 4-Bay NAS DNS-343, that maybe my next NAS since the 2TB on my DNS-323 is running out soon…