Commit Graph

29858 Commits

Author SHA1 Message Date
Alexander Traud
420586beab res_config_mysql: Avoid the header mysql_version.h.
ASTERISK-27607

Change-Id: I23d00ded955c4afd5f2c3c9dc96dcb48b3f74eec
2018-01-22 09:19:55 -06:00
Jenkins2
25adeb120a Merge "BuildSystem: Allow make clean all again." into 13 2018-01-22 09:16:10 -06:00
Jenkins2
38d2a5fd7b Merge "BuildSystem: Remove orphaned .PHONY targets." into 13 2018-01-22 09:04:34 -06:00
Alexander Traud
d5a24cfdf7 install_prereq: For PJProject, point users to configure script.
The installation script and the new configure option --with-pjproject-bundled
aimed to accomplish the same. However, the installation script was out of
date. Users should go for the maintained configure option, or the Wiki.

ASTERISK-24598

Change-Id: Icbf4b562f81f7c05bd24a3805bd46c0beb4ebd44
2018-01-22 09:01:41 -06:00
Jenkins2
32486dd40d Merge "res_pjsip: Document tlsv1_1 and tlsv1_2 methods" into 13 2018-01-22 08:16:52 -06:00
Alexander Traud
31e5008b47 BuildSystem: Remove AC_CONFIG_AUX_DIR.
ASTERISK-27602

Change-Id: I9f4d3d2bc1481748e39ad1e2b0a364d38e38978b
2018-01-20 13:00:36 -06:00
Jenkins2
579dd18eb7 Merge "BuildSystem: Detect external library Lua in version 5.3." into 13 2018-01-19 15:57:52 -06:00
Alexander Traud
ffb7b62019 BuildSystem: Remove orphaned .PHONY targets.
Change-Id: Ic44d75141b9bf99e7d72fcc82ee111b5cf6989d2
2018-01-19 12:22:32 -06:00
Alexander Traud
3b566fc8ec BuildSystem: Allow make clean all again.
ASTERISK-27600
Reported by: Hamid R. Hashmi

Change-Id: I683d14d024650be04074b037b6300464519409f4
2018-01-19 12:21:36 -06:00
Alexander Traud
f20a522d43 install_prereq: Update Debian/Ubuntu libraries.
ASTERISK-27555

Change-Id: Ieb41b0cbf968af12882b39454b819ebb48b9ea46
2018-01-19 13:19:42 +01:00
Alexander Traud
1fbca9a40d install_prereq: Support package manager DNF and yum option strict=1.
This re-enables the script ./contrib/scripts/install_prereq on Fedora 22 and
newer, and on RHEL/CentOS when the option strict=1 was set for yum install.

ASTERISK-27598
Reported by: Hunter Stevens, Said Masoud

Change-Id: I40f9517122aaa6906e8fc0962b4b8008dfddb368
2018-01-19 04:48:08 -06:00
krells
d5bcbd460e pbx: Reduce verbosity while loading extensions
Each time the dial plan is reloaded, a lot of logs like these are generated:
"Added extension 'XXXXX' priority 1 to YYYYYYYYYYY"
This patch changes the log level for those logs.

ASTERISK-27084

Change-Id: I5662902161c50890997ddc56835d4cafb456c529
2018-01-18 20:42:06 -06:00
Jenkins2
9193f2dd79 Merge "BuildSystem: Avoid $EUID and use id -u instead." into 13 2018-01-18 19:37:44 -06:00
Jenkins2
8c8bb2dbf2 Merge "loader: Miscellaneous fixes." into 13 2018-01-18 19:10:03 -06:00
Jenkins2
fa42549d4e Merge "cel_odbc.c: Fix menuslect module description display." into 13 2018-01-18 15:43:37 -06:00
Sean Bright
b353c90627 res_pjsip: Document tlsv1_1 and tlsv1_2 methods
Change-Id: I67ed9039bf3f132fb20ee7a750e0aef0f704d7d3
2018-01-18 15:55:20 -05:00
Jenkins2
c5739f9858 Merge "BuildSystem: Use the detected name for MD5 everywhere." into 13 2018-01-18 10:05:58 -06:00
Joshua Colp
b944cb629e Merge "BuildSystem: Invoke install not in GNU but POSIX style." into 13 2018-01-18 09:47:28 -06:00
Jenkins2
8e5f07c53c Merge "BuildSystem: In OpenBSD, xmlstarlet is xml." into 13 2018-01-18 09:17:53 -06:00
Jenkins2
b1a65933e2 Merge "app_followme: Add a prompt to be read when a call is connected" into 13 2018-01-18 09:09:27 -06:00
Igor Goncharovsky
1488efb3a8 chan_unistim: Fix hold function ability to lock/crash asterisk
This patch fix chan_unistim hold functions to correctly support
hold function in different states possible in case of multiple lines
established on the phone

