Table of Contents

FreePBX Distro

Home: http://www.freepbx.org/freepbx-distro

Pro Tips Series Videos: https://www.youtube.com/results?search_query=freepbx+open+source+pro+tips+sangoma

Downloads: https://downloads.freepbxdistro.org/ISO/

The FreePBX distro is:

Updating

http://wiki.freepbx.org/display/PPS/Updating+FreePBX+Official+Distro

http://www.freepbx.org/support/documentation/installation/updating-the-freepbx-distro

Installation

Netinstall: http://www.freepbx.org/download-freepbx

http://wiki.freepbx.org/display/FD/Installing+FreePBX+Official+Distro

http://www.freepbx.org/support/documentation/installation/installing-the-freepbx-distro

First Steps

http://wiki.freepbx.org/display/FD/FreePBX+Distro+First+Steps+After+Installation

http://www.freepbx.org/support/documentation/installation/first-steps-after-installation

RTC Clock

You may have problems shutting down or rebooting your PBX where the system hangs for over 5 minutes trying to shut down MySQL or MariaDB.

A stop job is running for MariaDB...

This change to the configuration will fix this:

timedatectl set-local-rtc 0

Trunks

DAHDI (ZAP)

FIXME

http://www.pbxinaflash.com/community/index.php?threads/install-aex800-wildcard-using-dahdi-on-piaf-purple.11214/

Mediatrix

FIXME

http://www.sonoracomm.com/support/20-voice-support/154-mediatrix-1204

http://lists.digium.com/pipermail/asterisk-users/2004-February/028568.html

Create a trunk
	Mediatrix gateway is SIP trunk
		Name, Description, Host, Codecs
		No authentication
Routes -> Inbound Routes
	Create a new inbound route
		Choose a DID number to use (such as 999)

Also, you can create a new Feature extension and use that. Security implications?

On the Mediatrix 1204 gateway
	No authentication
	Point ports to extension 999 on server for inbound calls
	See setup info on web site for SAIL
	Logging
		Device Info -> Monitoring
			Enable syslog to PBX IP
		On PBX, enable remote logging
			vi /etc/sysconfig/syslog
				add '-r' to SYSLOGD_OPTIONS
			service syslog restart

Vitelity

PBX With Dynamic IP

Caller IDNumberComment
Outbound CLIDXXXXXXXXXXExtension CLID overrides trunk CLID
Prepend
1520NXXXXXX
1NXXNXXXXXX
Outgoing Settings
vitelity-outbound
type=friend
dtmfmode=auto
host=outbound.vitelity.net
username=your_vitelity_login_name
fromuser=your_vitelity_login_name
trustrpid=yes
sendrpid=yes
secret=your_vitelity_password
allow=all
nat=yes
canreinvite=no
qualify=yes
Incoming Settings
vitelity-inbound
type=friend
dtmfmode=auto
host=inbound23.vitelity.net
context=from-trunk
username=your_vitelity_login_name
secret=your_vitelity_password
allow=all
insecure=very
nat=yes
canreinvite=no
qualify=yes
Registration
Register Stringyour_vitelity_login_name:your_vitelity_password@inbound23.vitelity.net:5060

PBX With Static IP

FIXME

IP-routed method shown here with separate trunks for inbound and outbound.

Note that you can only manipulate outbound caller ID if using IP routing. If using registration, specify the desired CLID in the Vitelity Portal Subaccount.

Create SIP Trunk
Name: vitel-inbound
Description: Vitelity Inbound SIP Trunk
Host: inbound23.vitelity.net
Direction: Inbound
Context: from-outside
Caller ID: Your Company <5551234567>
Codecs: G.711u, G.729, GSM 			# order by preference
DTMF mode: Auto
Other options: insecure=very
Provider's web site	https://portal.vitelity.net

Clone the inbound trunk to create the outbound trunk:

Name: vitel-outbound
Host: 64.2.142.93
Description: Vitelity Outbound SIP Trunk
Direction: Outbound
Context: from-inside
Codecs: G.711u, G.729, GSM
DTMF mode: Auto
Provider's web site	https://portal.vitelity.net

Day/Night Mode

http://www.freepbx.org/forum/freepbx/tips-and-tricks/blf-key-for-day-night-mode-or-call-flow-control

Xen Virtualization

:!: Unsupported! The FreePBX distro is focused on a simple, reliable, 32-bit implementation.