Asterisk GSM 3G voice gateway (FCT) using Raspberry pi and huwaei modem for under $100!

A success story today!
After playing for about one month with chan_dongle and Huawei dongles I’ve managed to compile and run it to raspberry! It makes a brilliant lightweight portable open source PBX with a GSM module consuming under 5W!!!

You have to take the following steps in order to make it work 🙂

Download the latest raspberry pi disto from http://www.raspberrypi.org/downloads
I used the wheezy 2012-09-18
After installing login via SSH and do:

apt-get update
upgrade
apt-get install gcc g++ make libnewt-dev libncurses5-dev openssl libssl-dev zlib1g-dev libxml2-dev
wget http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-1.6.2.24.tar.gz
tar xzf asterisk-1.6.2.24.tar.gz
cd asterisk-1.6.2.24/
vi makeopts.in and set PROC=arm
./configure
make
make install
make samples
cd
apt-get install subversion automake
svn checkout http://asterisk-chan-dongle.googlecode.com/svn/trunk/ dongle-read-only
cd dongle-read-only/
aclocal && autoconf && automake -a
./configure
make
make install
apt-get install usb-modeswitch
cp etc/dongle.conf /etc/asterisk/
vi /etc/asterisk/dongle.conf and set dongle0 to user /dev/ttyUSB1 for audio and /dev/ttyUSB2 for data

plug in you Huawei modem (make sure it has voice feature enabled and is chan_dongle compatible)
start asterisk and make a test call to your mobile number inserted in the dongle!!!

That’s it! Asterisk welcomes you to the world of open source software PBX!

This entry was posted in voip and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply