| Port details |
- asterisk22 Open Source PBX and telephony toolkit
- 22.11.0 net
=1 22.11.0Version of this port present on the latest quarterly branch. - Maintainer: o.kryvulia@flex-it.com.ua
 - Port Added: 2025-01-18 18:18:06
- Last Update: 2026-09-05 11:39:39
- Commit Hash: 59a57a0
- People watching this port, also watch:: p5-OrePAN2, py311-pycparser, ladspa, p5-Net-HTTP, python
- 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:
-
- asterisk22>0:net/asterisk22
- Conflicts:
- CONFLICTS:
- CONFLICTS_BUILD:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/net/asterisk22/ && make install clean
- To add the package, run one of these commands:
- pkg install net/asterisk22
- pkg install asterisk22
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: asterisk22
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1788603181
SHA256 (asterisk/asterisk-22.11.0.tar.gz) = 3bd5ee040509a3d3cd9b1ba9520c18e6ec0a7e7981ca68c457dcd36ba3c54d94
SIZE (asterisk/asterisk-22.11.0.tar.gz) = 26724408
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
- This port is required by:
- for Build
-
- audio/asterisk-espeak
- audio/asterisk-flite
- net/asterisk-chan_sccp
- net/asterisk-g72x
- for Run
-
- audio/asterisk-espeak
- audio/asterisk-flite
- net/asterisk-chan_sccp
- net/asterisk-g72x
Configuration Options:
- ===> The following configuration options are available for asterisk22-22.11.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
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
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_asterisk22
- 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 |
22.11.0 05 Sep 2026 11:39:39
    |
Yusuf Yaman (nxjoseph)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.10.1 => 22.11.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.11.0.html
PR: 298207
Reported by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
Sponsored by: FLEX-IT LLC
MFH: 2026Q3 |
22.10.1 29 Jun 2026 23:17:41
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Update 22.9.0 => 22.10.1
Changelogs:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.10.0.html
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.10.1.html
PR: 296326
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
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 (Only the first 15 lines of the commit message are shown above ) |
22.9.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 |
22.9.0 12 Apr 2026 16:31:06
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.8.2 → 22.9.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.9.0.html
PR: 294412
Sponsored by: FLEX-IT LLC
Sponsored by: UNIS Labs |
22.8.2_1 25 Feb 2026 14:49:07
    |
Vladimir Druzenko (vvd)  |
net/asterisk22: 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> |
22.8.2 22 Feb 2026 21:49:36
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Update 22.8.1 => 22.8.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-22.8.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 |
22.8.1 30 Jan 2026 22:29:22
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Update 22.8.0 => 22.8.1
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-22.8.1.html
PR: 292814
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
Sponsored by: PANS Jarosław
MFH: 2026Q1 |
22.8.0 27 Jan 2026 19:13:24
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Update 22.7.0 => 22.8.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-22.8.0.html
This update incorporates an important fix for FreeBSD users:
- rtp/rtcp: Configure dual-stack behavior via IPV6_V6ONLY
PR: 262386 292712
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer)
Sponsored by: PANS Jarosław
MFH: 2026Q1 |
22.7.0 02 Dec 2025 19:49:35
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.6.0 → 22.7.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.7.0.html
Add non-default option UNBOUND to prevent silent grab of libunbound.so
from dns/unbound.
PR: 291177
Sponsored by: FLEX-IT LLC
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> |
22.6.0_1 20 Oct 2025 16:36:39
    |
Vladimir Druzenko (vvd)  Author: Marek Zarychta |
net/asterisk22: Fix Endianness detection
After update to 22.6.0 asterisk misbehahave, see
https://github.com/asterisk/asterisk/issues/1536
The patch submitted in https://github.com/asterisk/asterisk/pull/1541
fixes that.
PR: 290318
Approved by: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> (maintainer) |
22.6.0 17 Oct 2025 09:48:43
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.5.2 => 22.6.0
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.6.0.html
PR: 290318
Sponsored by: FLEX-IT LLC |
22.5.2 30 Aug 2025 13:47:45
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.5.1 => 22.5.2 (fix security)
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.5.2.html
GHSA-64qc-9x89-rx5j: A specifically malformed Authorization header in
an incoming SIP request can cause Asterisk to crash.
PR: 289185
Security: GHSA-64qc-9x89-rx5j
Sponsored by: FLEX-IT LLC
MFH: 2025Q3 |
22.5.1 18 Aug 2025 14:41:15
    |
Älven (alven)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.5.0 => 22.5.1 (fix security issues)
ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.5.1.html
Security: GHSA-mrq5-74j5-f5cr
Security: GHSA-v9q8-9j8m-5xwp
Sponsored by: FLEX-IT LLC
PR: 288614
Approved by: yuri@ (Mentor)
MFH: 2025Q3 |
22.5.0 13 Aug 2025 15:37:50
    |
Piotr Kubaj (pkubaj)  |
net/asterisk{18,20,22}: allow GEOLOCATION on powerpc* |
22.5.0 25 Jul 2025 15:16:50
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.4.1 → 22.5.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-22.5.0.html
PR: 288430
Security: GHSA-c7p6-7mvq-8jq2
Sponsored by: FLEX-IT LLC
MFH: 2025Q3 |
22.4.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 |
22.4.1_1 30 Jun 2025 09:04:22
    |
Baptiste Daroussin (bapt)  |
libxml2: chase libxml soversion bump |
22.4.1 23 May 2025 14:36:06
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.4.0 → 22.4.1 (fix security issues)
Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.4.1.html
PR: 287012
Security: GHSA-2grh-7mhv-fcfw
Security: GHSA-c7p6-7mvq-8jq2
MFH: 2025Q2 |
22.4.0 09 May 2025 12:46:51
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.3.0 → 22.4.0
ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.4.0.html
Fix loading pjsip modules on CURRENT
PR: 285736
Sponsored by: FLEX-IT LLC
MFH: 2025Q2 |
22.3.0 29 Mar 2025 10:28:26
    |
Vladimir Druzenko (vvd)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.2.0 → 22.3.0
ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.3.0.html
PR: 285736
Sponsored by: FLEX-IT LLC |
22.2.0 10 Feb 2025 18:59:43
    |
Joel Bodenmann (jbo)  Author: Oleksandr Kryvulia |
net/asterisk22: Update 22.1.1 → 22.2.0
Changelog: https://www.asterisk.org/asterisk-news/asterisk-22-2-0-now-available
PR: 284706
Sponsored by: FLEX-IT LLC |
22.1.1 18 Jan 2025 17:42:50
    |
Li-Wen Hsu (lwhsu)  Author: Oleksandr Kryvulia |
Add net/asterisk22: LTS version of Asterisk PBX software
PR: 284056
Sponsored by: FLEX-IT LLC |