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

October 24th, 2012 -- Posted in voip | No Comments »

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!

Software Defined Radio

August 26th, 2011 -- Posted in Uncategorized | No Comments »

When I was young, I had a dream. I imagined of one device that could replace them all. Why have a separate

-49mhz analog phone
-FM Radio
-TV tuner
-GSM cellphone
-DECT phone

Whilst all of them are based on RF?
Since I was a 15yo kid, of course I could only have this device in my dreams.
Now I see that time has come. With the advent of FPGA’s and modern electronics, you can have them ALL in ONE!

Why bother carrying all of this stuff, while funcube dongle exists?
Why buy expensive hardware that does very specific things, on very specific frequencies, and not write (or even re-use) some lines of code that run on generic hardware?

Why the fuck pay thousands of dollars for ICOM, YAESU and KENWOOD top-line machinery since what each of them has to show is their DSP unit? Create your own DSP unit! It’s just dragging n dropping a block!

Long live the Software Radio!
Thank you John Gilmore, Eric Blossom, Matt Ettus!