How To: FreePBX on Raspbian

FreePBX is an opensource front-end for the Asterisk VoIP solution. It can be installed on a Raspberry Pi via a prebuilt image but what if you want to use it directly on Raspbian (or other distros)? Well, it is possible with a few minor tweaks.

FreePBX

Because FreePBX and Asterisk are tightly bound it is a permissions nightmare to get the web interface to work with any other user than ‘asterisk’. If you already have Apache running for other purposes then this is obviously not ideal. For this reason we need to get second Apache process running as the ‘asterisk’ user, while at the same time allowing the main Apache process to run as is. Here’s how you do that.

Read More »

Second Arduino Project – Nagios LED

After the successful first project of getting a PIR sensor to work with Arduino I thought I’d try something a bit more practical and bespoke. The idea with this is you can use the Arduino to change the colour of an LED if there are any critical or warning errors in Nagios Monitoring software.

Nagios-Logo

This time we’re going to get the Arduino to read input over its USB serial interface from a Raspverry Pi and depending on what it receives either make the LED light green or red.

Read More »

Headless Torrent Daemon on Raspberry Pi

If, like me, you use a Raspberry Pi as a multimedia centre it’s really handy being able to kick off a torrent without having to be logged into the Pi. This is especially useful if you want to download something using your phone, to your Pi, from literally anywhere.

transmission

Here’s how to configure Transmission so you can download torrents to your Pi from anywhere.

Read More »

FM Transmitter with Raspberry Pi

When I first read about this I thought it can’t be real but it is. The Raspberry Pi can be used as a stereo FM transmitter. It’s a pretty nifty discovery which uses a GPIO pin on the Pi to generate spread-spectrum clock signals and outputs FM Radio energy.

Radio Pi FM

There’s no point in me rewording what has already been written so here is the explanation from the guys who discovered it over at icrobotics.co.ukRead More »

Mopify Behind Apache Reverse Proxy

I’ll be writing a post about how great Mopify is shortly but essentially it’s a web plugin for Mopidy which provides a web front end to Spotify running on just about any machine. It means you can control Spotify running on a machine plugged into your HiFi without the needs for the Spotify App on your device. This is handy where you have other people in the house with their own accounts but still want them to be able to control the music on the main HiFi.

spotify-tile

Of course, an ideal host machine might well be a Raspberry Pi with a decent USB Soundcard.

Mopidy runs its own little web server which means Read More »