summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-20Merge "core: Remove additional symbols."Joshua Colp
2018-03-20Merge "core: Remove dead symbols from asterisk.exports.in."Jenkins2
2018-03-20Merge "channel.c: Allow generic plc then channel formats are equal"Jenkins2
2018-03-20Merge "BuildSystem: In NetBSD, the Python Programming Language is python-X.Y."George Joseph
2018-03-20Merge "BuildSystem: Instead of $PJPROJECT_LIBS with s, use $PJPROJECT_LIB ↵Jenkins2
everywhere."
2018-03-20Merge "main/sounds: Use ast_cli_completion_add."Jenkins2
2018-03-20Merge "named_acl: Use ast_cli_completion_add."Joshua Colp
2018-03-20Merge "manager: Use ast_cli_completion_add for completion generators."Joshua Colp
2018-03-20Merge "main/test: Use ast_cli_completion_add."Joshua Colp
2018-03-20Merge "core: Minor cleanup of ast_el_read_char."Jenkins2
2018-03-20Merge "aco: Use ast_cli_completion_add for 'config show help'."Joshua Colp
2018-03-20Merge "main/config: Use ast_cli_completion_add for reload completion."Jenkins2
2018-03-20Merge "main/translate: Use ast_cli_completion_add."Jenkins2
2018-03-20Merge "main/taskprocessor: Use ast_cli_completion_add."Joshua Colp
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-19core: Remove additional symbols.Corey Farrell
Remove symbols that are depreacated and replaced: * ast_channel_datastore_alloc * ast_channel_datastore_free * ast_channel_cmpwhentohangup * ast_channel_setwhentohangup * config_text_file_save * devstate2str * ast_device_state_changed * ast_device_state_changed_literal * ast_verbose_get_by_module Remove unused symbols: * channelreloadreason2txt (last used in Asterisk 12). Remove unused ast_options flags: * AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN / ast_opt_end_cdr_before_h_exten * AST_OPT_FLAG_VERBOSE_MODULE / ast_opt_verb_module * AST_OPT_FLAG_INITIATED_SECONDS Change-Id: I841255995d195f8efc1ed47af9c7a2f131c08645
2018-03-19core: Remove dead symbols from asterisk.exports.in.Corey Farrell
* dahdi_chan_name * dahdi_chan_name_len * dahdi_chan_mode * __manager_event * dialed_interface_info Added comment about __progname and environ being needed for FreeBSD to prevent accidental removal in the future. Change-Id: I3ae026bc541cd9cb572be2ffa95fc359547642b5
2018-03-19named_acl: Use ast_cli_completion_add.Corey Farrell
Change-Id: I317a82de976bbdbfe4352c243e32a7bb8f66c377
2018-03-19main/sounds: Use ast_cli_completion_add.Corey Farrell
Change-Id: I140e1137906bbfcdb61c0c6304159be459ad873e
2018-03-19channel.c: Allow generic plc then channel formats are equalGeorge Joseph
If the two formats on a channel are equal, we don't transcode and since the generic plc needs slin to work, it doesn't get invoked. * A new configuration option "genericplc_on_equal_codecs" was added to the "plc" section of codecs.conf to allow generic packet loss concealment even if no transcoding was originally needed. Transcoding via SLIN is forced in this case. ASTERISK-27743 Change-Id: I0577026a179dea34232e63123254b4e0508378f4
2018-03-19manager: Use ast_cli_completion_add for completion generators.Corey Farrell
Change-Id: I658141c6ec490a3e866b02d2afea757928ceaabf
2018-03-19main/test: Use ast_cli_completion_add.Corey Farrell
Change-Id: I5133ff2ba4e030f9733fb3d050c863d72a22ae6b
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-17core: Minor cleanup of ast_el_read_char.Corey Farrell
* Define CHAR_T_LIBEDIT and CHAR_TO_LIBEDIT based on HAVE_LIBEDIT_IS_UNICODE. This avoids needing to repeatedly use conditional blocks, eliminates having multiple function prototypes. * Remove parenthesis from return values. * Add missing code block brackets {}. * Reduce use of 'else' conditional statements where possible. Change-Id: I4315328ebea2f62641faf6881de2ac20a9f9d08e
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-17main/translate: Use ast_cli_completion_add.Corey Farrell
Change-Id: I0e2402660e54d91f74ab0804c62a5b1925577413
2018-03-17main/taskprocessor: Use ast_cli_completion_add.Corey Farrell
Change-Id: Ie5f812a988ed811fd11967151932de62bc131b48
2018-03-17main/config: Use ast_cli_completion_add for reload completion.Corey Farrell
Change-Id: Ia3fa4c03f2285a1ec8814bbe7f4624ead9111ad1
2018-03-17aco: Use ast_cli_completion_add for 'config show help'.Corey Farrell
In addition this removes: * RAII_VAR usage * Duplicate check of pos * Unneeded arguments. Change-Id: I2da8eac2670d1d8d6474c04037129804f55ebf39
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-16BuildSystem: In NetBSD, the Python Programming Language is python-X.Y.Alexander Traud
ASTERISK-27717 Change-Id: If90ddf9c396c32e7402a894f42dce215c30049d1
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