Package: asterisk Version: 1:13.10.0~dfsg-1 Severity: normal In the packaging of asterisk, it seems that the rest-api directory (which should be located in /usr/share/asterisk/rest-api/) has been accidentially omitted. This breaks the functionality of the ARI module, if enabled, leading to the error message "rest-api directory not found" when using a REST endpoint, e.g. <http://localhost:8088/ari/api-docs/resources.json>.
I locally fixed this by applying the attached one-line patch to debian/asterisk.install, which just adds the obvious line. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages asterisk depends on: ii adduser 3.115 ii asterisk-config 1:13.10.0~dfsg-1 ii asterisk-core-sounds-en-gsm 1.4.22-1 ii asterisk-modules 1:13.10.0~dfsg-1 ii init-system-helpers 1.42 ii libc6 2.23-5 ii libcap2 1:2.25-1 ii libedit2 3.1-20150325-1+b1 ii libgcc1 1:6.1.1-11 ii libjansson4 2.7-5 ii libopus0 1.1.2-1 ii libpopt0 1.16-10 ii libsqlite3-0 3.14.1-1 ii libssl1.0.2 1.0.2h-1 ii libstdc++6 6.1.1-11 ii libtinfo5 6.0+20160625-1 ii liburiparser1 0.8.4-1 ii libuuid1 2.28.1-1 ii libxml2 2.9.4+dfsg1-1+b1 ii libxslt1.1 1.1.29-1 Versions of packages asterisk recommends: pn asterisk-moh-opsound-gsm <none> pn asterisk-voicemail | asterisk-voicemail-storage <none> pn sox <none> Versions of packages asterisk suggests: pn asterisk-dahdi <none> pn asterisk-dev <none> pn asterisk-doc <none> pn asterisk-ooh323 <none> pn asterisk-vpb <none> -- no debconf information
diff -Nru asterisk-13.10.0~dfsg/debian/asterisk.install asterisk-13.10.0~dfsg/debian/asterisk.install --- asterisk-13.10.0~dfsg/debian/asterisk.install 2016-08-29 17:07:40.000000000 +0200 +++ asterisk-13.10.0~dfsg/debian/asterisk.install 2016-07-31 10:55:45.000000000 +0200 @@ -4,5 +4,4 @@ usr/share/asterisk/keys usr/share/asterisk/conf usr/share/asterisk/documentation -usr/share/asterisk/rest-api lib/systemd/system/asterisk.service