Age | Commit message (Collapse) | Author |
|
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
|
|
ASTERISK-27641
Change-Id: I587e8ba0123c70fc10cfd8b0ac3299551f61d84b
|
|
|
|
|
|
|
|
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
|
|
|
|
Update patches included in bundled PJPROJECT for the new version.
ASTERISK-27730
Change-Id: Id3c8c8ad82126846bcd9768bc3d0a18d89be8944
|
|
ASTERISK-27729
Change-Id: I7a706d51375d54cf5e36d32397bfe09a48670804
|
|
|
|
As a side-effect, this avoids the ambiguous output:
checking for uuid_generate_random... no
which was printed always previously.
ASTERISK-25586
Reported by: John Nemeth
Change-Id: I6d541dfcf453932a9856c5e251aa22e0e6c233c9
|
|
In the script ./configure,
xyz_LIB is set by AST_PKG_CONFIG_CHECK and
xyz_LIBS is set by PKG_CHECK_MODULES within
AST_PKG_CONFIG_CHECK. Both are the same. In Asterisk normally the former and
only three times the latter was used. Let us use xyz_LIB without s, for
consistency with AST_EXT_LIB_CHECK. That eases understanding because now readers
do not have to know that xyz_LIB equals xyz_LIBS.
Change-Id: I7359860a5d730cdc784c2c48e501a082196434d3
|
|
In NetBSD, PortAudio 1 is still the default version. PortAudio 2 can be
installed side by side but gets placed in a 'portaudio2' subdirectory. To
find PortAudio 2 even in a subdirectory, the tool pkg-config is queried via
AST_PKG_CONFIG_CHECK. For those platforms, which do not list PowerAudio 2
via pkg-config, the previous check remains and is executed thereafter.
ASTERISK-27721
Change-Id: I4175500126909ad1b181fff8e11bb4a3a6ae4fa9
|
|
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
|
|
|
|
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
|
|
ASTERISK-27554
Change-Id: If61c7faab7d2fa1031c056ed6268fe928e2391cf
|
|
Fixed wrong voicemail mailbox reference for Action: VoicemailUsersList.
ASTERISK-27703
Change-Id: Ie6578ad80bba2bfaf34b84f0be978f59045ce6cd
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
|
|
|
luaL_openlib got removed with Lua 5.2.
luaL_newstate is available in all versions.
ASTERISK-27718
Change-Id: I9c8c8880315ee36ab740d7c40153306c0bfd6f71
|
|
|
|
|
|
ASTERISK-27722
Change-Id: Ie7b8c30d86cb00a54d6ac4e09e6f28f42d2bd52c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ASTERISK-27719
Change-Id: I230c5f9f316b2e9465c093c13580f72ebbaf67a7
|
|
|
|
ASTERISK-27716
Change-Id: I52525e35e1620341272219911d054a1e3d3ec01e
|
|
ASTERISK-27715
Reported by: Corey Farrell
Change-Id: I0d6d9572d1352dc7ad30c9917173f1e980d8c938
|
|
ASTERISK-27714
Reported by: John Nemeth
Change-Id: I1b84a89315a5f61222123d21bf35c59224da8990
|
|
ASTERISK-27713
Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22
|
|
ASTERISK-27712
Reported by: Joerg Sonnenberger, D'Arcy Cain
Change-Id: Idf1c9d43617a3e13028b95b313415903d80ef807
|
|
ASTERISK-27711
Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
|
|
ASTERISK-27710
Change-Id: I4c777e41b31d4415bbe21cb435ad47b43ebb5467
|
|
ASTERISK-27709
Reported by: John Nemeth
Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
|
|
This allows asterisk to be compiled with MALLOC_DEBUG to load modules
built without MALLOC_DEBUG. Now pre-compiled third-party modules will
still work regardless of MALLOC_DEBUG being enabled or not.
Change-Id: Ic07ad80b2c2df894db984cf27b16a69383ce0e10
|
|
|
|
|
|
The pool cache gets in the way of finding use after free errors of memory
pool contents. Tools like valgrind and MALLOC_DEBUG don't know when a
pool is released because it gets put into the cache instead of being
freed.
* Added the "cache_pools" option to pjproject.conf. Disabling the option
helps track down pool content mismanagement when using valgrind or
MALLOC_DEBUG. The cache gets in the way of determining if the pool
contents are used after free and who freed it.
To disable the pool caching simply disable the cache_pools option in
pjproject.conf and restart Asterisk.
Sample pjproject.conf setting:
[startup]
cache_pools=no
* Made current users of the caching pool factory initialization and
destruction calls call common routines to create and destroy cached pools.
ASTERISK-27704
Change-Id: I64d5befbaeed2532f93aa027a51eb52347d2b828
|
|
|
|
Change-Id: I459dc320a8c9452a01eed6f403d786741587c890
|