| Port details |
- asterisk20 Open Source PBX and telephony toolkit
- 20.21.0 net
=1 20.21.0Version of this port present on the latest quarterly branch. - Maintainer: o.kryvulia@flex-it.com.ua
 - Port Added: 2024-12-16 18:09:06
- Last Update: 2026-09-25 09:26:29
- Commit Hash: a2bad65
- People watching this port, also watch:: adguardhome, mtg, amnezia-tools, cacti-php84, opensmtpd
- License: GPLv2
- WWW:
- https://www.asterisk.org
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- asterisk20>0:net/asterisk20
- Conflicts:
- CONFLICTS:
- CONFLICTS_BUILD:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/net/asterisk20/ && make install clean
- To add the package, run one of these commands:
- pkg install net/asterisk20
- pkg install asterisk20
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: asterisk20
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1790324163
SHA256 (asterisk/asterisk-20.21.0.tar.gz) = 13fd6e8f1fbb19a3174af82a388dd72c87eb2c92d32fca83c4d51bfab03f686a
SIZE (asterisk/asterisk-20.21.0.tar.gz) = 28838213
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bison : devel/bison
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Runtime dependencies:
-
- mpg123 : audio/mpg123
- Library dependencies:
-
- libjansson.so : devel/jansson
- libuuid.so : misc/libuuid
- libcurl.so : ftp/curl
- libpri.so : misc/libpri
- libopenr2.so : misc/openr2
- libtonezone.so : misc/dahdi
- libsybdb.so : databases/freetds
- libgsm.so : audio/gsm
- libzstd.so : archivers/zstd
- libunwind.so : devel/libunwind
- libnewt.so : devel/newt
- libodbc.so : databases/unixODBC
- libltdl.so : devel/libltdl
- libopus.so : audio/opus
- libsrtp2.so : net/libsrtp2
- libspeex.so : audio/speex
- libspeexdsp.so : audio/speexdsp
- libportaudio.so : audio/portaudio
- libradiusclient-ng.so : net/radiusclient
- libnetsnmp.so : net-mgmt/net-snmp
- libpkg.so : ports-mgmt/pkg
- libspandsp.so : comms/spandsp
- libtiff.so : graphics/tiff
- libspeex.so : audio/speex
- libspeexdsp.so : audio/speexdsp
- libsrtp2.so : net/libsrtp2
- liburiparser.so : net/uriparser
- libvorbis.so : audio/libvorbis
- libogg.so : audio/libogg
- libiksemel.so : textproc/iksemel
- libxml2.so : textproc/libxml2
- libedit.so.0 : devel/libedit
- libsqlite3.so : databases/sqlite3
- liblua-5.4.so : lang/lua54
- libmysqlclient.so.24 : databases/mysql84-client
- libpq.so.5 : databases/postgresql18-client
- libgnutls.so : security/gnutls
- There are no ports dependent upon this port
Configuration Options:
- ===> 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
- Options name:
- net_asterisk20
- USES:
- bison compiler:c11 cpe gmake gnome iconv libedit localbase ncurses pkgconfig shebangfix sqlite ssl lua mysql pgsql
- pkg-message:
- For install:
- 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
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
20.21.0 25 Sep 2026 09:26:29
    |
Yusuf Yaman (nxjoseph)  Author: Oleksandr Kryvulia |
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 |
20.21.0 05 Sep 2026 11:19:53
    |
Yusuf Yaman (nxjoseph)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.20.1 => 20.21.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.21.0.html
PR: 298203
Reported by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
Sponsored by: FLEX-IT LLC
MFH: 2026Q3 |
20.20.1 29 Jun 2026 23:14:43
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.19.0 => 20.20.1
Changelogs:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.20.0.html
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.20.1.html
PR: 296366
Security: GHSA-3g56-cgrh-95p5
Security: GHSA-3rhj-hhw7-m6fw
Security: GHSA-4pgv-j3mr-3rcp
Security: GHSA-589g-qgf8-m6mx
Security: GHSA-746q-794h-cc7f
Security: GHSA-8jhw-m2hg-vp3h
Security: GHSA-8jw3-ccr9-xrmf
Security: GHSA-g8q2-p36q-94f6 (Only the first 15 lines of the commit message are shown above ) |
20.19.0 07 May 2026 21:47:29
    |
Rene Ladan (rene)  |
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 |
20.19.0 12 Apr 2026 16:31:05
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.18.2 → 20.19.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.19.0.html
PR: 294411
Sponsored by: FLEX-IT LLC
Sponsored by: UNIS Labs |
20.18.2_1 25 Feb 2026 15:37:46
    |
