# # spec file for package asterisk # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # settings for eisfair build %define ast_libdir /usr/lib Name: asterisk Version: 16.2.1 Release: 1.6 URL: http://asterisk.org/ Summary: The Asterisk Open Source PBX License: BSD-2-Clause and BSD-4-Clause or GPL-2.0 Group: Productivity/Telephony/Servers #DL-URL: http://downloads.asterisk.org/pub/telephony/asterisk/ Source: https://downloads.asterisk.org/pub/telephony/asterisk/releases/%name-%version.tar.gz Source2: https://downloads.asterisk.org/pub/telephony/asterisk/releases/%name-%version.tar.gz.asc Source3: %name.keyring Source4: asterisk.service Source5: asterisk.init Source6: https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.8/pjproject-2.8.tar.bz2 Source8: https://raw.githubusercontent.com/asterisk/third-party/master/jansson/2.12/jansson-2.12.tar.bz2 Patch1: asterisk-init.diff Patch2: asterisk-configure-paths.diff Patch3: asterisk-cflags.diff Patch4: asterisk-rundir.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf >= 2.60 BuildRequires: automake >= 1.9 BuildRequires: wget BuildRequires: bison BuildRequires: dahdi-linux-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: freetds-devel BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: imap-devel BuildRequires: libedit-devel BuildRequires: libgsm-devel BuildRequires: libmysqlclient-devel BuildRequires: libpri-devel BuildRequires: libsrtp-devel BuildRequires: libss7-devel BuildRequires: libtonezone-devel BuildRequires: libtool BuildRequires: mISDNuser-devel BuildRequires: ncurses-devel BuildRequires: net-snmp-devel BuildRequires: openldap2-devel BuildRequires: openr2-devel # It seems to also want the CLI interface of openssl BuildRequires: openssl BuildRequires: osp-toolkit-devel BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: postgresql-devel BuildRequires: libv4l-devel %if 0%{?suse_version} >= 1140 BuildRequires: rubber %endif BuildRequires: termcap BuildRequires: texlive BuildRequires: xz %if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(liburiparser) %endif %if 0%{?suse_version} >= 1130 || 0%{?fedora_version} %define with_corosync 1 %endif BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(bluez) BuildRequires: pkgconfig(gmime-2.6) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(iksemel) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libcfg) BuildRequires: pkgconfig(libcpg) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libical) BuildRequires: pkgconfig(libiodbc) BuildRequires: pkgconfig(libnewt) BuildRequires: pkgconfig(libusb) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(neon) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(spandsp) BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(speexdsp) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} >= 1210 BuildRequires: systemd-rpm-macros %endif %if 0%{?suse_version} && !0%{?_unitdir:1} PreReq: %insserv_prereq %endif Requires: asterisk-sounds-base Requires(pre): pwdutils Provides: bundled(libjansson) = 2.12 Provides: bundled(pjproject) = 2.8 Provides: bundled(pjsip) = 2.8 # addons are included in main package since 1.8.x Provides: asterisk-addons = %version-%release Suggests: asterisk-doc = %version %if "%{?_initddir}" == "" %define _initddir %_initrddir %endif %define scdperm %%attr(0751,root,asterisk) %%verify(not mode) %define scfperm %%attr(0640,root,asterisk) %%verify(not mode) %%config(noreplace) %description Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk provides voicemail services with directory, call conferencing, interactive voice response, and call queuing. It has support for three-way calling, caller ID services, ADSI, SIP, and H.323 (as both client and gateway). Documentation is available on the Asterisk home page (http://asterisk.org) and on the Asterisk wiki (http://voip-info.org/wiki-Asterisk). %package -n libasteriskssl1 Summary: Asterisk SSL initialization wrapper Group: System/Libraries %description -n libasteriskssl1 This Asterisk library is used to wrap various initialization and shutdown functions from the libssl and libcrypto libraries provided by OpenSSL. This is done so that Asterisk can ensure that these functions do *not* get called by any modules that are loaded into Asterisk, since they should only be called once in any single process. %package -n libasteriskpj2 Summary: Asterisk PJSIP library Group: System/Libraries %description -n libasteriskpj2 Asterisk-bundled version of the PJSIP library %package doc Summary: Asterisk Open Source PBX documentation Group: Productivity/Telephony/Servers %description doc The Asterisk Open Source PBX documentation. %package alsa Summary: Soundcard module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description alsa This package allows Asterisk to use a soundcard supported by ALSA as a telephone. %package calendar Summary: Calendar resource modules for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description calendar The Asterisk Calendaring API aims to be a generic interface for integrating Asterisk with various calendaring technologies. The goal is to be able to support reading and writing of calendar events as well as allowing notification of pending events through the Asterisk dialplan. There are three calendaring modules that ship with Asterisk that provide support for iCalendar, CalDAV, and Microsoft Exchange Server calendars. All three modules support event notification. Both CalDAV and Exchange support reading and writing calendars, while iCalendar is a read-only format. %package console Summary: Console channel module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description console The Asterisk Command Line Interface. In addition to being the console for Asterisk, the CLI also sports several features that make it very helpful to use for obtaining information and affecting system configuration. %package corosync Summary: Corosync module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description corosync Corosync is an open source group messaging system typically used in clusters, cloud computing, and other high availability environments. Using Corosync together with res_corosync allows events to be shared amongst a local cluster of Asterisk servers. Specifically, the types of events that may be shared include: * Device state * Message Waiting Indication, or MWI (to allow voicemail to live on a server that is different from where the phones are registered) %package dahdi Summary: Telephony Hardware Module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description dahdi This module allows Asterisk to use telephony hardware that is supported by the dahdi kernel drivers. Supported hardware ranges from FXO and FXS cards over ISDN BRI cards to T1, and E1 cards with up to four interfaces. See the dahdi package for details. %package devel Summary: Development files for Asterisk Group: Development/Libraries/C and C++ Requires: asterisk = %version Requires: libasteriskssl1 = %version %description devel This package contains the header files and libraries necessary for developing applications which use asterisk. Install asterisk-devel if you want to develop applications which depend on asterisk. %package freetds Summary: FreeTDS Call Detail Recording and Call Event Logging for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description freetds This package allows Asterisk to use a FreeTDS database for CDR and CEL. %package moh-base Summary: MOH audio files for Asterisk Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description moh-base MusicOnHold: Plays hold music specified by class. If omitted, the default music source for the channel will be used. %package odbc Summary: Database Module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description odbc This package allows Asterisk to use read configuration data from, and write call logs to ODBC databases. %package pgsql Summary: Database Module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description pgsql This package allows Asterisk to use read configuration data from, and write call logs to PostgreSQL databases. %package mysql Summary: Mysql Database Module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description mysql This package allows Asterisk to use read configuration data from, and write call logs to MySQL databases. %package radius Summary: Radius modules for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description radius The RADIUS CEL Backend. It needs: * FreeRADIUS server * Radiusclient-ng library * Asterisk PBX For more information, see the wiki at https://wiki.asterisk.org/wiki/display/AST/RADIUS+CEL+Backend %package snmp Summary: SNMP resource module for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description snmp Rudimentary support for SNMP access to Asterisk is available. %package sounds-base Summary: Sound files for Asterisk License: CC-BY-SA-3.0 Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description sounds-base The set of core Asterisk sounds. %package spandsp Summary: SpanDSP plugin for Asterisk Group: Productivity/Telephony/Servers Requires: asterisk = %version %description spandsp Spandsp is a library for Digital Signal Processing (DSP). DSP is used to turn images into audio and back. In Asterisk, spandsp, is required for sending and receiving faxes. %prep %setup -q %patch -P 1 -P 2 -P 3 -p1 %if 0%{?suse_version} >= 1200 %patch -P 4 -p1 %endif %build # activate privilege separation # activate languageprefix (needed by sounds package) # the sad story about perl: -p doesn't consider missing files as failures perl -i -pe ' s{^;\s*runuser\s*=\s*\S+}{runuser = asterisk}; s{^;\s*rungroup\s*=\s*\S+}{rungroup = asterisk}; s{^;\s*languageprefix\s*=\s*\S+}{languageprefix = yes}; ' configs/samples/asterisk.conf.sample 2>&1 | grep -i 'no such file' && false ./bootstrap.sh # # NB: # [ 27s] checking for -march=native support... user CFLAGS present # This is exactly what we want. # # settings for eisfair build sed -i '/^astmoddir=/ s|${libdir}|/usr/lib|' configure %configure \ --with-pjproject-bundled=yes \ --with-jansson-bundled=yes \ NOISY_BUILD=yes \ EXTERNALS_CACHE_DIR="%_sourcedir" make menuselect.makeopts menuselect/menuselect \ --enable app_macro \ --enable app_meetme \ --enable app_mysql \ --enable res_config_mysql \ --enable cdr_mysql \ --enable smsq make NOISY_BUILD=1 # %{?_smp_mflags} %install b="%buildroot" make install DESTDIR="$b" DOWNLOAD="/bin/true" make samples DESTDIR="$b" # F!@#$d up DESTDIR support. Do proper symlink. rm -f "$b%_libdir/libasteriskssl.so" ln -s libasteriskssl.so.1 "$b%_libdir/libasteriskssl.so" install -pm0644 include/asterisk.h "$b%_includedir/" # service mkdir -p "$b%_sbindir" %if 0%{?_unitdir:1} mkdir -p "$b%_unitdir" install -pm0644 "%{S:4}" "$b%_unitdir/" ln -sf /sbin/service "$b%_sbindir/rcasterisk" %else mkdir -p "$b%_sbindir" install -pm0755 "%{S:5}" "$b%_initddir/asterisk" ln -sf "%_initddir/asterisk" "$b%_sbindir/rcasterisk" %endif mkdir -p "$b%_localstatedir/lib/%name" mv "$b%_datadir/%name/phoneprov" "$b%_localstatedir/lib/%name/" ln -s "%_localstatedir/lib/%name/phoneprov" "$b%_datadir/%name/" mkdir -p "$b%_datadir/%name" cp -a configs "$b%_datadir/%name/" %if !0%{?with_corosync} rm -f "$b%_sysconfdir/asterisk/res_corosync.conf" \ "$b%_datadir/%name/configs/res_corosync.conf.sample" %endif fl_asterisk="$PWD/asterisk.files" >"$fl_asterisk" pushd "$b%_sysconfdir/%name/" for i in *; do case "$i" in (ais.conf|alsa.conf|calendar.conf|console.conf) :;; (*_corosync.conf|*_dahdi.conf) :;; (*_odbc.conf|*_pgsql.conf|*_mysql.conf|*_snmp.conf) :;; (*_tds.conf) :;; (*) echo "%%scfperm %%_sysconfdir/%%name/$i" >>"$fl_asterisk";; esac done popd pushd "$b%ast_libdir/%name/modules/" for i in *; do case "$i" in (*_ais.so|*_alsa.so|*_calendar*.so|*_console.so) :;; (*_corosync.so|*_dahdi*.so) :;; (*_odbc*.so|*_pgsql.so|*_mysql.so|*_radius.so|*_snmp.so) :;; (*_spandsp.so|*_tds.so|*_zapateller.so) :;; (*) echo "%ast_libdir/%name/modules/$i" >>"$fl_asterisk";; esac done popd pushd "$b%_datadir/%name/configs/" for i in *; do j="${i%.sample}" case "$j" in (ais.conf|alsa.conf|calendar.conf|console.conf) :;; (*_corosync.conf|*_dahdi.conf) :;; (*_odbc.conf|*_pgsql.conf|*_mysql.conf|*_snmp.conf) :;; (*_tds.conf) :;; (*) echo "%_datadir/%name/configs/$i" >>"$fl_asterisk";; esac done popd pushd "$b%_localstatedir/lib/%name/phoneprov/" for i in *; do echo "%%scfperm %%_localstatedir/lib/%%name/phoneprov/$i" >>"$fl_asterisk" done popd %fdupes %buildroot/%_prefix # don't package man files twice rm doc/*.8 %pre %_bindir/getent group asterisk >/dev/null || \ %_sbindir/groupadd -r asterisk || : %_bindir/getent passwd asterisk >/dev/null || \ %_sbindir/useradd -r -s /sbin/false -d /var/lib/asterisk \ -M -c "Asterisk PBX" -g asterisk asterisk || : %if 0%{?_unitdir:1} %service_add_pre asterisk.service %endif %post %if 0%{?_unitdir:1} %service_add_post asterisk.service %endif : %preun %if 0%{?stop_on_removal:1} %stop_on_removal asterisk %endif %if 0%{?_unitdir:1} %service_del_preun asterisk.service %endif : %postun %if 0%{?restart_on_update:1} %restart_on_update asterisk %endif %if 0%{?_unitdir:1} %service_del_postun asterisk.service %else %if 0%{?insserv_cleanup:1} %insserv_cleanup %endif %endif : %post -n libasteriskssl1 -p /sbin/ldconfig %postun -n libasteriskssl1 -p /sbin/ldconfig %post -n libasteriskpj2 -p /sbin/ldconfig %postun -n libasteriskpj2 -p /sbin/ldconfig %files -f asterisk.files %defattr(-,root,root) %doc BUGS CHANGES ChangeLog COPYING CREDITS LICENSE README.md sample.call *.txt %doc doc/CODING-GUIDELINES doc/README.txt %scdperm %dir %_sysconfdir/asterisk %if 0%{?_unitdir:1} %_unitdir/asterisk.service %else %_initddir/asterisk %endif %_sbindir/astcanary %_sbindir/astdb2bdb %_sbindir/astdb2sqlite3 %_sbindir/asterisk %_sbindir/astgenkey %_sbindir/astversion %_sbindir/autosupport %_sbindir/rasterisk %_sbindir/rcasterisk %_sbindir/safe_asterisk %_sbindir/smsq %dir %ast_libdir/asterisk %dir %ast_libdir/asterisk/modules %dir %_datadir/%name %dir %_datadir/%name/configs %dir %_datadir/%name/keys %_datadir/%name/documentation %_datadir/%name/firmware %_datadir/%name/images %_datadir/%name/phoneprov %_datadir/%name/rest-api/ %_datadir/%name/scripts/ %_datadir/%name/static-http %exclude %_datadir/%name/configs/samples/alsa.conf.sample %exclude %_datadir/%name/configs/samples/calendar.conf.sample %exclude %_datadir/%name/configs/samples/console.conf.sample %exclude %_datadir/%name/configs/samples/res_corosync.conf.sample %exclude %_datadir/%name/configs/samples/chan_dahdi.conf.sample %exclude %_datadir/%name/configs/samples/*_tds.conf.sample %exclude %_datadir/%name/configs/samples/*_odbc.conf.sample %exclude %_datadir/%name/configs/samples/*_pgsql.conf.sample %exclude %_datadir/%name/configs/samples/*_mysql.conf.sample %exclude %_datadir/%name/configs/samples/*_snmp.conf.sample %attr(0750,asterisk,asterisk) %_localstatedir/lib/%name %attr(0750,asterisk,asterisk) %_localstatedir/spool/%name %attr(0750,asterisk,asterisk) %dir %_localstatedir/log/asterisk %attr(0750,asterisk,asterisk) %dir %_localstatedir/log/asterisk/cdr-csv %attr(0750,asterisk,asterisk) %dir %_localstatedir/log/asterisk/cdr-custom %attr(0750,asterisk,asterisk) %dir %_localstatedir/log/asterisk/cel-custom %_mandir/man8/* %files doc %defattr(-,root,root) %doc doc/* *.txt *.html %files -n libasteriskssl1 %defattr(-,root,root) %_libdir/libasteriskssl.so.* %files -n libasteriskpj2 %_libdir/libasteriskpj.so.* %files alsa %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/alsa.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_alsa.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/alsa.conf.sample %files calendar %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/calendar.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_calendar*.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/calendar.conf.sample %files console %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/console.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_console.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/console.conf.sample %if 0%{?with_corosync} %files corosync %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/res_corosync.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules #ast_libdir/name/modules/res_corosync.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/res_corosync.conf.sample %endif %files dahdi %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/chan_dahdi.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_zap* %ast_libdir/%name/modules/*_dahdi* %dir %_datadir/dahdi %dir %_datadir/dahdi/span_config.d %_datadir/dahdi/span_config.d/40-asterisk %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/chan_dahdi.conf.sample %files devel %defattr(-,root,root) %_includedir/%{name}* %_libdir/libasteriskssl.so %_libdir/libasteriskpj.so %files freetds %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/*_tds.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_tds.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/*_tds.conf.sample %files moh-base %defattr(-,root,root) %dir %_datadir/%name %_datadir/%name/moh %files odbc %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/*_odbc.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_odbc*.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/*_odbc.conf.sample %files pgsql %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/*_pgsql.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_pgsql.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/*_pgsql.conf.sample %files mysql %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/*_mysql.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_mysql.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/*_mysql.conf.sample %files sounds-base %defattr(-,root,root) %dir %_datadir/%name %_datadir/%name/sounds %files snmp %defattr(-,root,root) %scdperm %dir %_sysconfdir/%name %scfperm %_sysconfdir/%name/*_snmp.conf %dir %ast_libdir/%name %dir %ast_libdir/%name/modules #%ast_libdir/%name/modules/*_snmp.so %dir %_datadir/%name %dir %_datadir/%name/configs/samples %_datadir/%name/configs/samples/*_snmp.conf.sample %files spandsp %defattr(-,root,root) %dir %ast_libdir/%name %dir %ast_libdir/%name/modules %ast_libdir/%name/modules/*_spandsp.so %changelog * Fri Mar 1 2019 Adam Majer - Update to new upstream release 16.2.1 * Fix remote crash vulnerability in SDP protocol violation (CVE-2019-7251) * Sat Feb 23 2019 seanlew@opensuse.org - Update to new upstream release 16.2.0 * Wed Dec 26 2018 Michael Ströder - Update to new upstream release 16.1.1 * Fix for Regression: MWI polling no longer works * Wed Dec 12 2018 Jan Engelhardt - Update to new upstream release 16.1.0 * Fix a buffer overflow for DNS SRV/NAPTR records * Fix a crash when reading HTTP Upgrade request * Thu Nov 22 2018 Hans-Peter Jansen - Enable app_macro build deprecated now, but missing it will break too many diaplans * Tue Nov 20 2018 Jan Engelhardt - Update to new upstream release 16.0.1 * webrtc: Both REMB and NACK are now supported. * Text messages sent through a conference bridge using ConfBridge will now be relayed to the other participants. * app_originate: The 'a' option has been added which asynchronously places calls. The application will return immediately instead of waiting for the originated channel to answer. * app_queue: A wrapup time can now be configured on a per-member basis instead of on a per-queue basis for static members as defined in the configuration file. * app_queue: Predial handler support has also been added so that subroutines can be invoked on the callee or caller channels. * Thu Oct 25 2018 Hans-Peter Jansen - Add missing /usr/share/asterisk/keys directory for res_crypto - Adjust permissions of /var/lib/asterisk/phoneprov/* * Wed Oct 24 2018 Hans-Peter Jansen - Improve systemd unit to wait for network online state * Sun Oct 21 2018 Hans-Peter Jansen - Don't install /etc/init.d script, if systemd driven * Mon Oct 15 2018 Hans-Peter Jansen - Make adjusting asterisk.conf actually work, and prevent that perl expression from failing unnoticed ever again. * Fri Sep 21 2018 Michael Ströder - Update to new upstream release 15.6.1 * AST-2018-009: Remote crash vulnerability in HTTP websocket upgrade * Thu Jul 12 2018 michael@stroeder.com - Update to new upstream release 15.5.0 with following security fixes: * [ASTERISK-27818] Username bruteforce is possible when using ACL with PJSIP * [ASTERISK-27807] iostreams: Potential DoS when client connection closed prematurely * Tue Jun 19 2018 adam.majer@suse.de - drop pwlib-devel from BR as it is not going to be ported to OpenSSL 1.1 (boo#1074796) * Tue Jun 12 2018 michael@stroeder.com - Update to new upstream release 15.4.1 with following security fixes: * AST-2018-007: Infinite loop when reading iostreams * AST-2018-008: PJSIP endpoint presence disclosure when using ACL * Sat May 26 2018 dev@stellardeath.org - Switch to bundled pjproject to avoid segmentation faults when using channel PJSIP * Mon May 14 2018 michael@stroeder.com - Update to new upstream release 15.4.0 with following security fixes: * [ASTERISK-27658] - WebSocket frames with 0 sized payload causes DoS * [ASTERISK-27583] - Segmentation fault occurs in asterisk with an invalid SDP fmtp attribute * [ASTERISK-27582] - Segmentation fault occurs in Asterisk with an invalid SDP media format description * [ASTERISK-27618] - Crash occurs when sending a repeated number of INVITE messages over TCP or TLS transport * [ASTERISK-27640] - SUBSCRIBE message with a large Accept value causes stack corruption * Sun May 6 2018 dev@stellardeath.org - Remove sqlite2-devel as BuildRequires, is no longer available * Sun Mar 4 2018 jengelh@inai.de - Update to new upstream release 15.2.2 * The "Data Retrieval API" has been removed. This API was not actively maintained, was not added to new modules (such as res_pjsip), and there exist better alternatives to acquire the same information, such as the ARI. As a result, the "DataGet" AMI action as well as the "data get" CLI command have been removed. * Streams, as a new concept for media flows, have been introduced. * To simplify configuration for users a new option, webrtc, has been created which controls configuration options that are required for WebRTC. * Wed Feb 21 2018 michael@stroeder.com - Update to new upstream release 14.7.6 * AST-2018-001: Crash when receiving unnegotiated dynamic payload * AST-2018-002: Crash when given an invalid SDP media format description * AST-2018-003: Crash with an invalid SDP fmtp attribute * AST-2018-004: Crash when receiving SUBSCRIBE request * AST-2018-005: Crash when large numbers of TCP connections are closed suddenly * AST-2018-006: WebSocket frames with 0 sized payload causes DoS * Sat Dec 23 2017 michael@stroeder.com - Update to new upstream release 14.7.5 * AST-2017-014: Crash in PJSIP resource when missing a contact header * Thu Dec 14 2017 michael@stroeder.com - Update to new upstream release 14.7.4 AST-2017-012: Remote Crash Vulnerability in RTCP Stack * Fri Dec 1 2017 michael@stroeder.com - Update to new upstream release 14.7.3 * AST-2017-013: DOS Vulnerability in Asterisk chan_skinny * Tue Sep 19 2017 michael@stroeder.com - Update to new upstream release 14.6.2 with security fix: AST-2017-008: RTP/RTCP information leak - HTTPS source download links * Wed Sep 6 2017 michael@stroeder.com - Update to new upstream release 14.6.1 with security fixes: * AST-2017-007: Remote Crash Vulerability in res_pjsip * AST-2017-006: Shell access command injection in app_minivm * AST-2017-005: Media takeover in RTP stack * Wed Jul 12 2017 michael@stroeder.com - Update to new upstream release 14.6.0 * Tue May 30 2017 michael@stroeder.com - Update to new upstream release 14.5.0 * Mon May 22 2017 hpj@urpla.net - separate doc package (with ~26 MB) * Sat May 20 2017 michael@stroeder.com - Update to new upstream release 14.4.1 with security fixes: * AST-2017-002: Ensure transaction key buffer is large enough * AST-2017-003: Handle zero-length body parts correctly * AST-2017-004: chan_skinny: Add EOF check in skinny_session * Fri Apr 7 2017 michael@stroeder.com - Update to new upstream release 14.4.0 * Tue Feb 21 2017 jengelh@inai.de - asterisk won't start without the sound directory (so make sure it is always there) * Mon Feb 13 2017 michael@stroeder.com - Update to new upstream release 14.3.0 * Tue Jan 17 2017 jengelh@inai.de - Enable app_meetme * Thu Dec 8 2016 michael@stroeder.com - Update to new upstream release 14.2.1 with security fixes: * AST-2016-008: Crash on SDP offer or answer from endpoint using Opus * AST-2016-009: Remote unauthenticated sessions in chan_sip * Wed Nov 23 2016 michael@stroeder.com - Update to new upstream release 14.2.0 * Thu Nov 10 2016 michael@stroeder.com - Update to new upstream release 14.1.2 * Wed Oct 26 2016 michael@stroeder.com - Update to new upstream release 14.1.1 * Sat Oct 1 2016 jengelh@inai.de - Add asterisk-cflags.diff to drop -march=native again [boo#1002419] * Sat Oct 1 2016 michael@stroeder.com - Update to new upstream release 14.0.2 * Tue Sep 27 2016 michael@stroeder.com - Update to new upstream release 14.0.1 * Mon Sep 26 2016 jengelh@inai.de - Update to new upstream release 14.0.0 * Fri May 13 2016 michael@stroeder.com - Update to new upstream maintenance release 13.9.1 * Wed Mar 30 2016 michael@stroeder.com - Update to new upstream maintenance release 13.9.0 * Sat Feb 6 2016 jengelh@inai.de - Update to new upstream maintenance release 13.7.2 * Fri Feb 5 2016 michael@stroeder.com - Update to new upstream maintenance release 13.7.1 with security fixes: * AST-2016-001: BEAST vulnerability in HTTP server * AST-2016-002: File descriptor exhaustion in chan_sip * AST-2016-003: Remote crash vulnerability when receiving UDPTL FAX data. - Added build dependencies: * libv4l-devel * libSDL2-devel * Thu Dec 10 2015 zawel1@gmail.com - Update to new upstream maintenance release 13.6.0 * Thu Aug 13 2015 jengelh@inai.de - Update to new upstream maintenance release 13.5.0 * Mon Jun 8 2015 jengelh@inai.de - Update to new upstream maintenenace release 13.4.0 * Thu Apr 9 2015 jengelh@inai.de - Update to new upstream maintenance release 13.3.2 * fix for CVE-2015-3008 asterisk: TLS Certificate Common name NULL byte exploit * Mon Mar 16 2015 jengelh@inai.de - Update to new upstream maintenance release 13.2 * Sat Jan 3 2015 jengelh@inai.de - Update to new upstream maintenance release 13.1 * Thu Nov 20 2014 joop.boonen@opensuse.org - Build version 13.0.1 * Thu Nov 20 2014 joop.boonen@opensuse.org - Corrected the file paths - Added missing files - Added excludes * Mon Nov 17 2014 jengelh@inai.de - Update to new upstream release 13 * Asterisk security events are now provided via AMI, allowing end users to monitor their Asterisk system in real time for security related issues. * Both AMI and ARI now allow external systems to control the state of a mailbox. Using AMI actions or ARI resources, external systems can programmatically trigger Message Waiting Indicators (MWI) on subscribed phones. This is of particular use to those who want to build their own VoiceMail application using ARI. * ARI now supports the reception/transmission of out of call text messages using any supported channel driver/protocol stack through ARI. Users receive out of call text messages as JSON events over the ARI websocket connection, and can send out of call text messages using HTTP requests. * The PJSIP stack now supports RFC 4662 Resource Lists, allowing Asterisk to act as a Resource List Server. This includes defining lists of presence state, mailbox state, or lists of presence state/mailbox state; managing subscriptions to lists; and batched delivery of NOTIFY requests to subscribers. * The PJSIP stack can now be used as a means of distributing device state or mailbox state via PUBLISH requests to other Asterisk instances. This is analogous to Asterisk's clustering support using XMPP or Corosync; unlike existing clustering mechanisms, using the PJSIP stack to perform the distribution of state does not rely on another daemon or server to perform the work. * Fri Aug 22 2014 jengelh@inai.de - Update to new upstream maintenance release 12.5.0 * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.5.0-summary.txt * Sun Jul 13 2014 jengelh@inai.de - Update to new upstream release 12.4.0 * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.4.0-summary.txt - Reenable SS7 support in chan_dahdi (for libss7-2.0) * Fri Jun 27 2014 jengelh@inai.de - Update to new upstream release 12.3.2 * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.3.2-summary.txt * Wed Apr 23 2014 marcelloceschia@users.sourceforge.net - Update to new upstream release 12.2.0 * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.2.0-summary.txt * Sat Mar 22 2014 marcelloceschia@users.sourceforge.net - Update to new upstream release 12.1.1 (security release) * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.1.1-summary.txt * Thu Mar 6 2014 jengelh@inai.de - Update to new upstream release 12.1.0 (bugfix release) * http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.1.0-summary.txt * Tue Dec 24 2013 jengelh@inai.de - Update to new upstream release 12.0.0 * A more flexible bridging core based on the Bridging API * A new internal message bus, Stasis * Major standardization and consistency improvements to AMI * Addition of the Asterisk REST Interface (ARI) * A new SIP channel driver, chan_pjsip * https://wiki.asterisk.org/wiki/display/AST/New+in+12 * Tue Dec 24 2013 jengelh@inai.de - Update to new upstream release 11.7.0 (bugfix release) * See http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.7.0-summary.html for details * Sun Nov 24 2013 jengelh@inai.de - Update to new upstream release 11.6.0 (bugfix release) * See http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.6.0-summary.html for details * Thu Aug 15 2013 jengelh@inai.de - Use libuuid to reenable res_rtp_asterisk * Thu Aug 8 2013 jengelh@inai.de - Update to new upstream release 11.5.0 (bugfix release) * See http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.5.0-summary.html for details * Sun Jun 2 2013 jengelh@inai.de - Update to new upstream release 11.4.0 (bugfix release) * See http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.4.0-summary.html for details * Sun Feb 17 2013 jengelh@inai.de - Enable building res_corosync (replaces res_ais from asterisk-10) - Order asterisk after network (bnc#796148) * Sat Feb 16 2013 jengelh@inai.de - Enable building chan_ooh323 - Put config sample files into their respective subpackages - Split off asterisk-freetds - Make libasteriskssl.so symlink point to actual file - Call ldconfig for libasteriskssl1 * Thu Jan 24 2013 jengelh@inai.de - Update to new upstream release 11.2.1 (bugfix release) * Fixed stuck DTMF when using ChannelRedirect to split a two channel bridge * Asterisk deadlocked during startup with mutex errors * Resolved segfault in chan_sip while performing connected line update * Fri Dec 21 2012 joop.boonen@opensuse.org - Update to new upstream release 11.1.0 * chan_local: Fix local_pvt ref leak in local_devicestate(). * Fix a SIP request memory leak with TLS connections. * Fix a bug where our Motif ICE candidates were not quite proper, and make us more forgiving. * Wed Dec 5 2012 joop.boonen@opensuse.org - Update to new upstream release 11.0.1 * Fix a bug which made ConfBridge not record conferences when the record command was initiated from AMI/CLI commands * Fix a bug causing SIP reloads to remove all entries from the registry * Fix an issue with res_http_websocket where the chan_sip WebSocket handler could not be registered. * Sat Nov 3 2012 jengelh@inai.de - Update to new upstream release 11.0.0 * WebRTC Support with WebSocket transport over SIP. * DTLS-SRTP - A secure transport for RTP media streams used by WebRTC and SIP endpoints. * ICE, STUN and TURN – A set of related technologies for establishing live media streams between software agents running behind network address translators (NATs) and firewalls. ICE, STUN and TURN have been incorporated into the Asterisk RTP engine. * Sun Apr 8 2012 jengelh@medozas.de - Update to new upstream release 10.3.0 * http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-10.3.0-summary.html - Make /var/lib/asterisk writable, so that the sqlite db can be automatically created - Replace init script by something less convoluted; also add a systemd service file (bnc#750762, bnc#750763) * Fri Mar 16 2012 jengelh@medozas.de - Update to new upstream release 10.2.1 * Fix AST-2012-002, AST-2012-003 security vulnerabilities * Sun Mar 11 2012 jengelh@medozas.de - Update to new upstream release 10.2.0 * http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-10.2.0-summary.html - Restore spandsp support (bnc#731943) - Set permissions on files (bnc#750761) * Wed Feb 1 2012 jengelh@medozas.de - Update to new upstream release 10.1.0 * http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-10.1.0-summary.html - Add autotools BuildRequires for factory/12.2 * Fri Dec 16 2011 jengelh@medozas.de - Update to final 10.0.0 * Sat Oct 8 2011 jengelh@medozas.de - New package, for a change list see https://wiki.asterisk.org/wiki/display/AST/New+in+10