Asterisk

Aserisk/FreePBX/MySQL/CentOS 5.1/VOIP (no FXO - FXS)
I have scoured the internet for a good tutorial/walk-thru on installing Asterisk with FreePBX and MySQL. And, I will admit, I’m not impressed. There were many sites that were useful, with either terminology, or getting one thing working. But, not a single one of them were able from start to finish, get a fully functioning Asterisk/FreePBX/MySQL/CentOS system working. In my tutorial, I plan to do just that. I hope this will help many people, including myself. There are some things, however, I will tell you from the start, I, myself, am quite new to Asterisk. I’m still learning how to use all of its capabilities. I will be installing Asteisk as “root” user, meaning, Asterisk will be running as “root” user (not security conscious). Eventually, when I feel comfortable enough with Asterisk, I will do a install not running as “root”.
I will walk you through the installation of CentOS 5.1, then Asterisk, Asterisk-Addons, and finally FreePBX. Also, in the next week or two, I will have a video-cast, on this same install procedure. So, keep tuned.
I will like to say, if you sway away from this tutorial, or do things differently, it may not work. If you follow it to the “T”, it will work. It is tried, and tested.
A command I like to use regularly, specially when I make and make install a program, I like to run the “echo $?” command. Which, in turn tells you if whether there were any errors while running the make command for example:

./configure
echo $?

if it returns a “0″, then, you’re ok to go, there were no errors while running. However, if there was a non-zero, then you have some problems, and should go back to find out what they were. I’ll be using it from time to time, and so should you.
So, let’s get started.

CentOS ↓↑ Install…

Prepare ↓↑ our new CentOS system…

Asterisk ↓↑ and Asterisk Addons install…

Adding ↓↑ Modules…

Leave a Reply