BSD Ports

net/asterisk20 20.21.0 FreeBSD

Open Source PBX and telephony toolkit

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a2bad65a40
License
GPLv2
Categories
net
Package size
22384.4 KiB, 41702.4 KiB installed

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.

Install

Binary package:

pkg install asterisk20

From the ports tree:

cd /usr/ports/net/asterisk20/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	asterisk20>0:net/asterisk20
LIB_DEPENDS=	libasteriskpj.so:net/asterisk20

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20.21.020.21.0-20.15.1-
FreeBSD:14:quarterly20.21.020.21.0n/a20.15.1-
FreeBSD:15:latest20.21.020.21.0n/a20.15.120.15.1
FreeBSD:15:quarterly20.21.020.21.0n/an/an/a
FreeBSD:16:latest20.21.020.21.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 112

The first 100 are listed.

Run dependencies 107

The first 100 are listed.

Configuration

Options name: net_asterisk

OptionDefaultDescription
ASTVERSIONoffInstall astversion (requires bash)
BACKTRACEoffStack backtrace support via (lib)execinfo
CURLonData transfer support via cURL
EXCHANGEoffExchange calendar support
FREETDSonFreeTDS library support
G729offInstall G.729 format sounds for Music-on-Hold (MoH)
GSMonGSM codec support
LDAPoffLDAP protocol support
LUAonLua scripting language support
MACROonEnable app_macro (deprecated)
MP3PLAYERonInstall MP3 Player for Music-On-Hold (mpg123)
MYSQLonMySQL database support
NCURSESoffConsole (text) interface support
NEWG711offNew G711 Codec
NEWTonNewt User Interface
ODBConODBC database backend
OOH323offooh323 support
OPTIMIZED_CFLAGSoffUse extra compiler optimizations
OPUSonOpus Codec
PGSQLonPostgreSQL database support
PJSIPonBuild the PJSIP based SIP channel
PORTAUDIOonPortAudio library support
RADIUSonRADIUS protocol support
SIPoffBuild the legacy SIP based channel
SNMPonSNMP network protocol support
SPANDSPonSpanDSP faxing support
SPEEXonSpeex audio format support
SRTPonSecureRTP support
SYSINFOoffUse devel/libsysinfo to get system information
UNBOUNDoffUse dns/unbound resolver
URIPARSERonUse RFC 3986 compliant uriparser library
VORBISonOgg Vorbis audio codec support
XMLDOConBuild and install XML documentation
XMPPoffXMPP/GTALK support
USES
bison compiler:c11 cpe gmake gnome iconv libedit localbase ncurses pkgconfig shebangfix sqlite ssl
Service scripts
asterisk
Conflicts with
ossp-uuid asterisk18

Message after installing

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

Files

Manual pages 6
  • astdb2bdb(8)
  • astdb2sqlite3(8)
  • asterisk(8)
  • astgenkey(8)
  • autosupport(8)
  • safe_asterisk(8)
