Asterisk

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.
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)
blocks Utlize -fblocks (only supported by, and required when using, clang/LLVM)
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
codec2 Enable Codec2 support in asterisk
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
deprecated Enable deprecated features (eg, app_macro)
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)
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)
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
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
snmp Add support for the Simple Network Management Protocol if available
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)
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
static !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
statsd Enable statsd integration
syslog Enable support for syslog
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking
unbound Enable improved DNS core (SRV, NAPTR) by use of libunbound
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