Asterisk

From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.
Resources

Asterisk is a PBX server program to manage phones.

Installation

USE flags

USE flags for net-misc/asterisk Asterisk: A Modular Open Source PBX System

alsa Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
bluetooth Enable Bluetooth Support
calendar Add support for calendars (not using mcal!)
caps Use Linux capabilities library to control privilege
cluster Enable high-availability support through the Corosync Cluster Engine
curl Add support for client-side URL transfer library
dahdi Support Digium compatible hardware (formerly known as Zaptel).
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
freetds Add support for the TDS protocol to connect to MSSQL/Sybase databases
gtalk Enable support for Google Talk services
http Enable embedded web server
iconv Enable support for the iconv character set conversion library
ilbc Enable the Internet Low Bitrate Codec (iLBC)
ldap Add LDAP support (Lightweight Directory Access Protocol)
libedit Use the libedit library (replacement for readline)
libressl Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)
lua Enable Lua scripting support
mysql Add mySQL Database support
newt Include additional tools that require redhats windowing toolkit
odbc Add ODBC Support (Open DataBase Connectivity)
osplookup Support secure peering using the Open Settlement Protocol
oss Add support for OSS (Open Sound System)
pjproject Enable support for pjproject (pjsip)
portaudio Add support for the crossplatform portaudio audio API
postgres Add support for the postgresql database
radius Add support for RADIUS authentication
samples Install sample sound and configuration files (default: on)
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
span Enable support for the spandsp codec
speex Add support for the speex audio codec (used for speech)
srtp Enable support for encrypted voice transmission (secure RTP)
statsd Enable statsd integration
syslog Enable support for syslog
vorbis Add support for the OggVorbis audio codec
xmpp Enable support for Extensible Messaging and Presence Protocol (XMPP) formerly known as Jabber

Extended USE flags

The net-misc/asterisk supports the VOICEMAIL_STORAGE USE_EXPAND variable that is definable in /etc/portage/make.conf:

FILE /etc/portage/make.confExtended USE flags for Asterisk
VOICEMAIL_STORAGE="file imap odbc"

Emerge

Install net-misc/asterisk:

root #emerge --ask net-misc/asterisk

Configuration

Usage

Testing

If no PBX hardware phones are available, linphone can be used to test the setup. This is a much less expensive solution than purchasing PBX hardware.

See also

External resources