Bug#836924: rest-api directory missing from package

Andreas Rottmann me+debian at r0tty.org
Wed Sep 7 09:51:41 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asterisk-rest-api-fix.patch
Type: text/x-diff
Size: 440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20160907/7b995038/attachment.patch>


More information about the Pkg-voip-maintainers mailing list