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.
WWW: https://www.asterisk.org
===> The following configuration options are available for asterisk13-13.38.3:
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)
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
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
net/asterisk13: Add back g729 files distinfo
I removed these by mistake in commit 8b16d6122cdd
PR: 257478
Reported by: OlivierW <olivierw1+bugzilla-freebsd@hotmail.com>
MFH: 2021Q3
net/asterisk*: Remove ONLY_FOR_ARCHS restriction
There is no architecture specific code in asterisk. It used to have
problems building on certain architectures due to the software
leveraging some then advanced compiler features.
At present asterisk is expected to compile and work fine on all
supported architectures. This is also shown by the restriction being
removed including almost all of them.
Noticed by: danfe
MFH: 2021Q3
net/asterisk*: Add aarch64 support
User testing reports asterisk compiles and works fine on aarch64.
PR: 257176
Tested by: José Pérez <pr@aoek.com>
MFH: 2021Q3
- Add variable to configure group owner for asterisk runtime directory
creation in startup script
- Correct order of variables
PR: 254232
SUbmitted by: Boris Korzun <drtr0jan@yandex.ru>
Add XMLDOC option to control installation of XML documentation.
This is on by default, which prodiuces the same behavior as before.
PR: 249531
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
- Update asterisk13 to 13.35.0
- Asterisk project now embeds pjsip 2.10, get it's distribution
from github and adapt port
- Remove patch merged upstream
- Refresh patches and rename to current naming scheme
- Reorder some variables to silnce portlint warning
- Remove bashisms from configure script which can cause wrong options
being passed to bundled pjproject configure script
- Prevent pjproject build from trying to touch, calculate checksum
and download the pjproject distribution file itself. This can cause
build failures in poudriere
Reported by: cmt
Tested by: cmt
Make asterisk13 port use the bundled pjproject(pjsip) library, as
suggested by upstream.
Force the bundled pjproject to use external srtp library provided
by ports to ensure it and asterisk itself link to the same library.
This decouples asterisk from the pjsip port, allowing it to be
upsdaated without breaking asterisk. [1]
PR: 245607 [1]
Submitted by: yuri
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION on asterisk ports after r500705 changes to pjsip.
Crashes have been reported, which are fixed by reinstallation.
Reported by: Christoph Moench-Tegeder <cmt@burggraben.net>
MFH: 2019Q2
- Force asterisk ports to prefer newly compiled libasteriskssl.so
to already installed one when compiling the port on live system
where asterisk is already present.
- While here Make some minor cosmetic changes.
PR: 235233
Submitted by: pfduch@yandex.ru
Add OPUS option to asterisk ports to enable the opus codec.
While here use DIST_SUBDIR to keep all the asterisk files in one
subdirectory.
PR: 234547
Submitted by: Ludovic Desweemer <ludovic.desweemer@gmail.com>
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
- Add asterisk 16.0.0 to ports
- Update g72x module to 1.4.3, which add support for asterisk 16
- Add asterisk16 flavor and conflicts to asterisk modules ports
which support it
- Add conflicts to other asterisk versions ports
- Add deprecation notice to asterisk15 which will reach EOL on
2019-10-03
- Fix wording on SOUNDS option description
- Remove old MOVED line for asterisk16 which was for the long removed
asterisk 1.6 version
Approved by: portmgr (flavors already approved in the past)
Reverse the dependency link between asterisk and japanese/asterisk-sounds,
adding it as an optional RUN_DEPENDS to the asterisk ports.
This allows installing these sounds with any version of asterisk.
Suggested by: mat
Remove devel/pwlib, net/openh323 and net/ohphone. The OpenH323 project
was split into OpalVoip and H323Plus in 2007, both also available as ports.
Remove dependency on net/openh323 from net/asterisk13. The chan_h323
module has been replaced with chan_ooh323 which no longer depends on
openh323.
For ports that set particular flags/options for armv6, also set them
for armv7.
This is part three of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run
Make the provided rc script more robust.
Also add an asterisk_stopsleep knob (disabled by default) to allow
users to work around a possible race condition when asterisk is sent
a stop command just after launching, but before it's startup is
actually completed.
PR: 221271
Submitted by: O. Hartmann <ohartmann@walstatt.org>
MFH: 2017Q3
Mark some ports failing on armv6, for errors classified as "configure_error".
Note: this skips all the ports that _sometimes_ fail with CMake errors. We
need to investigate that problem, and find out if it is specific to the qemu
environment.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)