Commit Graph

30820 Commits

Author SHA1 Message Date
Joshua Colp
fcf9494112 Merge "BuildSystem: Allow newer autotools on OpenBSD." 2018-02-20 06:20:52 -06:00
Jenkins2
fd353237f0 Merge "config: Fix locking for extconfig reload." 2018-02-20 06:14:08 -06:00
Joshua Colp
c1d523c7b3 Merge "BuildSystem: Use single bootstrap.sh for Asterisk and menuselect." 2018-02-20 05:11:29 -06:00
Joshua Colp
7baaed0d3f Merge "BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD." 2018-02-20 05:11:14 -06:00
Corey Farrell
0ad13949c1 doc/lang/language-criteria.txt: Link to wiki.
This document is out of date and is superseded by content on the
Asterisk wiki.

ASTERISK-24386 #close

Change-Id: Idbf95b27b096c205251e1bbb560c79224ba81822
2018-02-20 04:32:44 -06:00
Jenkins2
ff4351952b Merge "optional_api: Refactor to use vector's and standard allocators." 2018-02-19 20:40:20 -06:00
Jenkins2
fbe2f1fe01 Merge "rtp_engine: Load format name / mime type in uppercase again." 2018-02-19 20:00:24 -06:00
Jenkins2
5bbd68298d Merge "install_prereq: Update OpenBSD libraries." 2018-02-19 19:19:32 -06:00
Jenkins2
699403e4a3 Merge "BuildSystem: Enable IMAP storage on OpenBSD." 2018-02-19 18:09:11 -06:00
Jenkins2
c80ecbc5ae Merge "res_pjsip_header_funcs: Various cleanups" 2018-02-19 18:02:32 -06:00
Jenkins2
f063ea650e Merge "res_pjsip: Use pjsip_sip_uri.user_param instead of other_param" 2018-02-19 08:54:56 -06:00
Thomas Guebels
4b555d7147 res_rtp_asterisk: Fix ICE candidate nomination
If the ICE role is not set right away, we might have a role conflict
that stays undetected and ICE finishing with successful tests and no
candidate nominated. This was introduced by ASTERISK-27088.

To avoid this, we set the role as soon as before but only if the ICE
state permits it: still checking and not yet nominating candidates or
completed.

ASTERISK-27646

Change-Id: I5dbc69ad63cacbb067922850fbb113d479bd729c
2018-02-19 07:38:02 -06:00
Sean Bright
8b18247af6 res_http_websocket: Don't leak memory on read failure
Change-Id: Ic449ea832bc81a1671c0e910c5fbe8c683e3da89
2018-02-19 07:24:51 -06:00
Jenkins2
ddc607f85a Merge "Deprecate legacy modules." 2018-02-19 06:59:00 -06:00
Jenkins2
15886d5833 Merge "manager: Add AMI event Load/Unload" 2018-02-19 06:43:27 -06:00
Jenkins2
cd222e3afa Merge "contrib/script/sip_to_pjsip: add support for realtime" 2018-02-19 06:33:24 -06:00
Jenkins2
42b262c4a0 Merge "res_pjsip: Endpoint destruction does not free DTLS configuration" 2018-02-19 06:23:35 -06:00
Corey Farrell
97c21e9cb3 core: Rename sounds_index.c to sounds.c.
This will make the source filename match the 'module reload sounds'
command.  This will allow conversion to a built-in module in Asterisk 16
without needing to redefine AST_MODULE.

Change-Id: Ifb8e489575b27eb33d8c0b6a531f266670557f6e
2018-02-19 04:21:23 -06:00
Corey Farrell
e03f0f9572 config: Fix locking for extconfig reload.
Expand locking to include full reload process for extconfig to ensure
nothing can read the config mappings between clearing and reloading.

