Thursday, May 28, 2015





Loading Asterisk 11.16.0 and FreePBX 2.11 on a Pogoplug Pro

Convert your Pogoplug Pro to run bohi's 3.18.5 kernel of Debian by following the procedures outlined here: http://forum.doozan.com/read.php?2,16044.  Make sure you create a swap partition or file of at least 512Mb as mysql will not work properly and Asterisk will not compile if you fail to have one.  Do not proceed to install Asterisk until you are confident the new Debian and u-boot install is working correctly and can survive reboots. 

Also, complete a couple 'apt-get update && apt-get upgrade -y' 's so that all your source lists and packages are up to date.

Once your Pro is successfully running Debian and you have dpkg'ed the linux-source and linux-headers from the Doozan site, load these dependencies setting the mysql root password to "passw0rd" yes that's a zero for 'oh':

apt-get install -y build-essential linux-headers-`uname -r` wget libspeex-dev libspeexdsp-dev dialog unixODBC unixODBC-dev libmyodbc libcurl4-openssl-dev libiksemel-dev uuid-dev openssh-server apache2 mysql-client bison flex php5 php5-curl php5-cli php5-mysql php-pear php-db php5-gd curl sox libncurses5-dev libssl-dev libmysqlclient15-dev mpg123 libmpg123-0 libxml2-dev libnewt-dev sqlite3 libsqlite3-dev pkg-config automake libtool autoconf git subversion liblua5.1 liblua5.1-0-dev libwww-perl libsox-fmt-all alsa-base apmd alsa-oss oss-compat xapm portaudio19-dev python-setuptools pptpd libspandsp-dev libossp-uuid16 mysql-server libiksemel-utils sox libjson-perl flac libbluetooth-dev libgnutls-dev 

Follow this guide on how to compile Asterisk and install it and how to install FreePBX:
http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Debian+Wheezy  Don't download or try to compile Dahdi and Libpri as they do not apply to ARM architectures.  You will encounter some errors when FreePBX is loading the modules but you can enable them all once you finish the install and login to the admin page.

If you would like to add chan_dongle to the mix for voice calling from a Huawei voice capable modem follow this guide at the bottom of the tutorial section (don't worry about it being for Raspberry Pi):   http://www.adeleda.com/raspberry-pi-b-with-asterisk-and-chan_dongle-on-arch-linux-en.html.  Make sure you update the ./configure instructions for the version of Asterisk you are using.

The tough part will be getting Debian loaded and stable.  

When done, enjoy your new PBX.

No comments:

Post a Comment