Commit Graph

29916 Commits

Author SHA1 Message Date
Jenkins2
21ff3c38c4 Merge "rtp_engine: Load format name / mime type in uppercase again." into 13 2018-02-19 19:48:00 -06:00
Jenkins2
b01f1d096b Merge "install_prereq: Update OpenBSD libraries." into 13 2018-02-19 18:58:12 -06:00
Jenkins2
cf6f0547c3 Merge "BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD." into 13 2018-02-19 18:31:29 -06:00
Jenkins2
c0f7da277a Merge "BuildSystem: Enable IMAP storage on OpenBSD." into 13 2018-02-19 18:20:00 -06:00
Jenkins2
e35152b550 Merge "res_pjsip_header_funcs: Various cleanups" into 13 2018-02-19 17:56:31 -06:00
Jenkins2
e34db67cfb Merge "res_pjsip: Use pjsip_sip_uri.user_param instead of other_param" into 13 2018-02-19 11:58:01 -06:00
Jenkins2
0fe38b7dfa Merge "res_pjsip: Endpoint destruction does not free DTLS configuration" into 13 2018-02-19 06:11:18 -06:00
Sean Bright
1a7ad4c9cf 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 09:07:17 -05:00
Alexander Traud
6eb22964ba rtp_engine: Load format name / mime type in uppercase again.
This reverts a previous change partly.

ASTERISK-27689

Change-Id: Ia3d2f282db6995be8c1c253b5d52f6038761e8af
2018-02-17 08:49:48 -06:00
Jenkins2
d09954b192 Merge "bridge_roles: Use a non-locking linked list where appropriate" into 13 2018-02-16 17:40:14 -06:00
Sean Bright
9ad9433257 res_pjsip: Endpoint destruction does not free DTLS configuration
ASTERISK-27679 #close
Reported by: Mak Dee

Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
2018-02-16 14:38:17 -05:00
Alexander Traud
c5e34f0794 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

ASTERISK-27684

Change-Id: I26bdcb0a1d0e484a8dad1052da97f194aefd3370
2018-02-16 19:44:53 +01:00
Richard Mudgett
421d4e9c7d Merge "res_calendar: Specialized calendars depend on symbols of general calendar." into 13 2018-02-16 10:55:10 -06:00
Jenkins2
bbc0ba07b1 Merge "contrib/script/sip_to_pjsip: add support for realtime" into 13 2018-02-16 10:16:40 -06:00
Jenkins2
626b5a7948 Merge "BuildSystem: Enable system provided libedit on OpenBSD." into 13 2018-02-16 08:16:45 -06:00
Alexander Traud
0ba6337d32 BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.
Reported by: Stuart Henderson

Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
2018-02-16 07:54:08 -06:00
Jenkins2
0e91eb23b2 Merge "BuildSystem: Remove chan_h323 leftovers." into 13 2018-02-16 07:48:53 -06:00
Jenkins2
ab4c3ea746 Merge "BuildSystem: Invoke ldconfig with previous path." into 13 2018-02-16 07:29:06 -06:00
Alexander Traud
58aa0d1014 BuildSystem: Enable IMAP storage on OpenBSD.
ASTERISK-27681
Reported by: Stuart Henderson

Change-Id: Ifb6b614acb251b695b9417d76510e73eb335b679
2018-02-16 06:42:28 -06:00
Alexander Traud
139dd38193 res_calendar: Specialized calendars depend on symbols of general calendar.
ASTERISK-27680

Change-Id: Ifb77912e424fe3710a025c18526fada673ec0b79
2018-02-16 05:59:15 -06:00
Alexander Traud
94ff290361 BuildSystem: Enable system provided libedit on OpenBSD.
ASTERISK-27677

Change-Id: I0854e3616d1361ae9b6907d3d3444a02784ac62b
2018-02-16 12:02:15 +01:00
Sean Bright
48acd5cd26 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 15:30:35 -05:00
Sean Bright
54efc0c637 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 14:36:26 -05:00
Jenkins2
fdf988cd28 Merge "BuildSystem: Do not warn when bash is not installed." into 13 2018-02-15 06:12:39 -06:00
Jenkins2
8212fd6bf4 Merge "main/asterisk.c: Remove silly usage of RAII_VAR." into 13 2018-02-14 12:43:48 -06:00
Alexander Traud
4a5221cd43 BuildSystem: Remove chan_h323 leftovers.
ASTERISK-27670

Change-Id: I07a8ef8bbd6001e25711fa1bff152eb6c9efa729
2018-02-14 09:31:36 +01:00
Alexander Traud
eabe72a679 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 14:02:25 -06:00
Alexander Traud
c2283fca21 BuildSystem: Do not warn when bash is not installed.
ASTERISK-27631

