Build your own PBX

Category: HowTo


Simple shell script to block failed ssh attempts

Your pbx needs to be accessible by ssh, but it’s annoying have your log files filled with failed access attempts. Here’s how to block the script kiddies…


Asterisk Security: Use iptables to Block the Bad Guys

Having your asterisk server on the public internet saves you from dealing with NAT/firewall issues, but means you will have people wandering by and testing to see if your doors are locked. This article outlines how to block IP addresses that attempt to break into your system.


Finally, an elegant way to get a Distinctive Ring on the Aastra 9133i

A simple SIP header gives distictive rings on the Aastra 9133i without having to setup multiple lines.


Build Your PBX: Overview

Before getting into details, it helps to have a visual overview of the system we’re building. Let’s walk through this diagram. There are couple of VOIP phones that connect to a standard router. The router is connected to the internet using a broadband connection (probably ADSL or cable) that has a minimum speed of 100kbps […]


Run common asterisk commands without switching to the root user

The default asterisk install requires you to switch to the root user to run asterisk commands. This post describes how to create a tiny executable that allows you to run asterisk commands as a regular user.


Build Your PBX – Step 5: Add a VOIP provider

A PBX is a bit boring if you can’t contact the outside world. This post will walk you through connecting to a VOIP service provider so you can make calls to regular phones and receive calls from a regular phone number.


Build Your PBX – Step 4: Configure your VOIP Phone

You’ve got asterisk installed, configured and running. Now it’s time to get your VOIP phone configured to talk to your PBX.


Build your PBX – Step 3: Configure your Asterisk PBX

There are three key configuration files that you need to setup for a basic asterisk install. We’ll walk through setting up sip.conf, voicemail.conf and extensions.conf.


Build Your PBX – Step 2: Compile Asterisk

Sometimes downloading the source code and compiling it is the easiest way. I’ll show you how to get the latest stable version of asterisk downloaded and compiled.


Build your PBX – Step 1: Setup your VPS

I recommend you use a VPS (virtual private server) to run your asterisk PBX. Why? Stability and reliability – two key qualities for a phone system. It’s also quick and painless to setup. (Despite what some would have you believe, no hardware or kernel modules are required.)

Next Page »