Change-Id: I378316bad04f1b599ea82d0fef62b8978a644b92
2018-02-19 03:09:02 -06:00
Sean Bright
e4a5c9ccf4 res_pjsip_header_funcs: Various cleanups
* Prefer strcasecmp() over stricmp()
 * Use a list with no lock since we never actually lock
 * Minor cleanups to error messages

Change-Id: I8446f44795ee8f3072e1c1f9193c6912dfc0c42b
2018-02-18 08:07:17 -06:00
Alexander Traud
a70c92121d rtp_engine: Load format name / mime type in uppercase again.
This reverts a previous change partly.

ASTERISK-27689

Change-Id: Ia3d2f282db6995be8c1c253b5d52f6038761e8af
2018-02-17 15:49:15 +01:00
Corey Farrell
525c0251c0 BuildSystem: Use single bootstrap.sh for Asterisk and menuselect.
This causes the root bootstrap.sh script to generate configure scripts
for both Asterisk and menuselect.  This ensures that both configure
scripts are generated with the same version of autotools and avoids
situations where shared autoconf macros get modified without
regenerating the menuselect script.

Change-Id: I2bfd8537bbb63b3d46b11efabbb15eaaf9ef731a
2018-02-16 18:02:17 -06:00
Jenkins2
ba75d53669 Merge "bridge_roles: Use a non-locking linked list where appropriate" 2018-02-16 17:48:54 -06:00
Sean Bright
65a4084060 res_pjsip: Endpoint destruction does not free DTLS configuration
ASTERISK-27679 #close
Reported by: Mak Dee

Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
2018-02-16 13:38:21 -06:00
Alexander Traud
a7e7302ab6 install_prereq: Update OpenBSD libraries.
deleted
 jack sqlite

renamed
 freetds-0.63p1-msdblib to freetds
 mysql-client to mariadb-client

added
 bison bzip2 c-client doxygen e2fsprogs graphviz gsm libical jansson libltdl
 lua neon net-snmp libsrtp portaudio-svn postgresql-client python speexdsp
 subversion uriparser xmlstarlet
 fftw3 libsndfile

ASTERISK-27684

Change-Id: I26bdcb0a1d0e484a8dad1052da97f194aefd3370
2018-02-16 19:42:01 +01:00
Alexander Traud
14796f529e BuildSystem: Allow newer autotools on OpenBSD.
ASTERISK-27683

Change-Id: I5ec9dafbb0c16b6f2740c641980bc2eaaf995624
2018-02-16 19:30:45 +01:00
Jenkins2
77a85bfed7 Merge "res_calendar: Specialized calendars depend on symbols of general calendar." 2018-02-16 10:40:31 -06:00
Torrey Searle
976afd26ab contrib/script/sip_to_pjsip: add support for realtime
Add a new script that can read from legacy realtime peers & generate
an sql file for populating pjsip endpoints, identify, and aor records.

ASTERISK-27348 #close

Change-Id: Idd3d7968a3c9c3ee7936d21acbdaf001b429bf65
2018-02-16 09:27:32 -06:00
Jenkins2
4568894d2a Merge "BuildSystem: Invoke ldconfig with previous path." 2018-02-16 08:46:12 -06:00
Jenkins2
bb723711a6 Merge "BuildSystem: Enable system provided libedit on OpenBSD." 2018-02-16 08:02:30 -06:00
Alexander Traud
dda73c5018 BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.
Reported by: Stuart Henderson

Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
2018-02-16 14:52:36 +01:00
Jenkins2
062a83d5f8 Merge "BuildSystem: Remove chan_h323 leftovers." 2018-02-16 07:37:23 -06:00
Alexander Traud
5fd59014a5 res_calendar: Specialized calendars depend on symbols of general calendar.
ASTERISK-27680

Change-Id: Ifb77912e424fe3710a025c18526fada673ec0b79
2018-02-16 13:52:37 +01:00
Alexander Traud
c674efa996 BuildSystem: Enable IMAP storage on OpenBSD.
ASTERISK-27681
Reported by: Stuart Henderson

