Package: asterisk Version: 1:13.12.2~dfsg-2 Severity: wishlist Dear Maintainer,
The package dahdi (of source package dahdi-tools) includes the directory /usr/share/dahdi/span_config.d/ for scripts that get called (from udev, through a hook script) when a new DAHDI span appears. The allow applying custom operations on the span. As of version 1:2.10.0.1-1 of dahdi (now in Jessie) the Debian package has removed the hook that registers spans with Asterisk automatically[1] because this is the job of the Asterisk package (DAHDI should not tie itself to Asterisk). Thus this script should be added to Asterisk. If one wants to avoid a file conflict with dahdi <= 1:2.10.2-1 (pre-jessie versions), it should be safe to use the name '40-asterisk': * Calling the script twice (in case that older version installed) has a small performance issue, but nothing more. * This number (40) is already used in some unofficial packages used by the company I work for. I recommend to add it to the main package (asterisk) and not to asterisk-dahdi for the sake of simplicity: it does not add any real dependency on dahdi. [1] http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=blob;f=hotplug/span_config.d/50-asterisk;hb=HEAD -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.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.12.2~dfsg-2 ii asterisk-core-sounds-en [asterisk-prompt-en] 1.4.22-1 ii asterisk-core-sounds-en-gsm 1.4.22-1 ii asterisk-modules 1:13.12.2~dfsg-2 ii init-system-helpers 1.46 ii libbsd0 0.8.3-1 ii libc6 2.24-7 ii libcap2 1:2.25-1 ii libedit2 3.1-20160903-2 ii libgcc1 1:6.2.1-5 ii libjansson4 2.9-1 ii libncurses5 6.0+20161126-1 ii libpopt0 1.16-10 ii libsqlite3-0 3.15.2-1 ii libssl1.1 1.1.0c-2 ii libstdc++6 6.2.1-5 ii libsystemd0 232-7 ii libtinfo5 6.0+20161126-1 ii liburiparser1 0.8.4-1 ii libuuid1 2.29-1 ii libxml2 2.9.4+dfsg1-2.1 ii libxslt1.1 1.1.29-2 ii lsb-base 9.20161125 Versions of packages asterisk recommends: pn asterisk-moh-opsound-gsm <none> pn asterisk-voicemail | asterisk-voicemail-storage <none> ii sox 14.4.1-5+b1 Versions of packages asterisk suggests: pn asterisk-dahdi <none> ii asterisk-dev 1:13.12.2~dfsg-2 pn asterisk-doc <none> pn asterisk-ooh323 <none> pn asterisk-vpb <none> -- no debconf information

