summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-20Merge "main/bridge: Use ast_cli_completion_add."Jenkins2
2018-03-20Merge "stringfields: Remove MALLOC_DEBUG fields from struct ↵Jenkins2
ast_string_field_mgr."
2018-03-20Merge "BuildSystem: Enable Advanced Linux Sound Architecture (ALSA) in NetBSD."Jenkins2
2018-03-20Merge "BuildSystem: Remove unused dependency on libltdl."Joshua Colp
2018-03-20Merge "BuildSystem: Check for header file of OGG."Joshua Colp
2018-03-19Merge "loader: Convert reload_classes to built-in modules."Jenkins2
2018-03-19Merge "BuildSystem: Avoid an extra case for OpenBSD."George Joseph
2018-03-19Merge "BuildSystem: When no download utility is available, display the ↵Jenkins2
explanation."
2018-03-19Merge "BuildSystem: Enable dladdr on non-Linux platforms like FreeBSD."Jenkins2
2018-03-19Merge "app_voicemail: Fix json blob errors"George Joseph
2018-03-19Merge "app_dial: Enable early-media video"George Joseph
2018-03-19Merge "main/cdr: Use ast_cli_completion_add for CDR channel completion."Jenkins2
2018-03-17main/bridge: Use ast_cli_completion_add.Corey Farrell
Change-Id: I3775a696d6a57139fdf09651ecb786bcf1774509
2018-03-17BuildSystem: Check for header file of OGG.Alexander Traud
Asterisk uses various symbols of the shared library libogg within the module format_ogg_vorbis. However, the source code of that module did not include the header file of libogg explicitly but implicitly. Because that header was not included before Asterisk 14, the script ./configure was told not to check for it. Anyway, even Asterisk 13 LTS uses symbols of libogg. Therefore, that header should be included explicitly. Therefore, ./configure should check for that header. Change-Id: I98c50d56311b68880d1084fcc62c35ab2f8692db
2018-03-17BuildSystem: When no download utility is available, display the explanation.Alexander Traud
./configure --with-pjproject-bundled did not display an explanation, when no download utility like wget, curl, or fetch was installed beforehand, although an explanation existed in code. This happened because the code expected the variable DOWNLOAD_TO_STDOUT to be empty. However, the script ./configure set that variable always. Change-Id: I64c99b76a03525c69471e5055bf124b36a51bbd4
2018-03-17BuildSystem: Remove unused dependency on libltdl.Alexander Traud
Asterisk does not need the development package of libltdl, because it does not use any symbol of -lltdl directly. Instead, it uses the runtime package via the shared library -lodbc. On the supported platforms, that shared library declares its dependency on -lltdl correctly, otherwise AST_EXT_LIB_CHECK would have failed. ASTERISK-27745 Change-Id: Icd315809b8e7978203431f3afb66240dd3a040ba
2018-03-16Merge "astobj2_container: Use ast_cli_completion_add for container names."Joshua Colp
2018-03-16Merge "main/ccss: Use ast_cli_completion_add for core id."Jenkins2
2018-03-16app_dial: Enable early-media videoFlorian Floimair
Certain applications (e.g. door-phone) require that also video is transmitted before a call is accepted. Change-Id: I9842e1dc2f6e1c2c49dc33fe615255007d2f821e
2018-03-16Merge "main/channel: Use ast_cli_completion_add for channeltypes."Jenkins2
2018-03-16Merge "cli: Enable ast_cli_completion_add on public completion generators."Jenkins2
2018-03-16BuildSystem: Avoid an extra case for OpenBSD.Alexander Traud
Nine years ago with Mantis 13639 (now ASTERISK-12841) an extra case for OpenBSD was introduced: Vorbis required Ogg to be specified manually, because the shared library libvorbis.so did not specify its required dependency on -logg itself. Today with OpenBSD 6.2, all libvorbis*.so declare their dependencies correctly. Therefore, an extra case is not required anymore. Change-Id: Ifd04e0994ce9f1e4ad29c3948a0398b91d1e97bc
2018-03-16BuildSystem: Enable Advanced Linux Sound Architecture (ALSA) in NetBSD.Alexander Traud
In the script ./configure, AST_EXT_LIB_CHECK checks for external libraries. Some libraries do not specify all their dependencies and require additional shared libraries. In AST_EXT_LIB_CHECK, this is the fifth parameter. However, if a library is specified there, it must exist on the platform, because ./configure tries to compile/link/execute a small app using those statements. For example, the library libdl.so is Linux specific and does not exist on BSD-like platforms. Furthermore, no supported platform/version was found, which still (ever?) requires those additional libraries. Therefore, they were simply removed. Finally, this change adds the error code ESTRPIPE to the channel driver chan_alsa for those platforms which lack it, again for example NetBSD. ASTERISK-27720 Change-Id: I3b21f2135f6cbfac7590ccdc2df753257f426e0b
2018-03-16app_voicemail: Fix json blob errorsGeorge Joseph
When app_voicemail calls ast_test_suite_notify with the results of a user keypress, it formats the keypress as '%c'. If the user hung up or some other error occurrs, the result of the keypress is a non printable character. This ultimately causes json_vpack_ex to think it's being passed a non utf-8 string and return an error. * Keypress results passed to ast_test_suite_notify are now checked with isprint() and a '?' is substituted if the check fails. Change-Id: I78ee188916bbac840f3d03f40201b692347ea865
2018-03-15main/cdr: Use ast_cli_completion_add for CDR channel completion.Corey Farrell
Change-Id: Ie81830647a23aad61c1162583b6d50adbe6e7822
2018-03-15install_prereq: Add Arch Linux.Alexander Traud
ASTERISK-27738 Change-Id: I7ca620e3c4dfb4b064a19382c4915aeb42a2a09f
2018-03-15main/ccss: Use ast_cli_completion_add for core id.Corey Farrell
Change-Id: I44b25d6d24c7d9bc1bb38a50774b38883162f98f
2018-03-15astobj2_container: Use ast_cli_completion_add for container names.Corey Farrell
Change-Id: I4f0fc09e820eb8d8da2354a177dbcf503c56ddd1
2018-03-15main/channel: Use ast_cli_completion_add for channeltypes.Corey Farrell
Change-Id: Ia845fae6a84801cc7d9996767b99efb2753cbb48
2018-03-15Merge "res_pjsip_rfc3326.c: Account for more than one 'Reason' header"Jenkins2
2018-03-15Merge "install_prereq: Add SUSE."Jenkins2
2018-03-15cli: Enable ast_cli_completion_add on public completion generators.Corey Farrell
* ast_cli_complete * ast_complete_channels * ast_complete_applications These generators will now use ast_cli_completion_add if state == -1. Change-Id: I7ff311f0873099be0e43a3dc5415c0cd06d15756
2018-03-14Merge "core: Remove incorrect usage of attribute_malloc."Jenkins2
2018-03-14res_pjsip_rfc3326.c: Account for more than one 'Reason' headerRoss Beer
ASTERISK-27741 Change-Id: I0aa59a54735c6d20b95c54db1bd095dbf93e7adf
2018-03-14install_prereq: Add SUSE.Alexander Traud
ASTERISK-27736 Change-Id: I4cafc8973349d50a7cb7919ddf0bb1aaef4bfc3e
2018-03-14Merge "install_prereq: Update FreeBSD libraries."Jenkins2
2018-03-14Merge "core: Remove non-critical cleanup from startup aborts."Jenkins2
2018-03-14Merge "BuildSystem: Enable IMAP storage on openSUSE and Arch Linux."Jenkins2
2018-03-14Merge "BuildSystem: Add NetBSD."Joshua Colp
2018-03-14Merge "res_srtp: Add support for libsrtp2.x on openSUSE."Joshua Colp
2018-03-14loader: Convert reload_classes to built-in modules.Corey Farrell
* acl (named_acl.c) * cdr * cel * ccss * dnsmgr * dsp * enum * extconfig (config.c) * features * http * indications * logger * manager * plc * sounds * udptl These modules are now loaded at appropriate time by the module loader. Unlike loadable modules these use AST_MODULE_LOAD_FAILURE on error so the module loader will abort startup on failure of these modules. Some of these modules are still initialized or shutdown from outside the module loader. logger.c is initialized very early and shutdown very late, manager.c is initialized by the module loader but is shutdown by the Asterisk core (too much uses it without holding references). Change-Id: I371a9a45064f20026c492623ea8062d02a1ab97f
2018-03-13Merge "install_prereq: Add NetBSD."Jenkins2
2018-03-13Merge "BuildSystem: Re-check for another UUID library only when previous ↵Jenkins2
check failed."
2018-03-13Merge "BuildSystem: Enable PortAudio in NetBSD."Jenkins2
2018-03-13core: Remove incorrect usage of attribute_malloc.Corey Farrell
GCC documentation states that when __attribute__((malloc)) is used it should not return storage which contains any valid pointers. It specifically mentions that realloc functions should not have the malloc attribute, but this also means that complex initializers which could contain initialized pointers should not use this attribute. Change-Id: If507f33ffb3ca3b83b702196eb0e8215d27fc7d2
2018-03-13BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.Alexander Traud
ASTERISK-27734 Change-Id: I8d6e6a1c08c031649764f5277fbbb85e57c3a9d4
2018-03-13stringfields: Remove MALLOC_DEBUG fields from struct ast_string_field_mgr.Corey Farrell
This causes MALLOC_DEBUG reporting to be slightly different, calls which cause additional memory pools to be allocated now report the callers location rather than the location which originally allocated the string field structure. This reduces storage needed by string fields and allows MALLOC_DEBUG to identify the source of additional allocations rather than obscuring it by reporting the original allocation caller. Change-Id: Idd18e6639a87ab862079b580c114d90361412289
2018-03-13Merge "core: Remove ABI effects of MALLOC_DEBUG."Jenkins2
2018-03-13core: Remove non-critical cleanup from startup aborts.Corey Farrell
When built-in components of Asterisk fail to start they cause the Asterisk startup to abort. In these cases only the most critical cleanup should be performed - closing databases and terminating proceses. These cleanups are registered using ast_register_atexit, all other cleanups should not be run during startup abort. The main reason for this change is that these cleanup procedures are untestable from the partially initialized states, if they fail it could prevent us from ever running the critical cleanup with ast_run_atexits. Create separate initialization for dns_core.c to be run unconditionally during startup instead of being initialized by the first dns resolver to be registered. This ensures that 'sched' is initialized before it can be potentially used. Replace ast_register_atexit with ast_register_cleanup in media_cache.c. There is no reason for this cleanup to happen unconditionally. Change-Id: Iecc2df98008b21509925ff16740bd5fa29527db3
2018-03-13Merge "BuildSystem: For consistency, avoid double-checking via if clauses."Jenkins2