My Asterisk VoIP system

From Poggs' Wiki

Jump to: navigation, search

Voice over IP (VoIP) has grown steadily over the last few years, and whilst it has a good penetration in to large companies and callcentres, it is still relatively uncommon in a residential environment. Emerging technology is always fun to play with, but suffers from the fact that it has limited use. Still, early adopters of new technology can be best placed to warn of the pitfalls when that technology becomes mainstream.

Breaking the mould, as per usual, I have my own VoIP system at home. The software is Open Source - Asterisk - I wouldn't run anything else in the home, for reasons I may go in to later.

Contents

Topology

Here is the topology of my PBX:

Image:asterisk_pbx.png

Technology

Incoming calls are terminated from the PSTN on a TDM400P card with one FXO and one FXS module. I have a spare X100P card that I no longer use, and the FXS port is currently unconnected.

I have two Cisco 7940 IP phones running CallManager firmware using chan_sccp2 in Asterisk. I tried the SIP firmware, but functionality isn't as good. However, this is balanced against the relative instability of the the chan_sccp2 module.

Trunks

I've set up two trunks to friends of mine - one who uses three-digit extensions starting 8XX, and another who uses four-digit extensions starting 2XXX. These both have entries in the dial plan.

Hacks

I wrote a script to perform LDAP lookups on incoming calls against OpenLDAP, where I store my contact directory. Unfortunately, I managed to delete the script by accident.

Personal tools