ASTERISK-26596 #close

Change-Id: Ib1e04e482e7c8939607a42d7fddacc07e26e14d4
2018-01-18 09:04:25 +03:00
Joshua Colp
c137446772 Merge "pjproject_bundled: Prevent crash on bad outgoing header" into 13 2018-01-17 12:27:19 -06:00
ghjm
0b399013c6 app_followme: Add a prompt to be read when a call is connected
This patch adds the ability to configure a prompt which will be read
to the "winner" who pressed 1 (or the configured value) and received
the call.

ASTERISK-24372 #close

Change-Id: I6ec1c6c883347f7d1e1f597189544993c8d65272
2018-01-17 12:00:22 -06:00
Jenkins2
16f211c647 Merge "res_pjsip: Split type=identify to IP address and SIP header matching priorities" into 13 2018-01-17 11:32:39 -06:00
Corey Farrell
22edb10c44 loader: Miscellaneous fixes.
* Remove comment about lazy load.
* Improve message about module already being loaded and running.
* Handle allocation error in add_to_load_order.
* Dead code elimination from modules_shutdown.

Change-Id: I22261599c46d0f416e568910ec9502f45143197f
2018-01-17 11:59:40 -05:00
Alexander Traud
9ffa1f4301 BuildSystem: Use the detected name for MD5 everywhere.
Affacted the (automatic) download script for external modules:
./build_tools/download_externals

ASTERISK-27596

Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
2018-01-17 08:36:44 -06:00
Alexander Traud
de65fd11fe BuildSystem: Invoke install not in GNU but POSIX style.
ASTERISK-27594

Change-Id: Iaaa6a19d2fe031dffcba441d0502a7ea65c93cb3
2018-01-17 07:12:25 -06:00
Alexander Traud
72845d54f0 BuildSystem: In OpenBSD, xmlstarlet is xml.
ASTERISK-27593

Change-Id: I1c7087f7f7582e40b3312c690d912c9a86466805
2018-01-17 06:53:11 -06:00
Jenkins2
9083022ebf Merge "taskprocessor.c: Increase the number of tps_singletons container buckets." into 13 2018-01-17 05:49:01 -06:00
Alexander Traud
985834607b BuildSystem: Detect external library Lua in version 5.3.
On some platforms, you decide to go for one specific version of Lua, for
example in OpenBSD. On other platforms, you are able to install several versions
side-by-side, for example in Ubuntu and Fedora. Asterisk already works with
Lua 5.3. Asterisk failed to detect Lua 5.3 on those platforms which allow
several versions.

ASTERISK-27592

Change-Id: If7a4b395d844a464e9a1f4f626c5bff4ee67eed8
2018-01-17 02:53:07 -06:00
Jenkins2
d7f5421ea4 Merge "res_stasis_recording: Allow symbolic links in configured recordings dir." into 13 2018-01-16 09:27:11 -06:00
Richard Mudgett
1bbd9f4a47 taskprocessor.c: Increase the number of tps_singletons container buckets.
Since v12 the number of taskprocessors in the system has increased a lot.
Small systems can easily have over a hundred and larger systems can have
thousands.

Most uses of the tps_singletons container deal with creating and
destroying the taskprocessors.  However, the pjsip distributor looks up
taskprocessors/serializers by name frequently.  It needs to find the
serializer for incoming SIP responses to distribute them to the
appropriate serializer.

Change-Id: Ice0603606614ba49f7c0c316c524735c064e7e43
2018-01-16 08:32:20 -06:00
George Joseph
fbd0667c84 pjproject_bundled: Prevent crash on bad outgoing header
We still need to figure out how a bad header is getting into the
outgoing message but this patch to pjproject prevents attempting
to print that header and causing a crash.

For several users, this crash happens when sending 183 progress
messages.

ASTERISK-26832
Reported by: Ross Beer, Jan Rozhon

Change-Id: Ie5c5a921c890c843587763e7f33f987dfe66bd16
2018-01-16 07:20:28 -07:00
Alexander Traud
637bd26575 BuildSystem: Avoid $EUID and use id -u instead.
Makefile included a call to ${EUID} which requires the shell bash. To keep
compatibility with other shells like dash or ksh, use id -u instead.

ASTERISK-27589

