add asterisk 20.0.0 LTS

This commit is contained in:
sthen 2022-10-20 09:45:34 +00:00
parent c54d09d4c6
commit d2167c461c
58 changed files with 1753 additions and 0 deletions

View File

@ -0,0 +1,7 @@
VER= 20.0.0
PJ_V= 2.12.1
SHLIB_V= 0.0
VERSION_SPEC= >=20.0,<21.0
# no PORTROACH marker for the highest branch, to allow finding new branches
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
SHA256 (asterisk-20.0.0.tar.gz) = lJAiwg3G2mW0VuGxtbQqeQG7Qfyc4gkgiRc55yINcus=
SHA256 (pjproject-2.12.1.tar.gz) = 0P7vaWOweTToIbpDKK7LTDY1hRXBs+UH2lh0VV1xNTM=
SIZE (asterisk-20.0.0.tar.gz) = 28063357
SIZE (pjproject-2.12.1.tar.gz) = 9660659

View File

@ -0,0 +1,24 @@
- don't force compiler flags
- don't unconditionally set -ftrampolines, it is gcc-only.
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -144,7 +144,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
OVERWRITE=y
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
-DEBUG=-g3
+#DEBUG=-g3
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
# when starting Asterisk
@@ -237,7 +237,7 @@ ifeq ($(OSARCH),NetBSD)
endif
ifeq ($(OSARCH),OpenBSD)
- _ASTCFLAGS+=-pthread -ftrampolines
+ _ASTCFLAGS+=-pthread
endif
ifeq ($(OSARCH),linux-uclibc)

View File

@ -0,0 +1,16 @@
Index: Makefile.rules
--- Makefile.rules.orig
+++ Makefile.rules
@@ -213,10 +213,10 @@ endif
# extern const size_t _binary_abc_def_xml_size;
%.o: %.xml
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(CC) -g -nostartfiles -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
+ $(CMD_PREFIX) $(CC) ${LLD_EMUL} -g -nostartfiles -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
%.o: %.xslt
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(CC) -g -nostartfiles -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
+ $(CMD_PREFIX) $(CC) ${LLD_EMUL} -g -nostartfiles -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
dist-clean:: clean

View File

