In preparation for a mobile telephony application I’m creating – I wanted to install Asterisk on a RaspberryPi. There’s a specific Asterisk OS for the Pi (http://www.raspberry-asterisk.org) which I’m told is great, but I wanted the full Wheezy OS to easily incorporate other modules in the future. Installing asterisk on the Pi ended up being much simpler than I had imagined. Just as you would on any cloud server all you need to do is install the dependencies:
apt-get update apt-get -y install build-essential apt-get -y install sqlite3 apt-get -y install libsqlite3-dev
And then you can go ahead and install Asterisk ‘apt-get -y install asterisk’. I ended up using IPKall to provide me with a SIP phone number, but other companies are also great to use (such as FlowRoute). Edit your sip.conf with respect to your SIP provider and then after a ‘module reload’ in your Asterisk console you should be good to go with any dial-plan. For my project I also wanted to install a bunch of other dependencies. If you want to mimic my setup you can run:
'wget -F http://www.robbietilton.com/downloads/asterisk-on-pi.txt -O config.sh'