Change-Id: Ia6e74f5bc9aab4e6dc62b7439f647b7964e6f657
2018-01-16 06:36:31 -06:00
Richard Mudgett
b0a78bdc3e cel_odbc.c: Fix menuslect module description display.
Asterisk's makefile for menuselect has a very simple source file parsing
script that looks for AST_MODULE_INFO lines to extract the quoted string
as a module description.  If it does not find a quoted string it uses the
whole line as the description.

Change-Id: I80f13a63818e4e28d683639a94a4dfaea405c1d5
2018-01-15 18:13:52 -06:00
Jenkins2
5ebb32d3e3 Merge "config_transport: Enable TCP_NODELAY on TLS transports" into 13 2018-01-15 10:36:04 -06:00
Jenkins2
cb5593c594 Merge "BuildSystem: Really do not pass unknown-warning options to the compiler." into 13 2018-01-15 07:29:34 -06:00
Jenkins2
197bff1532 Merge "menuselect: Remove unused dev-mode option TRACE_FRAMES." into 13 2018-01-15 07:09:37 -06:00
Yasuhiko Kamata
c0a4a939cc chan_sip: 3PCC patch for AMI "SIPnotify"
A patch for sending in-dialog SIP NOTIFY message
with "SIPnotify" AMI action.

ASTERISK-27461

(created patch for 13 branch manually due to merge conflict)

Change-Id: I255067f02e2ce22c4b244f12134b9a48d210c22a
2018-01-15 16:45:21 +09:00
Jenkins2
e79e8c557b Merge "res_config_pgsql: Avoid typecasting an int to unsigned char." into 13 2018-01-14 08:58:35 -06:00
George Joseph
948b852f48 config_transport: Enable TCP_NODELAY on TLS transports
We did this for TCP transports already but I'm not sure why we
didn't do it for TLS transports.

ASTERISK_27474 #not_final_fix

Change-Id: I5b1ef4b882f7b859e718236686b7898751dbb262
2018-01-13 12:55:25 -07:00
Corey Farrell
f01bac230d res_stasis_recording: Allow symbolic links in configured recordings dir.
If any component of ast_config_AST_RECORDING_DIR is a symbolic link we
would incorrectly assume the ARI user was trying to escape the recording
path.  Create additional check to check the recording directory's
realpath, only deny access if both do not match.

This is needed by the testsuite when run by 'run-local'.

Change-Id: I9145e841865edadcb5f75cead3471ad06bbb56c0
2018-01-12 19:05:12 -06:00
Corey Farrell
97b574c927 menuselect: Remove unused dev-mode option TRACE_FRAMES.
ASTERISK-27575 #close

Change-Id: Ica3a522892afed7a96816a5ecf140e1671f46ad4
2018-01-12 12:05:38 -06:00
Jenkins2
2c32e22792 Merge "chan_ooh323: Avoid typecasting an int to unsigned short." into 13 2018-01-12 11:32:08 -06:00
Jenkins2
bb7ae01487 Merge "install_prereq: Update Debian/Ubuntu libraries." into 13 2018-01-12 10:57:53 -06:00
Jenkins2
25b07f8c49 Merge "app_osplookup.c: Avoid two format truncations." into 13 2018-01-12 10:35:40 -06:00
Alexander Traud
f07b0df627 res_config_pgsql: Avoid typecasting an int to unsigned char.
clang 5.0 warned about this.

ASTERISK-27576

Change-Id: If41f400a51973c06cdb9b75462e535b616bfe385
2018-01-12 09:26:36 -06:00
Jenkins2
9debcc10fe Merge "Ignore quilt .pc directory, used in deb packaging" into 13 2018-01-12 08:20:03 -06:00
Alexander Traud
659c44f5fb BuildSystem: Really do not pass unknown-warning options to the compiler.
When an older GCC version is called with a too new warning option, GCC exited
with an error and Asterisk was not built. Therefore, the configure script tests
the installed compiler whether it supports that warning option. If not, Asterisk
does not pass it to the installed compiler. However, some compilers (like clang)
do not exit (error) but give just a warning in such a case. Because the compiler
did not exit, Asterisk passed the unknown-warning option.

ASTERISK-27560

Change-Id: Ia9d148e689c173df4e91699113605dab2de36038
2018-01-12 07:21:49 -06:00
Alexander Traud
45008c604d app_osplookup.c: Avoid two format truncations.
GCC 7 warned about this.

ASTERISK-27578

Change-Id: I4a00458dbe9b575ef04338b6a7852272745e1552
2018-01-12 04:27:49 -06:00