summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13Merge "core: Remove ABI effects of MALLOC_DEBUG."Jenkins2
2018-03-13Merge "BuildSystem: For consistency, avoid double-checking via if clauses."Jenkins2
2018-03-13Merge "res_pjproject.c: Upgrade bundled PJPROJECT to 2.7.2"Joshua Colp
2018-03-12Merge "Replace direct checks of option_debug with DEBUG_ATLEAST macro."Jenkins2
2018-03-12Merge "BuildSystem: Enable Lua in NetBSD."Jenkins2
2018-03-12Merge "Complete deprecating legacy modules."Jenkins2
2018-03-12Merge "res_pjsip_session: properly handle SDP from a forked call with early ↵Jenkins2
media"
2018-03-12Merge "BuildSystem: Depend not implicitly but explicitly on external libraries."Jenkins2
2018-03-12Merge "BuildSystem regression: Fix errors reported by clean targets."Jenkins2
2018-03-11Merge "app_osplookup: Move header defines into the app."Jenkins2
2018-03-09BuildSystem: For consistency, avoid double-checking via if clauses.Alexander Traud
In the script ./configure, AST_EXT_LIB_CHECK and AST_PKG_CONFIG_CHECK first test whether parameter 1 was already found. Consequently, an if-test on PBX_ just a line below is redundant, if exactly the same parameter 1 is used again. No performance gain is expected by this change. However, because this strategy is used all over in ./configure except for two places, this change aims to create more consistency: Only do something different if there is a reason to do so. Change-Id: I4a6f48127b7af3a48168c917e888be1f70625027
2018-03-09Merge "res_http_post: Enable GMime in NetBSD."Jenkins2
2018-03-08Merge "chan_sip: Fix improper RTP framing on outgoing calls"Jenkins2
2018-03-08Merge "voicemail: Fixed wrong voicemail message count"Kevin Harwell
2018-03-08Complete deprecating legacy modules.Richard Mudgett
The menuselect comment was updated to deprecate these modules but the AST_MODULE_INFO block at the end of file was missed. ASTERISK-27671 Change-Id: I63070b5c4d4f08af010c6034acd4793c1bcef839
2018-03-08Merge "utils: In Solaris, avoid a warning about an unused variable."Jenkins2
2018-03-08res_pjproject.c: Upgrade bundled PJPROJECT to 2.7.2Richard Mudgett
Update patches included in bundled PJPROJECT for the new version. ASTERISK-27730 Change-Id: Id3c8c8ad82126846bcd9768bc3d0a18d89be8944
2018-03-08Merge "res_pjsip_rfc3326: Order of 'Reason' headers break many endpoints"Jenkins2
2018-03-07Replace direct checks of option_debug with DEBUG_ATLEAST macro.Corey Farrell
Checking option_debug directly is incorrect as it ignores file/module specific debug settings. This system-wide change replaces nearly all direct checks for option_debug with the DEBUG_ATLEAST macro. Change-Id: Ic342d4799a945dbc40ac085ac142681094a4ebf0
2018-03-07Merge "apps/app_amd.c: Fixed total time and silence calculations"Jenkins2
2018-03-07BuildSystem regression: Fix errors reported by clean targets.Richard Mudgett
Doing a 'make clean', 'make distclean', or 'make dist-clean' gets errors about an invalid shell option: "/bin/sh: 0: Illegal option -". The clean targets do not include the makeopts file which defines GREP and LDCONFIG because the file may not exist and the distclean/dist-clean targets will delete it anyway. ASTERISK-27715 Change-Id: I33d40acdb03862bc89aeb6fb1ff497894a8ea7f5
2018-03-07res_pjsip_rfc3326: Order of 'Reason' headers break many endpointsRoss Beer
ASTERISK-27554 Change-Id: If61c7faab7d2fa1031c056ed6268fe928e2391cf
2018-03-07voicemail: Fixed wrong voicemail message countSungtae Kim
Fixed wrong voicemail mailbox reference for Action: VoicemailUsersList. ASTERISK-27703 Change-Id: Ie6578ad80bba2bfaf34b84f0be978f59045ce6cd
2018-03-07utils: In Solaris, avoid a warning about an unused variable.Alexander Traud
When HAVE_GETHOSTBYNAME_R_5 was set by the script ./configure, GCC 7.3.0 found an unused variable. Actually, the variable was used (set to a dummy value) but the compiler optimization might have removed that. Instead, this change ensures that the variable 'res' is only used when it is really required. Change-Id: Ic3ea23ccf84ac4bc2d501b514985b989030abab5
2018-03-07app_osplookup: Move header defines into the app.Corey Farrell
astosp.h is leftover from when logic was split between app_osplookup and res_osp. All logic was moved into app_osplookup by 109737eb1c in 2006, but astosp.h remained. This moves the remaining defines into app_osplookup and deletes astosp.h. Change-Id: I0a6c4debd7c9543b608520b1765abfa4fab7b2fd
2018-03-07chan_sip: Fix improper RTP framing on outgoing callsJean Aunis
The "ptime" SDP parameter received in a SIP response was not honoured. Moreover, in the abscence of this "ptime" parameter, locally configured framing was lost during response processing. This patch systematically stores the framing information in the ast_rtp_codecs structure, taking it from the response or from the configuration as appropriate. ASTERISK-27674 Change-Id: I828a6a98d27a45a8afd07236a2bd0aa3cbd3fb2c
2018-03-06res_pjsip_session: properly handle SDP from a forked call with early medialvl
In handle_negotiated_sdp(), use session->active_media_state when session->pending_media_state is empty. The 200's SDP should be fed into handle_negotiated_sdp_session_media() together with the already negotiated state, which is now in session->active_media_state instead. Only if both the session's pending and active media are empty should handle_negotiated_sdp() abort. ASTERISK-27441 Change-Id: If0d5150ffe6f38d8a854831fef37942258d4629c
2018-03-06Merge "BuildSystem: Cast any intptr_t explicitly to its proposed type."Jenkins2
2018-03-06Merge "BuildSystem: Install init scripts on openSUSE Tumbleweed."Jenkins2
2018-03-06BuildSystem: Enable Lua in NetBSD.Alexander Traud
luaL_openlib got removed with Lua 5.2. luaL_newstate is available in all versions. ASTERISK-27718 Change-Id: I9c8c8880315ee36ab740d7c40153306c0bfd6f71
2018-03-06Merge "BuildSystem: AC_PATH_PROG sets to colon character when not found."Jenkins2
2018-03-06Merge "BuildSystem: Enable autotools in NetBSD."Jenkins2
2018-03-06BuildSystem: Depend not implicitly but explicitly on external libraries.Alexander Traud
ASTERISK-27722 Change-Id: Ie7b8c30d86cb00a54d6ac4e09e6f28f42d2bd52c
2018-03-05Merge "chan_unistim: NetBSD has an incompatible struct in_pktinfo."Jenkins2
2018-03-05Merge "BuildSystem: Avoid == for comparison in ./configure."Joshua Colp
2018-03-05Merge "BuildSystem: Detect whether uselocale(.) is available."Jenkins2
2018-03-05Merge "BuildSystem: Avoid re-defining of pthread_* on NetBSD."Jenkins2
2018-03-05Merge "chan_sip: Emit a second ringing event to ensure channel is found."Jenkins2
2018-03-05Merge "core: Fix handling of maximum length lines in config files."Jenkins2
2018-03-05res_http_post: Enable GMime in NetBSD.Alexander Traud
ASTERISK-27719 Change-Id: I230c5f9f316b2e9465c093c13580f72ebbaf67a7
2018-03-05Merge "pjproject: Add cache_pools debugging option."Jenkins2
2018-03-05BuildSystem: Enable autotools in NetBSD.Alexander Traud
ASTERISK-27716 Change-Id: I52525e35e1620341272219911d054a1e3d3ec01e
2018-03-05BuildSystem: AC_PATH_PROG sets to colon character when not found.Alexander Traud
ASTERISK-27715 Reported by: Corey Farrell Change-Id: I0d6d9572d1352dc7ad30c9917173f1e980d8c938
2018-03-03chan_unistim: NetBSD has an incompatible struct in_pktinfo.Alexander Traud
ASTERISK-27714 Reported by: John Nemeth Change-Id: I1b84a89315a5f61222123d21bf35c59224da8990
2018-03-03BuildSystem: Cast any intptr_t explicitly to its proposed type.Alexander Traud
ASTERISK-27713 Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22
2018-03-03BuildSystem: Detect whether uselocale(.) is available.Alexander Traud
ASTERISK-27712 Reported by: Joerg Sonnenberger, D'Arcy Cain Change-Id: Idf1c9d43617a3e13028b95b313415903d80ef807
2018-03-03BuildSystem: Avoid re-defining of pthread_* on NetBSD.Alexander Traud
ASTERISK-27711 Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
2018-03-02BuildSystem: Install init scripts on openSUSE Tumbleweed.Alexander Traud
ASTERISK-27710 Change-Id: I4c777e41b31d4415bbe21cb435ad47b43ebb5467
2018-03-02BuildSystem: Avoid == for comparison in ./configure.Alexander Traud
ASTERISK-27709 Reported by: John Nemeth Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d