Step 2. Install and ConfigureĀ Asterisk
When I first started on this part, I tried to build Asterisk from source in order to install the latest version. But the many dependencies and the slow build process on DNS-323, due to its slow CPU, changed my mind. Fortunately there is binary available for ARM architecture in Debian, just not the latest version. But it works just fine.
The process is simple:
dlink-xxx:# apt-get install asteriskNow we need to configure it to unload all the modules that we don’t really need to reduce memory usage.
dlink-xxx:# nano /etc/asterisk/modules.confNow add these lines to the end of the file:
noload => chan_gtalk noload => chan_iax2 noload => chan_zap noload => chan_vpb noload => pbx_dundi noload => app_amd noload => res_jabber noload => res_odbc noload => res_smdi noload => res_snmp noload => app_directory_odbc.so noload => app_voicemail_imap.so noload => app_voicemail_odbc.so
Then look for and change:
load => format_au.so ... load => format_mp3.so
to
noload => format_au.so ... noload => format_mp3.so
Now restart Asterisk:
dlink-xxx:# /etc/init.d/asterisk restart
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…