pkg-plist 437
  • @sample etc/asterisk20/acl.conf.sample
  • @sample etc/asterisk20/adsi.conf.sample
  • @sample etc/asterisk20/aeap.conf.sample
  • @sample etc/asterisk20/agents.conf.sample
  • @sample etc/asterisk20/alarmreceiver.conf.sample
  • @sample etc/asterisk20/alsa.conf.sample
  • @sample etc/asterisk20/amd.conf.sample
  • @sample etc/asterisk20/app_skel.conf.sample
  • @sample etc/asterisk20/ari.conf.sample
  • @sample etc/asterisk20/ast_debug_tools.conf.sample
  • @sample etc/asterisk20/asterisk.adsi.sample
  • @sample etc/asterisk20/asterisk.conf.sample
  • @sample etc/asterisk20/calendar.conf.sample
  • @sample etc/asterisk20/ccss.conf.sample
  • @sample etc/asterisk20/cdr.conf.sample
  • @sample etc/asterisk20/cdr_adaptive_odbc.conf.sample
  • @sample etc/asterisk20/cdr_beanstalkd.conf.sample
  • @sample etc/asterisk20/cdr_custom.conf.sample
  • @sample etc/asterisk20/cdr_manager.conf.sample
  • @sample etc/asterisk20/cdr_odbc.conf.sample
  • @sample etc/asterisk20/cdr_pgsql.conf.sample
  • @sample etc/asterisk20/cdr_sqlite3_custom.conf.sample
  • @sample etc/asterisk20/cdr_tds.conf.sample
  • @sample etc/asterisk20/cel.conf.sample
  • @sample etc/asterisk20/cel_beanstalkd.conf.sample
  • @sample etc/asterisk20/cel_custom.conf.sample
  • @sample etc/asterisk20/cel_odbc.conf.sample
  • @sample etc/asterisk20/cel_pgsql.conf.sample
  • @sample etc/asterisk20/cel_sqlite3_custom.conf.sample
  • @sample etc/asterisk20/cel_tds.conf.sample
  • @sample etc/asterisk20/chan_dahdi.conf.sample
  • @sample etc/asterisk20/chan_mobile.conf.sample
  • @sample etc/asterisk20/chan_websocket.conf.sample
  • @sample etc/asterisk20/cli.conf.sample
  • @sample etc/asterisk20/cli_aliases.conf.sample
  • @sample etc/asterisk20/cli_permissions.conf.sample
  • @sample etc/asterisk20/codecs.conf.sample
  • @sample etc/asterisk20/confbridge.conf.sample
  • @sample etc/asterisk20/config_test.conf.sample
  • @sample etc/asterisk20/console.conf.sample
  • @sample etc/asterisk20/dbsep.conf.sample
  • @sample etc/asterisk20/dnsmgr.conf.sample
  • @sample etc/asterisk20/dsp.conf.sample
  • @sample etc/asterisk20/dundi.conf.sample
  • @sample etc/asterisk20/enum.conf.sample
  • @sample etc/asterisk20/extconfig.conf.sample
  • @sample etc/asterisk20/extensions.ael.sample
  • @sample etc/asterisk20/extensions.conf.sample
  • @sample etc/asterisk20/extensions.lua.sample
  • @sample etc/asterisk20/extensions_minivm.conf.sample
  • @sample etc/asterisk20/features.conf.sample
  • @sample etc/asterisk20/festival.conf.sample
  • @sample etc/asterisk20/followme.conf.sample
  • @sample etc/asterisk20/func_odbc.conf.sample
  • @sample etc/asterisk20/geolocation.conf.sample
  • @sample etc/asterisk20/hep.conf.sample
  • @sample etc/asterisk20/http.conf.sample
  • @sample etc/asterisk20/iax.conf.sample
  • @sample etc/asterisk20/iaxprov.conf.sample
  • @sample etc/asterisk20/indications.conf.sample
  • @sample etc/asterisk20/logger.conf.sample
  • @sample etc/asterisk20/manager.conf.sample
  • @sample etc/asterisk20/meetme.conf.sample
  • @sample etc/asterisk20/mgcp.conf.sample
  • @sample etc/asterisk20/minivm.conf.sample
  • @sample etc/asterisk20/modules.conf.sample
  • @sample etc/asterisk20/motif.conf.sample
  • @sample etc/asterisk20/musiconhold.conf.sample
  • @sample etc/asterisk20/ooh323.conf.sample
  • @sample etc/asterisk20/osp.conf.sample
  • @sample etc/asterisk20/phoneprov.conf.sample
  • @sample etc/asterisk20/pjproject.conf.sample
  • @sample etc/asterisk20/pjsip.conf.sample
  • @sample etc/asterisk20/pjsip_notify.conf.sample
  • @sample etc/asterisk20/pjsip_wizard.conf.sample
  • @sample etc/asterisk20/prometheus.conf.sample
  • @sample etc/asterisk20/queuerules.conf.sample
  • @sample etc/asterisk20/queues.conf.sample
  • @sample etc/asterisk20/res_config_mysql.conf.sample
  • @sample etc/asterisk20/res_config_odbc.conf.sample
  • @sample etc/asterisk20/res_config_sqlite3.conf.sample
  • @sample etc/asterisk20/res_corosync.conf.sample
  • @sample etc/asterisk20/res_curl.conf.sample
  • @sample etc/asterisk20/res_fax.conf.sample
  • @sample etc/asterisk20/res_http_media_cache.conf.sample
  • @sample etc/asterisk20/res_ldap.conf.sample
  • @sample etc/asterisk20/res_odbc.conf.sample
  • @sample etc/asterisk20/res_parking.conf.sample
  • @sample etc/asterisk20/res_pgsql.conf.sample
  • @sample etc/asterisk20/res_pktccops.conf.sample
  • @sample etc/asterisk20/res_snmp.conf.sample
  • @sample etc/asterisk20/res_stun_monitor.conf.sample
  • @sample etc/asterisk20/resolver_unbound.conf.sample
  • @sample etc/asterisk20/rtp.conf.sample
  • @sample etc/asterisk20/say.conf.sample
  • @sample etc/asterisk20/sip.conf.sample
  • @sample etc/asterisk20/sip_notify.conf.sample
  • @sample etc/asterisk20/skinny.conf.sample
  • @sample etc/asterisk20/sla.conf.sample
  • @sample etc/asterisk20/smdi.conf.sample

The first 100 are listed.

distinfo 7
FileSizeSHA256
asterisk/asterisk-20.21.0.tar.gz2.8838213e+0713fd6e8f1fbb19a3174af82a388dd72c87eb2c92d32fca83c4d51bfab03f686a
asterisk/asterisk-core-sounds-en-g729-1.6.tar.gz1.557798e+06b49dec15e07bb9bff6af0da3a07180651a38ef54d3ea54a3f20c35f081ed8714
asterisk/asterisk-moh-opsound-g729-2.03.tar.gz1.103e+060147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
asterisk/asterisk-mp3-204.tar.gz26529721a6745e5f4bce8bbf5e3caca44ad1da22d2a368d3aa69cca70a0d6633dd907
asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz24044572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded
asterisk/pjsip-pjproject-2.17_GH0.tar.gz1.0996639e+07065fe06c06788d97c35f563796d59f00ce52fe9558a52d7b490a042a966facce
asterisk/78b7c4e8822e444f39ef73eea8e21ccc6293ae5d.patch1459687ce3aa91f5946e615ac92578ee33ce79e9e6644376c9202e033119c9b1ffd8
Master sites 1
  • https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729

Commit history 2

DateCommitCreditsLog message
a2bad65a40 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 <[email protected]> Sponsored by: FLEX-IT LLC MFH: 2026Q3
a1c4b69761 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 <[email protected]> (maintainer) Approved by: osa, vvd (Mentors, implicit) Sponsored by: FLEX-IT LLC MFH: 2026Q3