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
I used the wheezy 2012-09-18
After installing login via SSH and do:

apt-get update
apt-get install gcc g++ make libnewt-dev libncurses5-dev openssl libssl-dev zlib1g-dev libxml2-dev
tar xzf asterisk-
cd asterisk-
vi and set PROC=arm
make install
make samples
apt-get install subversion automake
svn checkout dongle-read-only
cd dongle-read-only/
aclocal && autoconf && automake -a
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!

October 24 2012 09:50 am | voip

Leave a Reply

You must be logged in to post a comment.