http://www.pbxphreak.com/Asterisk/Default.htm
Asterisk v1.4x built on FreeBSD v7.1 UNIX Prerequisites: A complete and fully functional FreeBSD Installation Overview: Typical Hardware & Software for a "Home" IP PBX
|
# PHP INI setting: vi /usr/local/lib/php.ini upload_max_filesize=20M
# Apache conf setting
# Download the latest FreePBX files:
# Getting Asterisk and Zaptel from SVN or download the latest Asterisk and Zaptel source archives
# Digium telephony card that supports T1/E1 signaling do this step as well:
# Asterisk with softfax/spandsp.
#Create a group and non-root user:
# Building Asterisk and configuring it to run as a non-root user
# build cdr_mysql module for asterisk
# Install asterisk-sounds
# Asterisk GUI
# Edit manager.conf
# Edit http.conf
# Create the moh directory
# Edit rc.conf
# Edit zaptel.conf
# Start zaptel
# Edit /etc/hosts and setup for your machine's name and IP addressing
# Start Asterisk
# Run through a first time web installation
# Learn to navigate the basic web interface
Add some users (SIP Phone) extensions:
Add some trunks to connect your system to other systems: |
Get a commercial SIP Trunk and real world DID phone number # Get a BYOD (Bring Your Own Device) account at BroadVoice:
Log in to your Boadvoice account:
Get your BOYD SIP username / password:
Log into your Asterisk GUI and create a Broadvoice trunk: Fill in Advaned Settings for this trunk:
Add some Calling Rules:
Add some Incoming Calls rules:
Add a Ring Group for your Broadvoice account:
# Change to Asterisk directory # Edit the users.conf
# Edit the sip.conf
# Edit extensions.conf add this to the existing default section # Start Asterisk
# Make some test calls |
astGUIclient and the VICI Dialer ########################################################### /usr/share/astguiclient/ADMIN_area_code_populate.pl |
Super minimal Asterisk configuration needed to get two (2) SIP soft phones like X-Lite running quickly vi /usr/local/etc/asterisk/sip.conf |
Proof of concept - Writing values to a MySQL database via DTMF menu choices "Press 1 if you like Pepsi" exten => 1,n,MYSQL(Connect connid 127.0.0.1 root passw0rd results) Of course you need to have the database and fields created setup before hand. Command Notes: http://www.voip-info.org/wiki/index.php?page=Asterisk+-+documentation+of+application+commands |
The FreePBX Web Interface (as seen in Trixbox) FAILS to install or run on FreeBSD 6.2! Do NOT believe what you read here: http://www.freepbx.org/support/documentation/installation/install-process-for-freebsd Here are my failed install attempt notes: # Create databases
# Using phpMyAdmin on the asterisk database # Edit # Edit # Edit # Add missing directory
mkdir /usr/local/share/asterisk/mohmp3 chown -R www:www /opt/apache/htdocs/
vi /var/lib/asterisk/bin/bounce_op.sh /opt/apache/htdocs/panel/safe_opserver & vi /usr/local/etc/asterisk/extensions_additional.conf |