Asterisk is an Open Source PBX and telephony toolkit. It is, in a
sense, middleware between Internet and telephony channels on the bottom,
and Internet and telephony applications at the top.
===> The following configuration options are available for asterisk20-20.21.0:
ASTVERSION=off: Install astversion (requires bash)
BACKTRACE=off: Stack backtrace support via (lib)execinfo
CURL=on: Data transfer support via cURL
DAHDI=on: DAHDI support
EXCHANGE=off: Exchange calendar support
FREETDS=on: FreeTDS library support
G729=off: Install G.729 format sounds for Music-on-Hold (MoH)
GEOLOCATION=off: Enable SIP Geolocation support
LDAP=off: LDAP protocol support
LUA=on: Lua scripting language support
MACRO=on: Enable app_macro (deprecated)
MP3PLAYER=on: Install MP3 Player for Music-On-Hold (mpg123)
OOH323=off: ooh323 support
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
PJSIP=on: Build the PJSIP based SIP channel
PORTAUDIO=on: PortAudio library support
RADIUS=on: RADIUS protocol support
SIP=off: Build the legacy SIP based channel
SNMP=on: SNMP network protocol support
SPANDSP=on: SpanDSP faxing support
SRTP=on: SecureRTP support
SYSINFO=off: Use devel/libsysinfo to get system information
UNBOUND=off: Use dns/unbound resolver
URIPARSER=on: Use RFC 3986 compliant uriparser library
XMLDOC=on: Build and install XML documentation
XMPP=on: XMPP/GTALK support
====> Menuselect Interface Backend: you have to choose at least one of them
NCURSES=off: Console (text) interface support
NEWT=on: Newt User Interface
====> Encoder/Decoder (Codec) Support
GSM=on: GSM codec support
NEWG711=off: New G711 Codec
OPUS=on: Opus Codec
SPEEX=on: Speex audio format support
VORBIS=on: Ogg Vorbis audio codec support
====> Database Support
MYSQL=on: MySQL database support
ODBC=on: ODBC database backend
PGSQL=on: PostgreSQL database support
===> Use 'make config' to modify these settings
This port supports custom Asterisk configurations using a *user-supplied*
menuselect.makeopt file.
This feature is of most value for users that want to disable or override
default functionality that they dont want or need, particular in space
and/or resource constrained, or embedded environments.
If a file named ".asterisk.makeopts" is found in the ports files/
directory, its contents will be used to configure Asterisk at the
post-configure stage.
If the file is *not* found, the port will default to a 'normal' Asterisk
menuselect configuration, and only execute menuselect commands according
to what port OPTIONS the user has selected.
The format of this file is the same as the output of a standard
`make menuselect` command, as per standard build instructions for
Asterisk.
NOTE: The contents of this file *MUST* be syntactically and semantically
valid, as the port does *NOT* perform validation of this file.
In particular, ensure that all Asterisk options have their
dependencies met, using the corresponding port OPTIONS dependencies.
The `menuselect --check-deps` command can be used to verify the
configuration
The following related documentation resources are also available:
* https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options
* http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/installing_base_configuration.html#Installing_id293213
NOTE: To get color output in the asterisk console you need to install
the misc/terminfo-db port
net/asterisk{20,22}: Fix build with WITH_PIE
Upstream commit f82393d brokes build options handling for
bundled pjproject. That was fixed later by 78b7c4e.
Temporary use this patch in our ports until next release.
PR: 298207
Co-authored-by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
Sponsored by: FLEX-IT LLC
MFH: 2026Q3
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
net/asterisk20: Add MP3 Decoder Code for Format_MP3 support
Format_MP3, used to play MP3 encoded voicemail and music on hold, relies
on decoder library files that are not included in the main Asterisk
distribution.
PR: 292715
Tested by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua>
Co-authored-by: Justin T. Gibbs <gibbs@FreeBSD.org>
net/asterisk20: Fix build with G729 option
Also update asterisk-core-sounds-en-g729 from 1.5 to 1.6.
PR: 283417
Fixes: b85572488263 (Add net/asterisk20: LTS version of Asterisk PBX software)