Change-Id: Iefdf268b0b98c3e7d8089ba87cf78136ac1d785b
2018-02-13 10:25:47 -06:00
Jenkins2
a81dfd5949 Merge "chan_sip.c: Fix crash processing CANCEL." into 13 2018-02-13 08:09:20 -06:00
Jenkins2
d9bf0de50e Merge "json: Add conditionals to avoid locking if Jansson is thread safe." into 13 2018-02-13 07:42:31 -06:00
Jenkins2
add4a70354 Merge "BuildSystem: Enable autotools in FreeBSD." into 13 2018-02-13 07:25:17 -06:00
Joshua Colp
f5e6a9a2d2 Merge "pjproject_bundled: Disable G.729 from Belledonne Communications." into 13 2018-02-13 06:38:11 -06:00
Jenkins2
58e9ed1c9c Merge "codecs: Add support for WebRTC iLBC 2.0." into 13 2018-02-13 06:29:17 -06:00
Corey Farrell
4e5d5b2ce2 main/asterisk.c: Remove silly usage of RAII_VAR.
Change-Id: I7e2996397fbd3c3a6a69dd805c38448ddfc34ae9
2018-02-12 23:04:26 -05:00
Richard Mudgett
ba63dad12d chan_sip.c: Fix crash processing CANCEL.
Check if initreq data string exists before using it when processing a
CANCEL request.

ASTERISK-27666

Change-Id: Id1d0f0fa4ec94e81b332b2973d93e5a14bb4cc97
2018-02-12 20:57:28 -06:00
Corey Farrell
6c72c22d51 json: Add conditionals to avoid locking if Jansson is thread safe.
Jansson is thread safe for all read-only functions and reference
counting starting v2.11.  This allows simplification of our code and
removal of locking around reference counting and dumping.

Change-Id: Id985cb3ffa6681f9ac765642e20fcd187bd4aeee
2018-02-12 12:27:19 -06:00
Jenkins2
a62fcfa17b Merge "install_prereq: Update Debian/Ubuntu libraries." into 13 2018-02-12 09:53:49 -06:00
Jenkins2
f16a623ac0 Merge "cdr.c: Fix runtime leak of CDR records." into 13 2018-02-12 09:35:30 -06:00
Alexander Traud
0ab97e9774 pjproject_bundled: Disable G.729 from Belledonne Communications.
When <http://github.com/BelledonneCommunications/bcg729> is installed, PJProject
tries to link that. Support for this bcg729 was added with PJProject 2.7. The
issue happens, because Teluu enabled that new feature on default.

ASTERISK-27584
Reported by: Stuart Henderson

Change-Id: I88b6b18ad777bcfe2d8201187b4b90eec0a172a6
2018-02-12 06:21:37 -06:00
Alexander Traud
81bec7c359 codecs: Add support for WebRTC iLBC 2.0.
When the latest version of that library was installed, Asterisk did not build.

ASTERISK-27669
Reported by: Николай Михо

Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96
2018-02-12 05:39:49 -06:00
Alexander Traud
b1c6a644d3 backtrace: Avoid potential spurious output.
clang 4.0 found this via -Wlogical-not-parentheses.

ASTERISK-27642

Change-Id: I9ec3e144d425a976c02811bd23cd0c533d2eca4e
2018-02-10 07:56:28 -06:00
Alexander Traud
21bd7421ef install_prereq: Update Debian/Ubuntu libraries.
ASTERISK-27555

Change-Id: Idc36e91db30c0163c560d04c5a82bca5d6ce92a8
2018-02-10 06:55:53 -06:00
Richard Mudgett
dcfcf310a1 cdr.c: Fix runtime leak of CDR records.
Need to remove all CDR's listed by a CDR object from the active_cdrs_all
container including the root/master record.

ASTERISK-27656

Change-Id: I48b4970663fea98baa262593d2204ef304aaf80e
2018-02-09 14:25:25 -06:00
Oron Peled
0fc3e831a7 chan_console: don't read and write at the same time
It seems that the ALSA backend of PortAudio doesn't know how to both
read and write at the same time by adding a per-device mutex.

FIXME: currently only a draft version. Need to either auto-detect
we work with the ALSA backend or add an extra configuration option
to use this mutex.

ASTERISK-27426 #close

Change-Id: I635eacee45f5413faa18f5a3b606af03b926dacb
2018-02-08 06:55:30 -06:00
Jenkins2
42290f9a45 Merge "app_confbridge: ConfbridgeList event has standard channel shapshot headers." into 13 2018-02-07 06:06:53 -06:00
Jenkins2
0fcdece2a1 Merge "app_confbridge: Add the Muted header to ConfbridgeJoin AMI event." into 13 2018-02-07 05:49:41 -06:00
Jenkins2
5c98924d64 Merge "endpoint identifiers: Some code cleanup." into 13 2018-02-06 05:30:45 -06:00
Jenkins2
e3a2b699db Merge "res_pjsip/config_domain_aliases.c: Add check for missing domain." into 13 2018-02-05 16:01:28 -06:00
Richard Mudgett
da987df122 res_pjsip/config_domain_aliases.c: Add check for missing domain.
What is the point of defining an alias and not saying what is being
aliased?

Change-Id: I98a892016ed61dcf5efeb6619fd748925103f0be
2018-02-05 14:01:15 -06:00
Richard Mudgett
1ff580bb25 app_confbridge: ConfbridgeList event has standard channel shapshot headers.
* Made the AMI ConfbridgeList action's ConfbridgeList events output all
the standard channel snapshot headers instead of a few hand-coded channel
snapshot headers.  The benefit is that the CallerIDName gets disruptive
characters like CR, LF, Tab, and a few others escaped.  However, an empty
CallerIDName is now output as "<unknown>" instead of "<no name>".

ASTERISK-27651

Change-Id: Iaf7d54a9d40194c2db060bc9b4979fab6720d977
2018-02-05 13:38:34 -06:00