I have been using the
Asterisk PBX and the
FreePBX GUI on my
ClarkConnect gateway for some time now with great success. I recently upgraded to CC 4.0 and have concluded the system works as well or better than it did on the 3.2 version. During my experimentation I wrote an install script to quickly install Asterisk and FreePBX onto the ClarkConnect gateway. At the time, I was working off a "cut and paste" guide written by
Samy Antoun and decided to make an executable script. The result was
cc-freepbx(for CC3.2) and
cc-freepbx40(for CC4.0) which I recently released on several VOIP online forums. The scripts have proven to be very popular judging by the number of downloads. The following guide will assist you in the minor tweaking necessary after initial intallation.
What you get...
- ClarkConnect 4.0 (Community or Enterprise)
- Asterisk 1.2.14
- Zaptel 1.2.12 (running "ztdummy" module)
- Libpri 1.2.4
- Addons 1.2.5
- Sounds 1.2.1
- FreePBX 2.1.3
Note that I am running the Zaptel dummy timing module. I have never used any of the hardware cards and I personally use a
cheap ATA I bought on ebay. I will leave the hardware card experimentation to those who are inclined.
There are a few addons/mods that I included that I use to make the system more user friendly.
- an updated
index.html page
-
vnStat network monitor w/
web interface
- Asterisk "phpconfig" GUI
- FreePBX additional "missing modules"
-
PHPSysinfo
- password protection for FOP, Netstats, PHPconfig, & Sysinfo
- Additional Music On Hold
Mp3 files
- probably other mods I can't think of right now.
Getting started...
1) Install ClarkConnect 4.0 making sure you selected the Web Server, Mail Server, and Database modules.
2) After installation you should be presented with the console menu screen.
Press ALT+F4 and login with "root" and your password.
3) At the prompt issue the following commands:
wget http://www.prestonmoore.com/images/cc-freepbx40
sh cc-freepbx40
At this point the script will begin downloading and installing the software from different sources. You will be prompted to configure Freepbx. Leave everything as default except you will need to set you ip address [xx.xx.xx.xx] and pick a password [passw0rd]. The last prompt will ask you to pick a password for the Flash Panel, Net-stats, etc. The intstallation is complete and it will reboot.
Post-install configuration...
Login to ClarkConnect and set the Mysql password. The rest of the configs can be done from the console.
nano +73 /var/www/html/admin/modules/phpmyadmin/config.default.php
change "passw0rd" to your CC Mysql password you entered above.
nano +37 /etc/amportal.conf
(you should see AMPWEBADDRESS=youripadd)
remove your ip address (there should be nothing past the "=" mark.
nano +34 /var/www/html/panel/op_server.cfg
remove the ip from web_hostname= (like above)
sensors-detect
If you motherboard supports monitoring, configure
lm-sensors by following the on-screen instructions.(you will need to reboot after configuring)
Change the address in the following files to your CC box. You can use an IP or FQDN (ie. asterisk.pointclark.net)
nano /var/webconfig/htdocs/admin/freepbx.php
nano /var/webconfig/htdocs/admin/fop.php
nano /var/webconfig/htdocs/admin/ari.php
You will need to configure your firewall. It should look similar to
this if you want remote access.
Please
contact me with comments, questons or additions.
10-21-2006
I updated the scripts to include the lastest Asterisk packages.
I started a
forum to support any issues, suggestions, etc.