Skip to content
Commits on Source (6)
......@@ -47,11 +47,12 @@ noload => chan_capi.so
;
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
; Do not load load local channel drivers (using the system speaker) by default,
; they are not used in most installations and might block the sound hardware
;
noload => chan_alsa.so
;noload => chan_oss.so
noload => chan_console.so
noload => chan_oss.so
;
; Disable CDR logging to SQLite by default since it writes unconditionally to
; cdr.db without a way to rotate it.
......
......@@ -15,10 +15,7 @@ Build-Depends:
binutils-dev,
dahdi-source,
debhelper (>= 10),
# MariaDB woes in unstable, see #917075
# default-libmysqlclient-dev,
libmariadb-dev-compat,
# end MariaDB woes
default-libmysqlclient-dev,
freetds-dev,
libasound2-dev,
libavcodec-dev,
......@@ -46,17 +43,17 @@ Build-Depends:
libopenr2-dev [linux-any],
libopus-dev,
libopusfile-dev,
libosptk-dev,
libpopt-dev,
libpq-dev,
libpri-dev,
libreadline-dev,
libresample1-dev,
libsdl-image1.2-dev,
# libsnmp-dev,
libsnmp-dev,
libspandsp-dev,
libspeex-dev,
libspeexdsp-dev,
libsqlite0-dev,
libsqlite3-dev,
libsrtp2-dev,
libss7-dev,
......
......@@ -41,7 +41,7 @@ Last-Update: 2016-04-02
+# Note: if you changed the parameters passed in the command-line (ExecStart)
+# be sure to copy them over here as well.
+[Service]
+ExecStart = $BASE_DIR/asterisk g -f -U asterisk
+ExecStart = $BASE_DIR/asterisk g -f -p -U asterisk
+ExecReload = $BASE_DIR/asterisk -rx 'core reload'
+WorkingDirectory = $varlibdir
+EOF
......@@ -90,7 +90,7 @@ Last-Update: 2016-04-02
+
+[Service]
+Type=notify
+ExecStart=__ASTERISK_SBIN_DIR__/asterisk -g -f -U asterisk
+ExecStart=__ASTERISK_SBIN_DIR__/asterisk -g -f -p -U asterisk
+ExecReload=__ASTERISK_SBIN_DIR__/asterisk -rx 'core reload'
+Restart=on-failure
+RestartSec=1
......