Change-Id: Ifb6b614acb251b695b9417d76510e73eb335b679
2018-02-16 13:41:35 +01:00
Alexander Traud
2c814afb86 BuildSystem: Enable system provided libedit on OpenBSD.
ASTERISK-27677

Change-Id: I0854e3616d1361ae9b6907d3d3444a02784ac62b
2018-02-16 11:57:18 +01:00
Sean Bright
af2dd3a678 bridge_roles: Use a non-locking linked list where appropriate
Also explicitly initialize with the AST_LIST_HEAD_NOLOCK_INIT macro for
clarity.

Change-Id: I4bc39ec33bc3ff77e1a971a01ace87deb965be3f
2018-02-15 14:31:32 -06:00
Sean Bright
303e43f8a6 res_pjsip: Use pjsip_sip_uri.user_param instead of other_param
There is a dedicated slot in the pjsip_sip_uri for the 'user'
parameter, so use that instead of adding to the list of generic URI
parameters.

Change-Id: I0a0ce8a60ecee27489735bf56fd707719d8c2ed6
2018-02-15 13:36:25 -06:00
Joshua Colp
be2292a2f5 Merge "BuildSystem: Do not warn when bash is not installed." 2018-02-15 06:17:47 -06:00
Jenkins2
d6147aa6a3 Merge "main/asterisk.c: Remove silly usage of RAII_VAR." 2018-02-14 12:55:18 -06:00
Alexander Traud
8ac198aff3 BuildSystem: Remove chan_h323 leftovers.
ASTERISK-27670

Change-Id: I07a8ef8bbd6001e25711fa1bff152eb6c9efa729
2018-02-14 09:28:29 +01:00
Alexander Traud
6b6b3ffa5b BuildSystem: Invoke ldconfig with previous path.
On OpenBSD, gmake uninstall{-all} registered only libraries from /usr/lib and
lost those from /usr/local/lib. Instead, invoke ldconfig on a path.

ASTERISK-27595

Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
2018-02-13 20:51:00 +01:00
Corey Farrell
9f74afbdcf Deprecate legacy modules.
* app_fax (replaced by res_fax).
* res_config_sqlite (replaced by res_config_sqlite3).
* res_monitor (replaced by app_mixmonitor).

This is related to ASTERISK~23657 but does not resolve that ticket.
Resolving that ticket would require complete removal of res_monitor.

ASTERISK-27671 #close

Change-Id: I16a3edd61fc1abd4a7b2e9357693ed663f62dd49
2018-02-13 13:56:03 -05:00
Alexander Traud
f9ba31bb21 BuildSystem: Do not warn when bash is not installed.
ASTERISK-27631

Change-Id: Iefdf268b0b98c3e7d8089ba87cf78136ac1d785b
2018-02-13 17:24:18 +01:00
Jenkins2
41a05aacc9 Merge "core: Remove embedded editline." 2018-02-13 08:22:28 -06:00
Jenkins2
cef73a027c Merge "chan_sip.c: Fix crash processing CANCEL." 2018-02-13 07:59:48 -06:00
Joshua Colp
d494cc1c88 Merge "json: Add conditionals to avoid locking if Jansson is thread safe." 2018-02-13 07:30:35 -06:00
Jenkins2
26a2cd3ab9 Merge "BuildSystem: Enable autotools in FreeBSD." 2018-02-13 07:07:59 -06:00
Joshua Colp
dfd5e77ee0 Merge "pjproject_bundled: Disable G.729 from Belledonne Communications." 2018-02-13 07:05:36 -06:00
Joshua Colp
83ec287c64 Merge "codecs: Add support for WebRTC iLBC 2.0." 2018-02-13 06:37:35 -06:00
Corey Farrell
9e45d3f893 main/asterisk.c: Remove silly usage of RAII_VAR.
Change-Id: I7e2996397fbd3c3a6a69dd805c38448ddfc34ae9
2018-02-12 22:15:34 -06:00