Vladimir Druzenko (vvd)  |
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> |
20.18.2 22 Feb 2026 21:53:33
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Update 20.18.1 => 20.18.2
Security Advisories Resolved: 4
- GHSA-85x7-54wr-vh42: Asterisk xml.c uses unsafe XML_PARSE_NOENT
leading to potential XXE Injection.
- GHSA-rvch-3jmx-3jf3: ast_coredumper running as root sources
ast_debug_tools.conf from /etc/asterisk; potentially leading to
privilege escalation.
- GHSA-v6hp-wh3r-cwxh: The Asterisk embedded web server's /httpstatus
page echos user supplied values(cookie and query string) without
sanitization.
- GHSA-xpc6-x892-v83c: ast_coredumper runs as root, and writes gdb init
file to world writeable folder; leading to potential privilege
escalation.
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-20.18.2.html
PR: 293361
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua>
Security: GHSA-85x7-54wr-vh42
Security: GHSA-rvch-3jmx-3jf3
Security: GHSA-v6hp-wh3r-cwxh
Security: GHSA-xpc6-x892-v83c
MFH: 2026Q1 |
20.18.1 30 Jan 2026 22:29:23
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk20: Update 20.17.0 => 20.18.1
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-20.18.0.html
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-20.18.1.html
This update incorporates an important fix for FreeBSD users:
- rtp/rtcp: Configure dual-stack behavior via IPV6_V6ONLY
PR: 262386 292768
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
Sponsored by: PANS Jarosław
MFH: 2026Q1 |
20.17.0 02 Dec 2025 19:53:38
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 20.16.0 → 20.17.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.17.0.html
Add non-default option UNBOUND to prevent silent grab of libunbound.so
from dns/unbound.
PR: 291176
Sponsored by: FLEX-IT LLC
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> |
20.16.0_1 20 Oct 2025 20:59:50
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk20: Fix Endianness detection
After update to 20.16.0 and 22.6.0 Asterisk misbehaves, see
https://github.com/asterisk/asterisk/issues/1536
The patch submitted in https://github.com/asterisk/asterisk/pull/1541
fixes that.
PR: 290317 290318
Reported by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer) |
20.16.0 17 Oct 2025 09:48:43
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.15.2 → 20.16.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.16.0.html
PR: 290317
Sponsored by: FLEX-IT LLC |
20.15.2 30 Aug 2025 13:47:04
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.15.1 => 20.15.2 (security fix)
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.15.2.html
GHSA-64qc-9x89-rx5j: A specifically malformed Authorization header in
an incoming SIP request can cause Asterisk to crash.
PR: 289180
Security: GHSA-64qc-9x89-rx5j
Sponsored by: FLEX-IT LLC
MFH: 2025Q3 |
20.15.1 18 Aug 2025 14:55:42
    |
Älven (alven)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.15.0 => 20.15.1 (security fix)
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.15.1.html
Security: GHSA-mrq5-74j5-f5cr
Security: GHSA-v9q8-9j8m-5xwp
Sponsored by: FLEX-IT LLC
PR: 288615
Approved by: yuri@ (Mentor)
MFH: 2025Q3 |
20.15.0 13 Aug 2025 15:37:50
    |
Piotr Kubaj (pkubaj)  |
net/asterisk{18,20,22}: allow GEOLOCATION on powerpc* |
20.15.0 25 Jul 2025 15:20:49
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.14.1 → 20.15.0 (security fix)
GHSA-c7p6-7mvq-8jq2: cli_permissions.conf: deny option does not work
for disallowing shell commands
Change Log:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.15.0.html
PR: 288429
Security: GHSA-c7p6-7mvq-8jq2
Sponsored by: FLEX-IT LLC
MFH: 2025Q3 |
20.14.1_1 30 Jun 2025 14:57:32
    |
Matthias Andree (mandree)  Author: Alexander Shursha |
*/*: Switch to misc/libuuid and misc/libblkid
PR: 221293
PR: 251489
PR: 257070 |
20.14.1_1 30 Jun 2025 09:04:22
    |
Baptiste Daroussin (bapt)  |
libxml2: chase libxml soversion bump |
20.14.1 23 May 2025 14:44:35
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.14.0 → 20.14.1 (fix security issues)
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.14.1.html
PR: 287016
Security: GHSA-2grh-7mhv-fcfw
Security: GHSA-c7p6-7mvq-8jq2
MFH: 2025Q2 |
20.14.0 13 May 2025 13:25:03
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.13.0 → 20.14.0
ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.14.0.html
Fix loading pjsip modules on CURRENT
PR: 286760
Sponsored by: FLEX-IT LLC
MFH: 2025Q2 |
20.13.0 29 Mar 2025 10:28:27
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.12.0 → 20.13.0
ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.13.0.html
PR: 285735
Sponsored by: FLEX-IT LLC |
20.12.0 10 Feb 2025 18:59:43
    |
Joel Bodenmann (jbo)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.11.1 → 20.12.0
Changelog: https://www.asterisk.org/asterisk-news/asterisk-20-12-0-now-available
PR: 284705
Sponsored by: FLEX-IT LLC |
20.11.1 29 Jan 2025 16:56:08
    |
Piotr Kubaj (pkubaj)  |
net/asterisk20: allow GEOLOCATION on powerpc64le |
20.11.1 10 Jan 2025 10:42:33
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk20: Update 20.11.0 → 20.11.1 (security fix GHSA-33x6-fj46-6rfh)
News:
https://www.asterisk.org/asterisk-news/asterisk-security-release-20-11-1-now-available/
Security fix GHSA-33x6-fj46-6rfh:
- Path traversal via AMI ListCategories allows access to outside files
https://github.com/asterisk/asterisk/security/advisories/GHSA-33x6-fj46-6rfh
PR: 283975
Sponsored by: FLEX-IT LLC
MFH: 2025Q1 |
20.11.0_1 19 Dec 2024 17:30:58
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
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) |
20.11.0 16 Dec 2024 18:05:21
    |
Li-Wen Hsu (lwhsu)  Author: Oleksandr Kryvulia |
Add net/asterisk20: LTS version of Asterisk PBX software
PR: 280905 |