@ -0,0 +1,70 @@
test for alpine-2.22's c-client and cope with API change.
parts borrowed from slackware patch for PHP with alpine-2.22.
Index: apps/app_voicemail.c
--- apps/app_voicemail.c.orig
+++ apps/app_voicemail.c
@@ -60,6 +60,9 @@
#include <c-client/c-client.h>
#include <c-client/imap4r1.h>
#include <c-client/linkage.h>
+#if defined (HAVE_IMAP_ALPINE2_22)
+char *cpystr(const char *str); /* from c-client/misc.h but that has namespace problems */
+#endif
#else
#include "c-client.h"
#include "imap4r1.h"
@@ -3296,7 +3299,11 @@ void mm_dlog(char *string)
}
+#if defined(HAVE_IMAP_ALPINE2_22)
+void mm_login(NETMBX * mb, char *user, char **pwd, long trial)
+#else
void mm_login(NETMBX * mb, char *user, char *pwd, long trial)
+#endif
{
struct ast_vm_user *vmu;
@@ -3306,22 +3313,41 @@ void mm_login(NETMBX * mb, char *user, char *pwd, long
/* We should only do this when necessary */
if (!ast_strlen_zero(authpassword)) {
+#if defined(HAVE_IMAP_ALPINE2_22)
+ *pwd = cpystr(authpassword);
+#else
ast_copy_string(pwd, authpassword, MAILTMPLEN);
+#endif
} else {
AST_LIST_TRAVERSE(&users, vmu, list) {
if (!strcasecmp(mb->user, vmu->imapuser)) {
+#if defined(HAVE_IMAP_ALPINE2_22)
+ *pwd = cpystr(vmu->imappassword);
+#else
ast_copy_string(pwd, vmu->imappassword, MAILTMPLEN);
+#endif
break;
}
}
if (!vmu) {
if ((vmu = find_user_realtime_imapuser(mb->user))) {
+#if defined(HAVE_IMAP_ALPINE2_22)
+ *pwd = cpystr(vmu->imappassword);
+#else
ast_copy_string(pwd, vmu->imappassword, MAILTMPLEN);
+#endif
free_user(vmu);
}
}
}
}
+
+#if defined(HAVE_IMAP_ALPINE2_22)
+void mm_login_method(NETMBX *mb, char *user, void *pwd, long trial, char *method)
+{
+ return;
+}
+#endif
void mm_critical(MAILSTREAM * stream)

View File

@ -0,0 +1,14 @@
test for alpine-2.22's c-client and cope with API change.
parts borrowed from slackware patch for PHP with alpine-2.22.
Index: apps/app_voicemail.exports.in
--- apps/app_voicemail.exports.in.orig
+++ apps/app_voicemail.exports.in
@@ -10,6 +10,7 @@
LINKER_SYMBOL_PREFIXmm_list;
LINKER_SYMBOL_PREFIXmm_log;
LINKER_SYMBOL_PREFIXmm_login;
+ LINKER_SYMBOL_PREFIXmm_login_method;
LINKER_SYMBOL_PREFIXmm_lsub;
LINKER_SYMBOL_PREFIXmm_nocritical;
LINKER_SYMBOL_PREFIXmm_notify;

View File

@ -0,0 +1,14 @@
Index: autoconf/ast_check_raii.m4
--- autoconf/ast_check_raii.m4.orig
+++ autoconf/ast_check_raii.m4
@@ -41,6 +41,10 @@ AC_DEFUN([AST_CHECK_RAII], [
AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
AST_CLANG_BLOCKS="-fblocks"
AC_MSG_RESULT(yes)
+ elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -L/usr/local/lib -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then
+ AST_CLANG_BLOCKS_LIBS="-L/usr/local/lib -lBlocksRuntime"
+ AST_CLANG_BLOCKS="-fblocks"
+ AC_MSG_RESULT(yes)
else
AC_MSG_ERROR([BlocksRuntime is required for clang, please install libblocksruntime])
fi

View File

@ -0,0 +1,12 @@
Index: build_tools/cflags.xml
--- build_tools/cflags.xml.orig
+++ build_tools/cflags.xml
@@ -125,7 +125,7 @@
</member>
<member name="BUILD_NATIVE" displayname="Allow compiler to generate code optimized for the CPU on which the build is performed.">
<support_level>core</support_level>
- <defaultenabled>yes</defaultenabled>
+ <defaultenabled>no</defaultenabled>
<depend>native_arch</depend>
</member>
</category>

View File

@ -0,0 +1,19 @@
Index: configs/basic-pbx/asterisk.conf
--- configs/basic-pbx/asterisk.conf.orig
+++ configs/basic-pbx/asterisk.conf
@@ -5,9 +5,10 @@
;verbose = 5
;debug = 2
-; User and group to run asterisk as. NOTE: This will require changes to
-; directory and device permissions.
-;runuser = asterisk ; The user to run as. The default is root.
-;rungroup = asterisk ; The group to run as. The default is root
-
;defaultlanguage = es
+
+[files]
+astctlpermissions = 0660
+astctlowner = _asterisk
+astctlgroup = wheel
+astctl = asterisk.ctl

View File

@ -0,0 +1,13 @@
Index: configs/samples/ast_debug_tools.conf.sample
--- configs/samples/ast_debug_tools.conf.sample.orig
+++ configs/samples/ast_debug_tools.conf.sample
@@ -24,7 +24,8 @@
# The exclusion of files ending ".txt" is just for
# demonstration purposes as non-asterisk-coredumps will be
# ignored anyway.
-COREDUMPS=( /tmp/core!(*.txt) )
+#COREDUMPS=( /tmp/core!(*.txt) )
+COREDUMPS=( /var/crash/asterisk/*.core /tmp/asterisk.core )
# OUTPUTDIR is the directory to contain output files and
# work directories.

View File

@ -0,0 +1,38 @@
Index: configs/samples/asterisk.conf.sample
--- configs/samples/asterisk.conf.sample.orig
+++ configs/samples/asterisk.conf.sample
@@ -72,8 +72,8 @@ astsbindir => /usr/sbin
; not otherwise require one.
;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of
; directly.
-;runuser = asterisk ; The user to run as.
-;rungroup = asterisk ; The group to run as.
+runuser = _asterisk ; The user to run as.
+;rungroup = _asterisk ; The group to run as (otherwise uses default groups for the runuser)
;lightbackground = yes ; If your terminal is set for a light-colored
; background.
;forceblackbackground = yes ; Force the background of the terminal to be
@@ -94,7 +94,8 @@ documentation_language = en_US ; Set the language you
; gosub - Invoke the stdexten using a gosub as
; documented in extensions.conf.sample.
; Default gosub.
-;live_dangerously = no ; Enable the execution of 'dangerous' dialplan
+live_dangerously = no
+;live_dangerously = yes ; Enable the execution of 'dangerous' dialplan
; functions from external sources (AMI,
; etc.) These functions (such as SHELL) are
; considered dangerous because they can allow
@@ -127,8 +128,8 @@ documentation_language = en_US ; Set the language you
; when the Digium Phone Module for Asterisk is in use.
; Changing the following lines may compromise your security.
-;[files]
-;astctlpermissions = 0660
-;astctlowner = root
-;astctlgroup = apache
-;astctl = asterisk.ctl
+[files]
+astctlpermissions = 0660
+astctlowner = _asterisk
+astctlgroup = wheel
+astctl = asterisk.ctl

View File

@ -0,0 +1,13 @@
Index: configs/samples/res_odbc.conf.sample
--- configs/samples/res_odbc.conf.sample.orig
+++ configs/samples/res_odbc.conf.sample
@@ -19,8 +19,7 @@
; If not specified, it is assumed the section is enabled.
enabled => no
;
-; This value should match an entry in /etc/odbc.ini
-; (or /usr/local/etc/odbc.ini, on FreeBSD and similar systems).
+; This value should match an entry in /etc/iodbc/odbc.ini
dsn => asterisk
;
; Username for connecting to the database. The user defaults to the context name if unspecified.

View File

@ -0,0 +1,14 @@
Index: configs/samples/res_snmp.conf.sample
--- configs/samples/res_snmp.conf.sample.orig
+++ configs/samples/res_snmp.conf.sample
@@ -8,7 +8,9 @@
; /etc/snmp on many systems.
;
; If you use the subagent model, you need to enable agentx in snmpd.conf
-; Note that you can only run one Asterisk on the system in this case.
+; Note that you can only run one copy of Asterisk on the system in this case.
+; To work with standard permissions on the agentx socket in OpenBSD's
+; snmpd(8), add the "_asterisk" user to the _agentx group.
;
; See https://wiki.asterisk.org/wiki/display/AST/Simple+Network+Management+Protocol+(SNMP)+Support
; to get more information about

View File

@ -0,0 +1,18 @@
Index: configs/samples/sip.conf.sample
--- configs/samples/sip.conf.sample.orig
+++ configs/samples/sip.conf.sample
@@ -169,11 +169,11 @@ allowoverlap=no ; Disable overlap dial
; a) Listen on a specific IPv4 address. Example: bindaddr=192.0.2.1
; b) Listen on a specific IPv6 address. Example: bindaddr=2001:db8::1
; c) Listen on the IPv4 wildcard. Example: bindaddr=0.0.0.0
-; d) Listen on the IPv4 and IPv6 wildcards. Example: bindaddr=::
+; d) Listen on the IPv6 wildcard. Example: bindaddr=::
; (You can choose independently for UDP, TCP, and TLS, by specifying different values for
; "udpbindaddr", "tcpbindaddr", and "tlsbindaddr".)
-; (Note that using bindaddr=:: will show only a single IPv6 socket in netstat.
-; IPv4 is supported at the same time using IPv4-mapped IPv6 addresses.)
+; (Note that on OpenBSD, using bindaddr=:: will only allow IPv6 connections.
+; OpenBSD does *not* permit IPv4-mapped IPv6 addresses.)
;
; You may optionally add a port number. (The default is port 5060 for UDP and TCP, 5061
; for TLS).

View File

@ -0,0 +1,99 @@
test for alpine-2.22's c-client and cope with API change.
parts borrowed from slackware patch for PHP with alpine-2.22.
last hunk: adapt to openbsd's lua directory naming
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -2180,6 +2180,67 @@ if test "${USE_IMAP_TK}" != "no"; then
[ac_cv_imap_tk="no"]
)
if test "${ac_cv_imap_tk}" = "no"; then
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [#include <stdio.h>
+ #include <c-client/c-client.h>
+ void mm_searched (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_exists (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_expunged (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_flags (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_notify (MAILSTREAM *stream,char *string,long errflg)
+ {
+ }
+ void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
+ {
+ }
+ void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
+ {
+ }
+ void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
+ {
+ }
+ void mm_log (char *string,long errflg)
+ {
+ }
+ void mm_dlog (char *string)
+ {
+ }
+ void mm_login (NETMBX *mb,char *user,char **pwd,long trial)
+ {
+ }
+ void mm_login_method (NETMBX *mb, char *user, void *pwd, long trial, char *method)
+ {
+ }
+ void mm_critical (MAILSTREAM *stream)
+ {
+ }
+ void mm_nocritical (MAILSTREAM *stream)
+ {
+ }
+ long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
+ {
+ }
+ void mm_fatal (char *string)
+ {
+ }],
+ [
+ mm_login_method(NULL, "", NULL, 0, "");
+ ]
+ )],
+ [ac_cv_imap_alpine2_22="yes" ac_cv_imap_tk="yes"],
+ [ac_cv_imap_alpine2_22="no"]
+ )
+ fi
+ if test "${ac_cv_imap_tk}" = "no"; then
imap_libs="-lcrypto -lssl -lc-client4"
LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`
AC_LINK_IFELSE(
@@ -2308,6 +2369,9 @@ if test "${USE_IMAP_TK}" != "no"; then
if test "${ac_cv_imap_tk2006}" = "yes"; then
AC_DEFINE([HAVE_IMAP_TK2006], 1, [Define if your system has the UW IMAP Toolkit c-client library version 2006 or greater.])
fi
+ if test "${ac_cv_imap_alpine2_22}" = "yes"; then
+ AC_DEFINE([HAVE_IMAP_ALPINE2_22], 1, [Define if your system has the c-client library from Alpine version 2.22 or greater.])
+ fi
else
AC_MSG_RESULT(no)
fi
@@ -2600,10 +2664,10 @@ fi
AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
- AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm])
+ AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua-${ver}/lua.h, [-lm])
if test "x${PBX_LUA}" = "x1" ; then
if test x"${LUA_DIR}" = x; then
- LUA_INCLUDE="${LUA_INCLUDE} -I/usr/include/lua${ver}"
+ LUA_INCLUDE="${LUA_INCLUDE} -I/usr/local/include/lua-${ver}"
else
LUA_INCLUDE="${LUA_INCLUDE} -I${LUA_DIR}/lua${ver}"
fi

View File

@ -0,0 +1,99 @@
test for alpine-2.22's c-client and cope with API change.
parts borrowed from slackware patch for PHP with alpine-2.22.
last hunk: adapt to openbsd's lua directory naming
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -2169,6 +2169,67 @@ if test "${USE_IMAP_TK}" != "no"; then
[ac_cv_imap_tk="no"]
)
if test "${ac_cv_imap_tk}" = "no"; then
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [#include <stdio.h>
+ #include <c-client/c-client.h>
+ void mm_searched (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_exists (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_expunged (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_flags (MAILSTREAM *stream,unsigned long number)
+ {
+ }
+ void mm_notify (MAILSTREAM *stream,char *string,long errflg)
+ {
+ }
+ void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
+ {
+ }
+ void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
+ {
+ }
+ void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
+ {
+ }
+ void mm_log (char *string,long errflg)
+ {
+ }
+ void mm_dlog (char *string)
+ {
+ }
+ void mm_login (NETMBX *mb,char *user,char **pwd,long trial)
+ {
+ }
+ void mm_login_method (NETMBX *mb, char *user, void *pwd, long trial, char *method)
+ {
+ }
+ void mm_critical (MAILSTREAM *stream)
+ {
+ }
+ void mm_nocritical (MAILSTREAM *stream)
+ {
+ }
+ long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
+ {
+ }
+ void mm_fatal (char *string)
+ {
+ }],
+ [
+ mm_login_method(NULL, "", NULL, 0, "");
+ ]
+ )],
+ [ac_cv_imap_alpine2_22="yes" ac_cv_imap_tk="yes"],
+ [ac_cv_imap_alpine2_22="no"]
+ )
+ fi
+ if test "${ac_cv_imap_tk}" = "no"; then
imap_libs="-lcrypto -lssl -lc-client4"
LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`
AC_LINK_IFELSE(
@@ -2297,6 +2358,9 @@ if test "${USE_IMAP_TK}" != "no"; then
if test "${ac_cv_imap_tk2006}" = "yes"; then
AC_DEFINE([HAVE_IMAP_TK2006], 1, [Define if your system has the UW IMAP Toolkit c-client library version 2006 or greater.])
fi
+ if test "${ac_cv_imap_alpine2_22}" = "yes"; then
+ AC_DEFINE([HAVE_IMAP_ALPINE2_22], 1, [Define if your system has the c-client library from Alpine version 2.22 or greater.])
+ fi
else
AC_MSG_RESULT(no)
fi
@@ -2588,10 +2652,10 @@ fi
AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
- AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm])
+ AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua-${ver}/lua.h, [-lm])
if test "x${PBX_LUA}" = "x1" ; then
if test x"${LUA_DIR}" = x; then
- LUA_INCLUDE="${LUA_INCLUDE} -I/usr/include/lua${ver}"
+ LUA_INCLUDE="${LUA_INCLUDE} -I/usr/local/include/lua-${ver}"
else
LUA_INCLUDE="${LUA_INCLUDE} -I${LUA_DIR}/lua${ver}"
fi

View File

@ -0,0 +1,36 @@
Index: contrib/scripts/ast_coredumper
--- contrib/scripts/ast_coredumper.orig
+++ contrib/scripts/ast_coredumper
@@ -16,7 +16,8 @@ source <(sed -n -r -e "/^#@@@FUNCSSTART@@@/,\${p;/^#@@
# The "!(*.txt)" is a bash construct that excludes files ending with .txt
# from the glob match.
-declare -a COREDUMPS=( /tmp/core!(*.txt) )
+#declare -a COREDUMPS=( /tmp/core!(*.txt) )
+declare -a COREDUMPS=( /var/crash/asterisk/*.core /tmp/asterisk.core )
# A line starting with ': ' is a POSIX construct that makes the shell
# perform the operation but ignore the result. This is an alternative to
@@ -27,7 +28,7 @@ declare -a COREDUMPS=( /tmp/core!(*.txt) )
: ${DELETE_COREDUMPS_AFTER:=false}
: ${DELETE_RESULTS_AFTER:=false}
: ${DRY_RUN:=false}
-: ${GDB:=$(which gdb)}
+: ${GDB:=$(which egdb)}
: ${HELP:=false}
: ${LATEST:=false}
: ${OUTPUTDIR:=/tmp}
@@ -566,11 +567,8 @@ DESCRIPTION
A list of coredumps or coredump search patterns. These
will override the default and those specified in the config files.
- The default pattern is "/tmp/core!(*.txt)"
-
- The "!(*.txt)" tells bash to ignore any files that match
- the base pattern and end in ".txt". It$'s not strictly
- needed as non asterisk coredumps are always ignored.
+ The default pattern in the OpenBSD package is
+ "/var/crash/asterisk/*.core /tmp/asterisk.core"
NOTES
You must be root to use this program.

View File

@ -0,0 +1,73 @@
Index: contrib/scripts/safe_asterisk
--- contrib/scripts/safe_asterisk.orig
+++ contrib/scripts/safe_asterisk
@@ -6,21 +6,22 @@ ASTVARRUNDIR="__ASTERISK_VARRUN_DIR__"
ASTVARLOGDIR="__ASTERISK_LOG_DIR__"
CLIARGS="$*" # Grab any args passed to safe_asterisk
-TTY=9 # TTY (if you want one) for Asterisk to run on
-CONSOLE=yes # Whether or not you want a console
-#NOTIFY=root@localhost # Who to notify about crashes
+TTY= # TTY (if you want one) for Asterisk to run on
+CONSOLE=no # Whether or not you want a console
+NOTIFY=root # Who to notify about crashes
#EXEC=/path/to/somescript # Run this command if Asterisk crashes
#LOGFILE="${ASTVARLOGDIR}/safe_asterisk.log" # Where to place the normal logfile (disabled if blank)
-#SYSLOG=local0 # Which syslog facility to use (disabled if blank)
+SYSLOG=daemon # Which syslog facility to use (disabled if blank)
MACHINE=`hostname` # To specify which machine has crashed when getting the mail
DUMPDROP="${DUMPDROP:-/tmp}"
RUNDIR="${RUNDIR:-/tmp}"
SLEEPSECS=4
ASTPIDFILE="${ASTVARRUNDIR}/asterisk.pid"
+VARRUNOWNER="_asterisk:wheel" # chown __ASTERISK_VARRUN_DIR__ if it's created.
# comment this line out to have this script _not_ kill all mpg123 processes when
# asterisk exits
-KILLALLMPG123=1
+# KILLALLMPG123=1
# run asterisk with this priority
PRIORITY=0
@@ -48,6 +49,19 @@ message() {
fi
}
+# Create the directory for the control socket if required. As of 1.6.0.26,
+# Asterisk tries to create this itself at startup but doesn't give suitable
+# ownership. This must be created before the 'check if asterisk is already
+# running' below, since that is enough to get the dir created.
+if test `id -u` == 0 ; then
+ varrundir=`dirname $ASTPIDFILE`
+ if [ ! -d $varrundir ]; then
+ mkdir -p $varrundir
+ [ -n "$VARRUNOWNER" ] && chown $VARRUNOWNER $varrundir
+ chmod 770 $varrundir
+ fi
+fi
+
# Check if Asterisk is already running. If it is, then bug out, because
# starting safe_asterisk when Asterisk is running is very bad.
VERSION=`"${ASTSBINDIR}/asterisk" -nrx 'core show version' 2>/dev/null`
@@ -81,7 +95,7 @@ else
fi
fi
SYSCTL_MAXFILES="fs.file-max"
- elif `uname -s | grep Darwin /dev/null 2>&1`; then
+ elif `uname -s | grep -E '(BSD|Darwin)' /dev/null 2>&1`; then
SYSCTL_MAXFILES="kern.maxfiles"
fi
@@ -92,8 +106,10 @@ else
fi
fi
- # set the process's filemax to whatever set above
- ulimit -n $MAXFILES
+ if ! test "x$MAXFILES" = "x" ; then
+ # set the process's filemax to whatever set above
+ ulimit -n $MAXFILES
+ fi
if test ! -d "${ASTVARRUNDIR}"; then
mkdir -p "${ASTVARRUNDIR}"

View File

@ -0,0 +1,38 @@
cope with openbsd ancient nameser.h
Index: main/dns_core.c
--- main/dns_core.c.orig
+++ main/dns_core.c
@@ -376,12 +376,12 @@ int ast_dns_resolve_ipv6_and_ipv4(struct ast_sockaddr
ast_log(LOG_ERROR, "Couldn't allocate DNS query structure\n");
return -1;
}
- rc = ast_dns_query_set_add(queries, host, ns_t_aaaa, ns_c_in);
+ rc = ast_dns_query_set_add(queries, host, T_AAAA, C_IN);
if (rc != 0) {
ast_log(LOG_ERROR, "Couldn't add 'AAAA' DNS query for '%s'\n", host);
return -1;
}
- rc = ast_dns_query_set_add(queries, host, ns_t_a, ns_c_in);
+ rc = ast_dns_query_set_add(queries, host, T_A, C_IN);
if (rc != 0) {
ast_log(LOG_ERROR, "Couldn't add 'A' DNS query for '%s'\n", host);
return -1;
@@ -406,7 +406,7 @@ int ast_dns_resolve_ipv6_and_ipv4(struct ast_sockaddr
const unsigned char *data = (unsigned char *)ast_dns_record_get_data(record);
int rr_type = ast_dns_record_get_rr_type(record);
- if (rr_type == ns_t_aaaa && data_size == 16) {
+ if (rr_type == T_AAAA && data_size == 16) {
struct sockaddr_in6 sin6 = { 0, };
sin6.sin6_port = in_port;
@@ -416,7 +416,7 @@ int ast_dns_resolve_ipv6_and_ipv4(struct ast_sockaddr
address->len = sizeof(sin6);
return 0;
- } else if (rr_type == ns_t_a && data_size == 4) {
+ } else if (rr_type == T_A && data_size == 4) {
struct sockaddr_in sin4 = { 0, };
sin4.sin_port = in_port;

View File

@ -0,0 +1,12 @@
Index: main/iostream.c
--- main/iostream.c.orig
+++ main/iostream.c
@@ -553,7 +553,7 @@ int ast_iostream_close(struct ast_iostream *stream)
ERR_error_string(sslerr, err), ssl_error_to_string(sslerr, res));
}
-#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L)
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
if (!SSL_is_server(stream->ssl)) {
#else
if (!stream->ssl->server) {

View File

@ -0,0 +1,12 @@
Index: main/utils.c
--- main/utils.c.orig
+++ main/utils.c
@@ -2728,6 +2728,8 @@ int ast_get_tid(void)
long lwpid;
thr_self(&lwpid); /* available since sys/thr.h creation 2003 */
ret = lwpid;
+#elif defined(__OpenBSD__)
+ ret = getthrid();
#elif defined(__NetBSD__)
ret = _lwp_self();
#endif

View File

@ -0,0 +1,12 @@
Index: main/utils.c
--- main/utils.c.orig
+++ main/utils.c
@@ -2722,6 +2722,8 @@ int ast_get_tid(void)
long lwpid;
thr_self(&lwpid); /* available since sys/thr.h creation 2003 */
ret = lwpid;
+#elif defined(__OpenBSD__)
+ ret = getthrid();
#elif defined(__NetBSD__)
ret = _lwp_self();
#endif

View File

@ -0,0 +1,23 @@
libressl *does* have this now
Index: res/res_rtp_asterisk.c
--- res/res_rtp_asterisk.c.orig
+++ res/res_rtp_asterisk.c
@@ -1861,7 +1861,7 @@ static int dtls_setup_rtcp(struct ast_rtp_instance *in
static const SSL_METHOD *get_dtls_method(void)
{
-#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10002000L
return DTLSv1_method();
#else
return DTLS_method();
@@ -9074,7 +9074,7 @@ static int store_stunaddr_resolved(const struct ast_dn
const unsigned char *data = (unsigned char *)ast_dns_record_get_data(record);
const int rr_type = ast_dns_record_get_rr_type(record);
- if (rr_type == ns_t_a && data_size == 4) {
+ if (rr_type == T_A && data_size == 4) {
ast_rwlock_wrlock(&stunaddr_lock);
memcpy(&stunaddr.sin_addr, data, data_size);
stunaddr.sin_family = AF_INET;

View File

@ -0,0 +1,19 @@
Index: sounds/sounds.xml
--- sounds/sounds.xml.orig
+++ sounds/sounds.xml
@@ -10,7 +10,6 @@
</member>
<member name="CORE-SOUNDS-EN-GSM" displayname="English, GSM format" >
<support_level>core</support_level>
- <defaultenabled>yes</defaultenabled>
</member>
<member name="CORE-SOUNDS-EN-G729" displayname="English, G.729 format">
<support_level>core</support_level>
@@ -273,7 +272,6 @@
</category>
<category name="MENUSELECT_MOH" displayname="Music On Hold File Packages" positive_output="yes">
<member name="MOH-OPSOUND-WAV" displayname="opsound.org Music On Hold Files, WAV format" >
- <defaultenabled>yes</defaultenabled>
<support_level>core</support_level>
</member>
<member name="MOH-OPSOUND-ULAW" displayname="opsound.org Music On Hold Files, mu-Law format" >

View File

@ -0,0 +1,12 @@
Index: third-party/apply_patches
--- third-party/apply_patches.orig
+++ third-party/apply_patches
@@ -29,7 +29,7 @@ fi
for patchfile in ${patches} ; do
[ -z $quiet ] && echo "Applying patch $(basename $patchfile)"
- ${PATCH} -d "$sourcedir" -p1 -s -i "$patchfile" || exit 1
+ ${PATCH} -d "$sourcedir" -z.orig.ast -p1 -s -i "$patchfile" || exit 1
done
exit 0

View File

@ -0,0 +1,12 @@
Index: third-party/pjproject/Makefile
--- third-party/pjproject/Makefile.orig
+++ third-party/pjproject/Makefile
@@ -98,7 +98,7 @@ SHELL_ECHO_PREFIX := echo '[pjproject] '
_all: $(TARGETS)
-$(DOWNLOAD_DIR)/$(TARBALL_FILE): ../versions.mak
+$(DOWNLOAD_DIR)/$(TARBALL_FILE):
$(CMD_PREFIX) ($(TARBALL_EXISTS) && $(TARBALL_VERIFY) && touch $@) || (rm -rf $@ ;\
$(TARBALL_DOWNLOAD)) || (rm -rf $@ ;\
$(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD))

View File

@ -0,0 +1,12 @@
Index: third-party/pjproject/source/pjlib/build/Makefile
--- third-party/pjproject/source/pjlib/build/Makefile.orig
+++ third-party/pjproject/source/pjlib/build/Makefile
@@ -19,7 +19,7 @@ endif
# Gather all flags.
#
export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \
- $(CFLAGS) $(CC_INC)../include
+ $(CFLAGS) $(CC_INC)../include $(CC_INC)$(LOCALBASE)/include
export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \
$(HOST_CXXFLAGS) $(CXXFLAGS)
export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \

View File

@ -0,0 +1,17 @@
Index: third-party/pjproject/source/pjlib/src/pj/ssl_sock_ossl.c
--- third-party/pjproject/source/pjlib/src/pj/ssl_sock_ossl.c.orig
+++ third-party/pjproject/source/pjlib/src/pj/ssl_sock_ossl.c
@@ -156,10 +156,12 @@ static void update_certs_info(pj_ssl_sock_t* ssock,
pj_ssl_cert_info *remote_cert_info,
pj_bool_t is_verify);
-#if !USING_LIBRESSL && OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
# define OPENSSL_NO_SSL2 /* seems to be removed in 1.1.0 */
+# if !USING_LIBRESSL
# define M_ASN1_STRING_data(x) ASN1_STRING_get0_data(x)
# define M_ASN1_STRING_length(x) ASN1_STRING_length(x)
+# endif
# if defined(OPENSSL_API_COMPAT) && OPENSSL_API_COMPAT >= 0x10100000L
# define X509_get_notBefore(x) X509_get0_notBefore(x)
# define X509_get_notAfter(x) X509_get0_notAfter(x)

View File

@ -0,0 +1,22 @@
openbsd writes a warning to the kernel log when you sprintf a null pointer
Index: third-party/pjproject/source/pjmedia/src/pjmedia/sdp.c
--- third-party/pjproject/source/pjmedia/src/pjmedia/sdp.c.orig
+++ third-party/pjproject/source/pjmedia/src/pjmedia/sdp.c
@@ -597,13 +597,13 @@ PJ_DEF(pj_status_t) pjmedia_sdp_rtpmap_to_attr(pj_pool
len = pj_ansi_snprintf(tempbuf, sizeof(tempbuf),
"%.*s %.*s/%u%s%.*s",
(int)rtpmap->pt.slen,
- rtpmap->pt.ptr,
+ rtpmap->pt.ptr ? rtpmap->pt.ptr : "(null)",
(int)rtpmap->enc_name.slen,
- rtpmap->enc_name.ptr,
+ rtpmap->enc_name.ptr ? rtpmap->enc_name.ptr : "(null)",
rtpmap->clock_rate,
(rtpmap->param.slen ? "/" : ""),
(int)rtpmap->param.slen,
- rtpmap->param.ptr);
+ rtpmap->param.ptr ? rtpmap->param.ptr : "(null)");
if (len < 1 || len >= (int)sizeof(tempbuf))
return PJMEDIA_SDP_ERTPMAPTOOLONG;

View File

@ -0,0 +1 @@
iCal support for Asterisk's calendar functions.

View File

@ -0,0 +1,2 @@
This is the HTTP POST module for Asterisk, packaged separately to avoid
additional dependencies for the main package.

View File

@ -0,0 +1,14 @@
kqueue-backed timer module for Asterisk.
Timing is a fundamental part of Asterisk. It has multiple timing
modules available for various OS. For OpenBSD, the options are pthread or
kqueue-backed timers.
Normally, the pthread-backed timer performs best, and this is included
in the main package.
This package provides the kqueue timer to make it easier for those
wishing to EXPERIMENT with it (possibly on a kernel built with a higher
HZ value).
Use the "timing test" cli command to investigate performance.

View File

@ -0,0 +1 @@
LDAP support for Asterisk.

View File

@ -0,0 +1 @@
Lua dialplan support for Asterisk.

View File

@ -0,0 +1,9 @@
Asterisk is a complete IP PBX in software. It provides all of the
features you would expect from a PBX including many advanced features
that are often associated with high end (and high cost) proprietary
PBXs, such as Voicemail services with Directory, Call Conferencing,
Interactive Voice Response, and Call Queuing.
Asterisk supports Voice over IP in many protocols, and can
interoperate with almost all standards-based telephony equipment
using relatively inexpensive hardware.

View File

@ -0,0 +1,6 @@
ODBC functions for Asterisk. This includes:
res_odbc: Basic ODBC functions, used by other modules
cdr_odbc: Database-backed CDR logging
func_odbc: Set and query variables in the dialplan
res_config_odbc: Asterisk ODBC RealTime configuration

View File

@ -0,0 +1,5 @@
PostgreSQL functions for Asterisk. This includes:
cdr_pgsql.so: Database-backed CDR logging
cel_pgsql.so: Database-backed channel-event logging
res_config_pgsql.so: Asterisk PostgreSQL RealTime configuration

View File

@ -0,0 +1 @@
Net-SNMP support for Asterisk

View File

@ -0,0 +1 @@
A driver for the Speex codec to be used in Asterisk channels.

View File

@ -0,0 +1,4 @@
FreeTDS functions for Asterisk. This includes:
cdr_tds.so: Database-backed CDR logging
cel_tds.so: Database-backed channel-event logging

View File

@ -0,0 +1,4 @@
IMAP voicemail for Asterisk.
Only one voicemail module may be loaded at a time; all others should
be disabled with "noload" in modules.conf.

View File

@ -0,0 +1,4 @@
ODBC voicemail for Asterisk.
Only one voicemail module may be loaded at a time; all others should
be disabled with "noload" in modules.conf.

View File

@ -0,0 +1,6 @@
@option is-branch
@so lib/asterisk/modules/res_calendar.so
@so lib/asterisk/modules/res_calendar_caldav.so
@so lib/asterisk/modules/res_calendar_ews.so
@so lib/asterisk/modules/res_calendar_exchange.so
@so lib/asterisk/modules/res_calendar_icalendar.so

View File

@ -0,0 +1,2 @@
@option is-branch
@so lib/asterisk/modules/res_http_post.so

View File

@ -0,0 +1,2 @@
@option is-branch
@so lib/asterisk/modules/res_timing_kqueue.so

View File

@ -0,0 +1,6 @@
@option is-branch
@so lib/asterisk/modules/res_config_ldap.so
share/examples/asterisk/asterisk.ldap-schema
share/examples/asterisk/asterisk.ldif
share/examples/asterisk/default/res_ldap.conf
@sample ${SYSCONFDIR}/asterisk/res_ldap.conf

View File

@ -0,0 +1,4 @@
@option is-branch
@so lib/asterisk/modules/pbx_lua.so
share/examples/asterisk/default/extensions.lua
@sample ${SYSCONFDIR}/asterisk/extensions.lua

View File

@ -0,0 +1,779 @@
@option is-branch
@ask-update asterisk-*-imap IMAP voicemail moved from a flavour to an optional module. Install asterisk-vm_imap and enable in modules.conf
@newgroup _asterisk:545
@newuser _asterisk:545:_asterisk:daemon:asterisk user:/nonexistent:/sbin/nologin
@rcscript ${RCDIR}/asterisk
include/asterisk/
include/asterisk.h
include/asterisk/_private.h
include/asterisk/abstract_jb.h
include/asterisk/acl.h
include/asterisk/adsi.h
include/asterisk/ael_structs.h
include/asterisk/agi.h
include/asterisk/alaw.h
include/asterisk/alertpipe.h
include/asterisk/aoc.h
include/asterisk/app.h
include/asterisk/ari.h
include/asterisk/ast_expr.h
include/asterisk/ast_version.h
include/asterisk/astdb.h
include/asterisk/astmm.h
include/asterisk/astobj2.h
include/asterisk/audiohook.h
include/asterisk/autochan.h
include/asterisk/autoconfig.h
include/asterisk/backtrace.h
include/asterisk/beep.h
include/asterisk/bridge.h
include/asterisk/bridge_after.h
include/asterisk/bridge_basic.h
include/asterisk/bridge_channel.h
include/asterisk/bridge_channel_internal.h
include/asterisk/bridge_features.h
include/asterisk/bridge_internal.h
include/asterisk/bridge_roles.h
include/asterisk/bridge_technology.h
include/asterisk/bucket.h
include/asterisk/build.h
include/asterisk/buildinfo.h
include/asterisk/buildopts.h
include/asterisk/calendar.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/ccss.h
include/asterisk/cdr.h
include/asterisk/cel.h
include/asterisk/celt.h
include/asterisk/channel.h
include/asterisk/channel_internal.h
include/asterisk/channelstate.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/codec.h
include/asterisk/compat.h
include/asterisk/compiler.h
include/asterisk/config.h
include/asterisk/config_options.h
include/asterisk/conversions.h
include/asterisk/core_local.h
include/asterisk/core_unreal.h
include/asterisk/crypto.h
include/asterisk/data_buffer.h
include/asterisk/datastore.h
include/asterisk/devicestate.h
include/asterisk/dial.h
include/asterisk/dlinkedlists.h
include/asterisk/dns.h
include/asterisk/dns_core.h
include/asterisk/dns_internal.h
include/asterisk/dns_naptr.h
include/asterisk/dns_query_set.h
include/asterisk/dns_recurring.h
include/asterisk/dns_resolver.h
include/asterisk/dns_srv.h
include/asterisk/dns_test.h
include/asterisk/dns_tlsa.h
include/asterisk/dns_txt.h
include/asterisk/dnsmgr.h
include/asterisk/doxygen/
include/asterisk/doxygen/architecture.h
include/asterisk/doxygen/licensing.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
include/asterisk/endian.h
include/asterisk/endpoints.h
include/asterisk/enum.h
include/asterisk/event.h
include/asterisk/event_defs.h
include/asterisk/extconf.h
include/asterisk/features.h
include/asterisk/features_config.h
include/asterisk/file.h
include/asterisk/format.h
include/asterisk/format_cache.h
include/asterisk/format_cap.h
include/asterisk/format_compatibility.h
include/asterisk/frame.h
include/asterisk/framehook.h
include/asterisk/fskmodem.h
include/asterisk/fskmodem_float.h
include/asterisk/fskmodem_int.h
include/asterisk/global_datastores.h
include/asterisk/hashtab.h
include/asterisk/heap.h
include/asterisk/http.h
include/asterisk/http_websocket.h
include/asterisk/ilbc.h
include/asterisk/image.h
include/asterisk/indications.h
include/asterisk/inline_api.h
include/asterisk/io.h
include/asterisk/iostream.h
include/asterisk/json.h
include/asterisk/linkedlists.h
include/asterisk/localtime.h
include/asterisk/lock.h
include/asterisk/logger.h
include/asterisk/logger_category.h
include/asterisk/manager.h
include/asterisk/max_forwards.h
include/asterisk/md5.h
include/asterisk/media_cache.h
include/asterisk/media_index.h
include/asterisk/message.h
include/asterisk/mixmonitor.h
include/asterisk/mod_format.h
include/asterisk/module.h
include/asterisk/monitor.h
include/asterisk/multicast_rtp.h
include/asterisk/musiconhold.h
include/asterisk/mwi.h
include/asterisk/named_locks.h
include/asterisk/netsock2.h
include/asterisk/network.h
include/asterisk/optional_api.h
include/asterisk/options.h
include/asterisk/opus.h
include/asterisk/parking.h
include/asterisk/paths.h
include/asterisk/pbx.h
include/asterisk/phoneprov.h
include/asterisk/pickup.h
include/asterisk/pktccops.h
include/asterisk/plc.h
include/asterisk/poll-compat.h
include/asterisk/presencestate.h
include/asterisk/privacy.h
include/asterisk/pval.h
include/asterisk/res_aeap.h
include/asterisk/res_aeap_message.h
include/asterisk/res_audiosocket.h
include/asterisk/res_fax.h
include/asterisk/res_geolocation.h
include/asterisk/res_hep.h
include/asterisk/res_mwi_external.h
include/asterisk/res_odbc_transaction.h
include/asterisk/res_pjproject.h
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_body_generator_types.h
include/asterisk/res_pjsip_cli.h
include/asterisk/res_pjsip_outbound_publish.h
include/asterisk/res_pjsip_presence_xml.h
include/asterisk/res_pjsip_pubsub.h
include/asterisk/res_pjsip_session.h
include/asterisk/res_pjsip_session_caps.h
include/asterisk/res_prometheus.h
include/asterisk/res_srtp.h
include/asterisk/res_stir_shaken.h
include/asterisk/rtp_engine.h
include/asterisk/say.h
include/asterisk/sched.h
include/asterisk/sdp_srtp.h
include/asterisk/security_events.h
include/asterisk/security_events_defs.h
include/asterisk/select.h
include/asterisk/sem.h
include/asterisk/serializer.h
include/asterisk/sha1.h
include/asterisk/silk.h
include/asterisk/sip_api.h
include/asterisk/slin.h
include/asterisk/slinfactory.h
include/asterisk/smdi.h
include/asterisk/smoother.h
include/asterisk/sorcery.h
include/asterisk/sounds_index.h
include/asterisk/speech.h
include/asterisk/spinlock.h
include/asterisk/srv.h
include/asterisk/stasis.h
include/asterisk/stasis_app.h
include/asterisk/stasis_app_device_state.h
include/asterisk/stasis_app_impl.h
include/asterisk/stasis_app_mailbox.h
include/asterisk/stasis_app_playback.h
include/asterisk/stasis_app_recording.h
include/asterisk/stasis_app_snoop.h
include/asterisk/stasis_bridges.h
include/asterisk/stasis_cache_pattern.h
include/asterisk/stasis_channels.h
include/asterisk/stasis_endpoints.h
include/asterisk/stasis_internal.h
include/asterisk/stasis_message_router.h
include/asterisk/stasis_state.h
include/asterisk/stasis_system.h
include/asterisk/stasis_test.h
include/asterisk/statsd.h
include/asterisk/stream.h
include/asterisk/stringfields.h
include/asterisk/strings.h
include/asterisk/stun.h
include/asterisk/syslog.h
include/asterisk/taskprocessor.h
include/asterisk/tcptls.h
include/asterisk/tdd.h
include/asterisk/term.h
include/asterisk/test.h
include/asterisk/threadpool.h
include/asterisk/threadstorage.h
include/asterisk/time.h
include/asterisk/timing.h
include/asterisk/transcap.h
include/asterisk/translate.h
include/asterisk/udptl.h
include/asterisk/ulaw.h
include/asterisk/unaligned.h
include/asterisk/uri.h
include/asterisk/utf8.h
include/asterisk/utils.h
include/asterisk/uuid.h
include/asterisk/vector.h
include/asterisk/version.h
include/asterisk/xml.h
include/asterisk/xmldoc.h
include/asterisk/xmpp.h
lib/asterisk/
lib/asterisk/modules/
@so lib/asterisk/modules/app_adsiprog.so
@so lib/asterisk/modules/app_agent_pool.so
@so lib/asterisk/modules/app_alarmreceiver.so
@so lib/asterisk/modules/app_amd.so
@so lib/asterisk/modules/app_attended_transfer.so
@so lib/asterisk/modules/app_audiosocket.so
@so lib/asterisk/modules/app_authenticate.so
@so lib/asterisk/modules/app_blind_transfer.so
@so lib/asterisk/modules/app_bridgeaddchan.so
@so lib/asterisk/modules/app_bridgewait.so
@so lib/asterisk/modules/app_cdr.so
@so lib/asterisk/modules/app_celgenuserevent.so
@so lib/asterisk/modules/app_chanisavail.so
@so lib/asterisk/modules/app_channelredirect.so
@so lib/asterisk/modules/app_chanspy.so
@so lib/asterisk/modules/app_confbridge.so
@so lib/asterisk/modules/app_controlplayback.so
@so lib/asterisk/modules/app_db.so
@so lib/asterisk/modules/app_dial.so
@so lib/asterisk/modules/app_dictate.so
@so lib/asterisk/modules/app_directed_pickup.so
@so lib/asterisk/modules/app_directory.so
@so lib/asterisk/modules/app_disa.so
@so lib/asterisk/modules/app_dtmfstore.so
@so lib/asterisk/modules/app_dumpchan.so
@so lib/asterisk/modules/app_echo.so
@so lib/asterisk/modules/app_exec.so
@so lib/asterisk/modules/app_externalivr.so
@so lib/asterisk/modules/app_festival.so
@so lib/asterisk/modules/app_followme.so
@so lib/asterisk/modules/app_forkcdr.so
@so lib/asterisk/modules/app_getcpeid.so
@so lib/asterisk/modules/app_mf.so
@so lib/asterisk/modules/app_milliwatt.so
@so lib/asterisk/modules/app_minivm.so
@so lib/asterisk/modules/app_mixmonitor.so
@so lib/asterisk/modules/app_morsecode.so
@so lib/asterisk/modules/app_mp3.so
@so lib/asterisk/modules/app_originate.so
@so lib/asterisk/modules/app_page.so
@so lib/asterisk/modules/app_playback.so
@so lib/asterisk/modules/app_playtones.so
@so lib/asterisk/modules/app_privacy.so
@so lib/asterisk/modules/app_queue.so
@so lib/asterisk/modules/app_read.so
@so lib/asterisk/modules/app_readexten.so
@so lib/asterisk/modules/app_record.so
@so lib/asterisk/modules/app_reload.so
@so lib/asterisk/modules/app_sayunixtime.so
@so lib/asterisk/modules/app_senddtmf.so
@so lib/asterisk/modules/app_sendtext.so
@so lib/asterisk/modules/app_sf.so
@so lib/asterisk/modules/app_sms.so
@so lib/asterisk/modules/app_softhangup.so
@so lib/asterisk/modules/app_speech_utils.so
@so lib/asterisk/modules/app_stack.so
@so lib/asterisk/modules/app_stasis.so
@so lib/asterisk/modules/app_stream_echo.so
@so lib/asterisk/modules/app_system.so
@so lib/asterisk/modules/app_talkdetect.so
@so lib/asterisk/modules/app_test.so
@so lib/asterisk/modules/app_transfer.so
@so lib/asterisk/modules/app_userevent.so
@so lib/asterisk/modules/app_verbose.so
@so lib/asterisk/modules/app_voicemail.so
@so lib/asterisk/modules/app_waitforcond.so
@so lib/asterisk/modules/app_waitforring.so
@so lib/asterisk/modules/app_waitforsilence.so
@so lib/asterisk/modules/app_waituntil.so
@so lib/asterisk/modules/app_while.so
@so lib/asterisk/modules/app_zapateller.so
@so lib/asterisk/modules/bridge_builtin_features.so
@so lib/asterisk/modules/bridge_builtin_interval_features.so
@so lib/asterisk/modules/bridge_holding.so
@so lib/asterisk/modules/bridge_native_rtp.so
@so lib/asterisk/modules/bridge_simple.so
@so lib/asterisk/modules/bridge_softmix.so
@so lib/asterisk/modules/cdr_csv.so
@so lib/asterisk/modules/cdr_custom.so
@so lib/asterisk/modules/cdr_manager.so
@so lib/asterisk/modules/cdr_radius.so
@so lib/asterisk/modules/cdr_sqlite3_custom.so
@so lib/asterisk/modules/cel_custom.so
@so lib/asterisk/modules/cel_manager.so
@so lib/asterisk/modules/cel_radius.so
@so lib/asterisk/modules/cel_sqlite3_custom.so
@so lib/asterisk/modules/chan_audiosocket.so
@so lib/asterisk/modules/chan_bridge_media.so
@so lib/asterisk/modules/chan_console.so
@so lib/asterisk/modules/chan_iax2.so
@so lib/asterisk/modules/chan_motif.so
@so lib/asterisk/modules/chan_pjsip.so
@so lib/asterisk/modules/chan_rtp.so
@so lib/asterisk/modules/chan_unistim.so
@so lib/asterisk/modules/codec_a_mu.so
@so lib/asterisk/modules/codec_adpcm.so
@so lib/asterisk/modules/codec_alaw.so
@so lib/asterisk/modules/codec_g722.so
@so lib/asterisk/modules/codec_g726.so
@so lib/asterisk/modules/codec_gsm.so
@so lib/asterisk/modules/codec_ilbc.so
@so lib/asterisk/modules/codec_lpc10.so
@so lib/asterisk/modules/codec_resample.so
@so lib/asterisk/modules/codec_ulaw.so
@so lib/asterisk/modules/format_g719.so
@so lib/asterisk/modules/format_g723.so
@so lib/asterisk/modules/format_g726.so
@so lib/asterisk/modules/format_g729.so
@so lib/asterisk/modules/format_gsm.so
@so lib/asterisk/modules/format_h263.so
@so lib/asterisk/modules/format_h264.so
@so lib/asterisk/modules/format_ilbc.so
@so lib/asterisk/modules/format_ogg_vorbis.so
@so lib/asterisk/modules/format_pcm.so
@so lib/asterisk/modules/format_siren14.so
@so lib/asterisk/modules/format_siren7.so
@so lib/asterisk/modules/format_sln.so
@so lib/asterisk/modules/format_vox.so
@so lib/asterisk/modules/format_wav.so
@so lib/asterisk/modules/format_wav_gsm.so
@so lib/asterisk/modules/func_aes.so
@so lib/asterisk/modules/func_base64.so
@so lib/asterisk/modules/func_blacklist.so
@so lib/asterisk/modules/func_callcompletion.so
@so lib/asterisk/modules/func_callerid.so
@so lib/asterisk/modules/func_cdr.so
@so lib/asterisk/modules/func_channel.so
@so lib/asterisk/modules/func_config.so
@so lib/asterisk/modules/func_curl.so
@so lib/asterisk/modules/func_cut.so
@so lib/asterisk/modules/func_db.so
@so lib/asterisk/modules/func_devstate.so
@so lib/asterisk/modules/func_dialgroup.so
@so lib/asterisk/modules/func_dialplan.so
@so lib/asterisk/modules/func_enum.so
@so lib/asterisk/modules/func_env.so
@so lib/asterisk/modules/func_evalexten.so
@so lib/asterisk/modules/func_extstate.so
@so lib/asterisk/modules/func_frame_drop.so
@so lib/asterisk/modules/func_frame_trace.so
@so lib/asterisk/modules/func_global.so
@so lib/asterisk/modules/func_groupcount.so
@so lib/asterisk/modules/func_hangupcause.so
@so lib/asterisk/modules/func_holdintercept.so
@so lib/asterisk/modules/func_iconv.so
@so lib/asterisk/modules/func_jitterbuffer.so
@so lib/asterisk/modules/func_json.so
@so lib/asterisk/modules/func_lock.so
@so lib/asterisk/modules/func_logic.so
@so lib/asterisk/modules/func_math.so
@so lib/asterisk/modules/func_md5.so
@so lib/asterisk/modules/func_module.so
@so lib/asterisk/modules/func_periodic_hook.so
@so lib/asterisk/modules/func_pitchshift.so
@so lib/asterisk/modules/func_pjsip_aor.so
@so lib/asterisk/modules/func_pjsip_contact.so
@so lib/asterisk/modules/func_pjsip_endpoint.so
@so lib/asterisk/modules/func_presencestate.so
@so lib/asterisk/modules/func_rand.so
@so lib/asterisk/modules/func_realtime.so
@so lib/asterisk/modules/func_sayfiles.so
@so lib/asterisk/modules/func_scramble.so
@so lib/asterisk/modules/func_sha1.so
@so lib/asterisk/modules/func_shell.so
@so lib/asterisk/modules/func_sorcery.so
@so lib/asterisk/modules/func_sprintf.so
@so lib/asterisk/modules/func_srv.so
@so lib/asterisk/modules/func_strings.so
@so lib/asterisk/modules/func_sysinfo.so
@so lib/asterisk/modules/func_talkdetect.so
@so lib/asterisk/modules/func_timeout.so
@so lib/asterisk/modules/func_uri.so
@so lib/asterisk/modules/func_version.so
@so lib/asterisk/modules/func_vmcount.so
@so lib/asterisk/modules/func_volume.so
@so lib/asterisk/modules/pbx_ael.so
@so lib/asterisk/modules/pbx_config.so
@so lib/asterisk/modules/pbx_dundi.so
@so lib/asterisk/modules/pbx_loopback.so
@so lib/asterisk/modules/pbx_realtime.so
@so lib/asterisk/modules/pbx_spool.so
@so lib/asterisk/modules/res_adsi.so
@so lib/asterisk/modules/res_aeap.so
@so lib/asterisk/modules/res_ael_share.so
@so lib/asterisk/modules/res_agi.so
@so lib/asterisk/modules/res_ari.so
@so lib/asterisk/modules/res_ari_applications.so
@so lib/asterisk/modules/res_ari_asterisk.so
@so lib/asterisk/modules/res_ari_bridges.so
@so lib/asterisk/modules/res_ari_channels.so
@so lib/asterisk/modules/res_ari_device_states.so
@so lib/asterisk/modules/res_ari_endpoints.so
@so lib/asterisk/modules/res_ari_events.so
@so lib/asterisk/modules/res_ari_model.so
@so lib/asterisk/modules/res_ari_playbacks.so
@so lib/asterisk/modules/res_ari_recordings.so
@so lib/asterisk/modules/res_ari_sounds.so
@so lib/asterisk/modules/res_audiosocket.so
@so lib/asterisk/modules/res_clialiases.so
@so lib/asterisk/modules/res_clioriginate.so
@so lib/asterisk/modules/res_config_curl.so
@so lib/asterisk/modules/res_config_sqlite3.so
@so lib/asterisk/modules/res_convert.so
@so lib/asterisk/modules/res_crypto.so
@so lib/asterisk/modules/res_curl.so
@so lib/asterisk/modules/res_fax.so
@so lib/asterisk/modules/res_fax_spandsp.so
@so lib/asterisk/modules/res_format_attr_celt.so
@so lib/asterisk/modules/res_format_attr_g729.so
@so lib/asterisk/modules/res_format_attr_h263.so
@so lib/asterisk/modules/res_format_attr_h264.so
@so lib/asterisk/modules/res_format_attr_ilbc.so
@so lib/asterisk/modules/res_format_attr_opus.so
@so lib/asterisk/modules/res_format_attr_silk.so
@so lib/asterisk/modules/res_format_attr_siren14.so
@so lib/asterisk/modules/res_format_attr_siren7.so
@so lib/asterisk/modules/res_format_attr_vp8.so
@so lib/asterisk/modules/res_geolocation.so
@so lib/asterisk/modules/res_hep.so
@so lib/asterisk/modules/res_hep_pjsip.so
@so lib/asterisk/modules/res_hep_rtcp.so
@so lib/asterisk/modules/res_http_media_cache.so
@so lib/asterisk/modules/res_http_websocket.so
@so lib/asterisk/modules/res_limit.so
@so lib/asterisk/modules/res_manager_devicestate.so
@so lib/asterisk/modules/res_manager_presencestate.so
@so lib/asterisk/modules/res_musiconhold.so
@so lib/asterisk/modules/res_mutestream.so
@so lib/asterisk/modules/res_mwi_devstate.so
@so lib/asterisk/modules/res_parking.so
@so lib/asterisk/modules/res_phoneprov.so
@so lib/asterisk/modules/res_pjproject.so
@so lib/asterisk/modules/res_pjsip.so
@so lib/asterisk/modules/res_pjsip_acl.so
@so lib/asterisk/modules/res_pjsip_authenticator_digest.so
@so lib/asterisk/modules/res_pjsip_caller_id.so
@so lib/asterisk/modules/res_pjsip_config_wizard.so
@so lib/asterisk/modules/res_pjsip_dialog_info_body_generator.so
@so lib/asterisk/modules/res_pjsip_diversion.so
@so lib/asterisk/modules/res_pjsip_dlg_options.so
@so lib/asterisk/modules/res_pjsip_dtmf_info.so
@so lib/asterisk/modules/res_pjsip_empty_info.so
@so lib/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so
@so lib/asterisk/modules/res_pjsip_endpoint_identifier_ip.so
@so lib/asterisk/modules/res_pjsip_endpoint_identifier_user.so
@so lib/asterisk/modules/res_pjsip_exten_state.so
@so lib/asterisk/modules/res_pjsip_geolocation.so
@so lib/asterisk/modules/res_pjsip_header_funcs.so
@so lib/asterisk/modules/res_pjsip_history.so
@so lib/asterisk/modules/res_pjsip_logger.so
@so lib/asterisk/modules/res_pjsip_messaging.so
@so lib/asterisk/modules/res_pjsip_mwi.so
@so lib/asterisk/modules/res_pjsip_mwi_body_generator.so
@so lib/asterisk/modules/res_pjsip_nat.so
@so lib/asterisk/modules/res_pjsip_notify.so
@so lib/asterisk/modules/res_pjsip_one_touch_record_info.so
@so lib/asterisk/modules/res_pjsip_outbound_authenticator_digest.so
@so lib/asterisk/modules/res_pjsip_outbound_publish.so
@so lib/asterisk/modules/res_pjsip_outbound_registration.so
@so lib/asterisk/modules/res_pjsip_path.so
@so lib/asterisk/modules/res_pjsip_phoneprov_provider.so
@so lib/asterisk/modules/res_pjsip_pidf_body_generator.so
@so lib/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so
@so lib/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so
@so lib/asterisk/modules/res_pjsip_publish_asterisk.so
@so lib/asterisk/modules/res_pjsip_pubsub.so
@so lib/asterisk/modules/res_pjsip_refer.so
@so lib/asterisk/modules/res_pjsip_registrar.so
@so lib/asterisk/modules/res_pjsip_rfc3326.so
@so lib/asterisk/modules/res_pjsip_sdp_rtp.so
@so lib/asterisk/modules/res_pjsip_send_to_voicemail.so
@so lib/asterisk/modules/res_pjsip_session.so
@so lib/asterisk/modules/res_pjsip_sips_contact.so
@so lib/asterisk/modules/res_pjsip_stir_shaken.so
@so lib/asterisk/modules/res_pjsip_t38.so
@so lib/asterisk/modules/res_pjsip_transport_websocket.so
@so lib/asterisk/modules/res_pjsip_xpidf_body_generator.so
@so lib/asterisk/modules/res_prometheus.so
@so lib/asterisk/modules/res_realtime.so
@so lib/asterisk/modules/res_resolver_unbound.so
@so lib/asterisk/modules/res_rtp_asterisk.so
@so lib/asterisk/modules/res_rtp_multicast.so
@so lib/asterisk/modules/res_security_log.so
@so lib/asterisk/modules/res_smdi.so
@so lib/asterisk/modules/res_sorcery_astdb.so
@so lib/asterisk/modules/res_sorcery_config.so
@so lib/asterisk/modules/res_sorcery_memory.so
@so lib/asterisk/modules/res_sorcery_memory_cache.so
@so lib/asterisk/modules/res_sorcery_realtime.so
@so lib/asterisk/modules/res_speech.so
@so lib/asterisk/modules/res_speech_aeap.so
@so lib/asterisk/modules/res_srtp.so
@so lib/asterisk/modules/res_stasis.so
@so lib/asterisk/modules/res_stasis_answer.so
@so lib/asterisk/modules/res_stasis_device_state.so
@so lib/asterisk/modules/res_stasis_playback.so
@so lib/asterisk/modules/res_stasis_recording.so
@so lib/asterisk/modules/res_stasis_snoop.so
@so lib/asterisk/modules/res_statsd.so
@so lib/asterisk/modules/res_stir_shaken.so
@so lib/asterisk/modules/res_stun_monitor.so
@so lib/asterisk/modules/res_timing_pthread.so
@so lib/asterisk/modules/res_tonedetect.so
@so lib/asterisk/modules/res_xmpp.so
@comment lib/libasteriskpj.so
@lib lib/libasteriskpj.so.${LIBasteriskpj_VERSION}
@comment lib/libasteriskssl.so
@lib lib/libasteriskssl.so.${LIBasteriskssl_VERSION}
lib/pkgconfig/asterisk.pc
@man man/man8/astdb2bdb.8
@man man/man8/astdb2sqlite3.8
@man man/man8/asterisk.8
@man man/man8/astgenkey.8
@comment @man man/man8/autosupport.8
@man man/man8/safe_asterisk.8
@bin sbin/astcanary
@bin sbin/astdb2bdb
@bin sbin/astdb2sqlite3
@bin sbin/asterisk
sbin/astgenkey
sbin/astversion
@comment sbin/autosupport
sbin/rasterisk
sbin/safe_asterisk
share/asterisk/agi-bin/
share/asterisk/documentation/
share/asterisk/documentation/appdocsxml.dtd
share/asterisk/documentation/appdocsxml.xslt
share/asterisk/documentation/core-en_US.xml
share/asterisk/documentation/thirdparty/
share/asterisk/firmware/
share/asterisk/firmware/iax/
share/asterisk/images/
share/asterisk/images/asterisk-intro.jpg
share/asterisk/images/kpad2.jpg
share/asterisk/keys/
share/asterisk/keys/stir_shaken/
share/asterisk/phoneprov/
share/asterisk/phoneprov/000000000000-directory.xml
share/asterisk/phoneprov/000000000000-phone.cfg
share/asterisk/phoneprov/000000000000.cfg
share/asterisk/phoneprov/polycom.xml
share/asterisk/phoneprov/polycom_line.xml
share/asterisk/phoneprov/snom-mac.xml
share/asterisk/rest-api/
share/asterisk/rest-api/applications.json
share/asterisk/rest-api/asterisk.json
share/asterisk/rest-api/bridges.json
share/asterisk/rest-api/channels.json
share/asterisk/rest-api/deviceStates.json
share/asterisk/rest-api/endpoints.json
share/asterisk/rest-api/events.json
share/asterisk/rest-api/mailboxes.json
share/asterisk/rest-api/playbacks.json
share/asterisk/rest-api/recordings.json
share/asterisk/rest-api/resources.json
share/asterisk/rest-api/sounds.json
share/asterisk/scripts/
share/asterisk/scripts/ast_coredumper
share/asterisk/scripts/ast_logescalator
share/asterisk/scripts/ast_loggrabber
share/asterisk/scripts/refcounter.py
share/asterisk/scripts/reflocks.py
share/asterisk/scripts/refstats.py
share/asterisk/static-http/
share/asterisk/static-http/ajamdemo.html
share/asterisk/static-http/appdocsxml.xslt
share/asterisk/static-http/astman.css
share/asterisk/static-http/astman.js
share/asterisk/static-http/core-en_US.xml
share/asterisk/static-http/mantest.html
share/asterisk/static-http/prototype.js
share/asterisk/third-party/
share/doc/asterisk/
share/doc/asterisk/BUGS
share/doc/asterisk/CHANGES
share/doc/asterisk/COPYING
share/doc/asterisk/CREDITS
share/doc/asterisk/ChangeLog
share/doc/asterisk/IAX2-security.pdf
share/doc/asterisk/IAX2-security.txt
share/doc/asterisk/LICENSE
share/doc/asterisk/README-SERIOUSLY.bestpractices.md
share/doc/asterisk/README-addons.txt
share/doc/asterisk/README.md
share/doc/asterisk/README.txt
share/doc/asterisk/UPGRADE.txt
share/doc/pkg-readmes/${PKGSTEM}
share/examples/asterisk/
@mode 750
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/
@mode
@group
share/examples/asterisk/basic-pbx/
share/examples/asterisk/basic-pbx/README
share/examples/asterisk/basic-pbx/asterisk.conf
share/examples/asterisk/basic-pbx/cdr.conf
share/examples/asterisk/basic-pbx/cdr_custom.conf
share/examples/asterisk/basic-pbx/confbridge.conf
share/examples/asterisk/basic-pbx/extensions.conf
share/examples/asterisk/basic-pbx/indications.conf
share/examples/asterisk/basic-pbx/logger.conf
share/examples/asterisk/basic-pbx/modules.conf
share/examples/asterisk/basic-pbx/musiconhold.conf
share/examples/asterisk/basic-pbx/pjsip.conf
share/examples/asterisk/basic-pbx/pjsip_notify.conf
share/examples/asterisk/basic-pbx/queues.conf
share/examples/asterisk/basic-pbx/voicemail.conf
share/examples/asterisk/default/
share/examples/asterisk/default/acl.conf
share/examples/asterisk/default/adsi.conf
share/examples/asterisk/default/aeap.conf
share/examples/asterisk/default/agents.conf
share/examples/asterisk/default/alarmreceiver.conf
@comment share/examples/asterisk/default/alsa.conf
share/examples/asterisk/default/amd.conf
@comment share/examples/asterisk/default/app_mysql.conf
share/examples/asterisk/default/app_skel.conf
share/examples/asterisk/default/ari.conf
share/examples/asterisk/default/ast_debug_tools.conf
share/examples/asterisk/default/asterisk.adsi
share/examples/asterisk/default/asterisk.conf
@sample ${SYSCONFDIR}/asterisk/asterisk.conf
share/examples/asterisk/default/calendar.conf
share/examples/asterisk/default/ccss.conf
share/examples/asterisk/default/cdr.conf
share/examples/asterisk/default/cdr_beanstalkd.conf
share/examples/asterisk/default/cdr_custom.conf
share/examples/asterisk/default/cdr_manager.conf
@comment share/examples/asterisk/default/cdr_mysql.conf
share/examples/asterisk/default/cdr_sqlite3_custom.conf
@comment share/examples/asterisk/default/cdr_tds.conf
share/examples/asterisk/default/cel.conf
share/examples/asterisk/default/cel_beanstalkd.conf
share/examples/asterisk/default/cel_custom.conf
share/examples/asterisk/default/cel_sqlite3_custom.conf
@comment share/examples/asterisk/default/cel_tds.conf
@comment share/examples/asterisk/default/chan_dahdi.conf
@comment share/examples/asterisk/default/chan_mobile.conf
share/examples/asterisk/default/cli.conf
@sample ${SYSCONFDIR}/asterisk/cli.conf
share/examples/asterisk/default/cli_aliases.conf
@sample ${SYSCONFDIR}/asterisk/cli_aliases.conf
share/examples/asterisk/default/cli_permissions.conf
share/examples/asterisk/default/codecs.conf
share/examples/asterisk/default/confbridge.conf
share/examples/asterisk/default/config_test.conf
share/examples/asterisk/default/console.conf
@sample ${SYSCONFDIR}/asterisk/console.conf
share/examples/asterisk/default/dbsep.conf
share/examples/asterisk/default/dnsmgr.conf
share/examples/asterisk/default/dsp.conf
share/examples/asterisk/default/dundi.conf
share/examples/asterisk/default/enum.conf
share/examples/asterisk/default/extconfig.conf
@sample ${SYSCONFDIR}/asterisk/extconfig.conf
share/examples/asterisk/default/extensions.ael
share/examples/asterisk/default/extensions.conf
share/examples/asterisk/default/extensions_minivm.conf
share/examples/asterisk/default/features.conf
share/examples/asterisk/default/festival.conf
share/examples/asterisk/default/followme.conf
share/examples/asterisk/default/geolocation.conf
share/examples/asterisk/default/hep.conf
share/examples/asterisk/default/http.conf
share/examples/asterisk/default/iax.conf
share/examples/asterisk/default/iaxprov.conf
share/examples/asterisk/default/indications.conf
@sample ${SYSCONFDIR}/asterisk/indications.conf
share/examples/asterisk/default/logger.conf
share/examples/asterisk/default/manager.conf
@comment share/examples/asterisk/default/meetme.conf
share/examples/asterisk/default/mgcp.conf
share/examples/asterisk/default/minivm.conf
@comment share/examples/asterisk/default/misdn.conf
share/examples/asterisk/default/modules.conf
share/examples/asterisk/default/motif.conf
share/examples/asterisk/default/musiconhold.conf
@comment share/examples/asterisk/default/ooh323.conf
share/examples/asterisk/default/osp.conf
@comment share/examples/asterisk/default/oss.conf
share/examples/asterisk/default/phoneprov.conf
share/examples/asterisk/default/pjproject.conf
share/examples/asterisk/default/pjsip.conf
share/examples/asterisk/default/pjsip_notify.conf
share/examples/asterisk/default/pjsip_wizard.conf
share/examples/asterisk/default/prometheus.conf
share/examples/asterisk/default/queuerules.conf
share/examples/asterisk/default/queues.conf
@comment share/examples/asterisk/default/res_config_mysql.conf
share/examples/asterisk/default/res_config_sqlite3.conf
share/examples/asterisk/default/res_corosync.conf
share/examples/asterisk/default/res_curl.conf
share/examples/asterisk/default/res_fax.conf
share/examples/asterisk/default/res_parking.conf
share/examples/asterisk/default/res_pktccops.conf
share/examples/asterisk/default/res_stun_monitor.conf
share/examples/asterisk/default/resolver_unbound.conf
share/examples/asterisk/default/rtp.conf
share/examples/asterisk/default/say.conf
share/examples/asterisk/default/sip.conf
share/examples/asterisk/default/sip_notify.conf
share/examples/asterisk/default/skinny.conf
share/examples/asterisk/default/sla.conf
share/examples/asterisk/default/smdi.conf
share/examples/asterisk/default/sorcery.conf
share/examples/asterisk/default/ss7.timers
share/examples/asterisk/default/stasis.conf
share/examples/asterisk/default/statsd.conf
share/examples/asterisk/default/stir_shaken.conf
share/examples/asterisk/default/telcordia-1.adsi
share/examples/asterisk/default/test_sorcery.conf
share/examples/asterisk/default/udptl.conf
share/examples/asterisk/default/unistim.conf
share/examples/asterisk/default/users.conf
share/examples/asterisk/default/voicemail.conf
@comment share/examples/asterisk/default/vpb.conf
share/examples/asterisk/default/xmpp.conf
@mode 750
@owner _asterisk
@sample ${LOCALSTATEDIR}/cache/asterisk/
@sample ${LOCALSTATEDIR}/spool/asterisk/
@sample ${LOCALSTATEDIR}/spool/asterisk/dictate/
@sample ${LOCALSTATEDIR}/spool/asterisk/meetme/
@sample ${LOCALSTATEDIR}/spool/asterisk/monitor/
@sample ${LOCALSTATEDIR}/spool/asterisk/outgoing/
@sample ${LOCALSTATEDIR}/spool/asterisk/system/
@sample ${LOCALSTATEDIR}/spool/asterisk/tmp/
@mode 770
@owner root
@sample ${LOCALSTATEDIR}/db/asterisk/
@sample ${LOCALSTATEDIR}/log/asterisk/
@sample ${LOCALSTATEDIR}/log/asterisk/cdr-csv/
@sample ${LOCALSTATEDIR}/log/asterisk/cdr-custom/
@sample ${LOCALSTATEDIR}/spool/asterisk/voicemail/
@mode 755
@owner _asterisk
@sample ${LOCALSTATEDIR}/spool/asterisk/voicemail/default/
@sample ${LOCALSTATEDIR}/spool/asterisk/voicemail/default/1234/

View File

@ -0,0 +1,40 @@
@option is-branch
include/asterisk/res_odbc.h
@so lib/asterisk/modules/cdr_adaptive_odbc.so
@so lib/asterisk/modules/cdr_odbc.so
@so lib/asterisk/modules/cel_odbc.so
@so lib/asterisk/modules/func_odbc.so
@so lib/asterisk/modules/res_config_odbc.so
@so lib/asterisk/modules/res_odbc.so
@so lib/asterisk/modules/res_odbc_transaction.so
share/examples/asterisk/default/cdr_adaptive_odbc.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/cdr_adaptive_odbc.conf
@mode
@owner
@group
share/examples/asterisk/default/cdr_odbc.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/cdr_odbc.conf
@mode
@owner
@group
share/examples/asterisk/default/cel_odbc.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/cel_odbc.conf
@mode
@owner
@group
share/examples/asterisk/default/func_odbc.conf
@sample ${SYSCONFDIR}/asterisk/func_odbc.conf
share/examples/asterisk/default/res_odbc.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/res_odbc.conf

View File

@ -0,0 +1,25 @@
@option is-branch
@so lib/asterisk/modules/cdr_pgsql.so
@so lib/asterisk/modules/cel_pgsql.so
@so lib/asterisk/modules/res_config_pgsql.so
share/examples/asterisk/default/cdr_pgsql.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/cdr_pgsql.conf
@mode
@owner
@group
share/examples/asterisk/default/cel_pgsql.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/cel_pgsql.conf
@mode
@owner
@group
share/examples/asterisk/default/res_pgsql.conf
@mode 640
@owner root
@group _asterisk
@sample ${SYSCONFDIR}/asterisk/res_pgsql.conf

View File

@ -0,0 +1,4 @@
@option is-branch
@so lib/asterisk/modules/res_snmp.so
share/examples/asterisk/default/res_snmp.conf
@sample ${SYSCONFDIR}/asterisk/res_snmp.conf

View File

@ -0,0 +1,4 @@
@option is-branch
@so lib/asterisk/modules/codec_speex.so
@so lib/asterisk/modules/format_ogg_speex.so
@so lib/asterisk/modules/func_speex.so

View File

@ -0,0 +1,7 @@
@option is-branch
@so lib/asterisk/modules/cdr_tds.so
@so lib/asterisk/modules/cel_tds.so
share/examples/asterisk/default/cdr_tds.conf
@sample ${SYSCONFDIR}/asterisk/cdr_tds.conf
share/examples/asterisk/default/cel_tds.conf
@sample ${SYSCONFDIR}/asterisk/cel_tds.conf

View File

@ -0,0 +1,2 @@
@option is-branch
@so lib/asterisk/modules/app_voicemail_imap.so

View File

@ -0,0 +1,2 @@
@option is-branch
@so lib/asterisk/modules/app_voicemail_odbc.so

View File

@ -0,0 +1,25 @@
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
Configuration
=============
There are several different example configurations provided with this
packages:
${PREFIX}/share/examples/asterisk/default - Asterisk's standard sample
configuration files. These are undoubtedly useful as a reference,
but rather large, and awkward to use as a base for your own configuration.
${PREFIX}/share/examples/asterisk/basic-pbx - an Asterisk-provided example
of a basic pbx implementation for a fictitious company.
Asterisk logs to /var/log/asterisk/messages by default; log rotation
can be handled by adding a line like the following to /etc/newsyslog.conf:
/var/log/asterisk/messages 640 5 1000 * Z "asterisk -rx 'logger reload'"
Documentation
=============
See https://www.asterisk.org/community/documentation/ and
https://wiki.asterisk.org/wiki/display/AST/Asterisk+${MAJV}+Documentation

View File

@ -0,0 +1,17 @@
#!/bin/ksh
daemon="${TRUEPREFIX}/sbin/asterisk"
. /etc/rc.d/rc.subr
pexp="${daemon}.*"
rc_start() {
rc_exec "${TRUEPREFIX}/sbin/safe_asterisk"
}
rc_stop() {
${daemon} -rx "core stop now"
}
rc_cmd $1

View File

@ -2,5 +2,6 @@ SUBDIR =
SUBDIR += 16
SUBDIR += 18
SUBDIR += 19
SUBDIR += 20
.include <bsd.port.subdir.mk>