summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-25Merge "CHANGES: Add AMI action 'PJSIPShowContacts' note."Jenkins2
2018-01-25Merge "install_prereq: For PJProject, point users to configure script."Jenkins2
2018-01-25loader: Correct overly strict startup checks.Corey Farrell
The code which handled loading modules had too many situations which would result in halting Asterisk startup. Treat most errors as declines instead of failures. The exception is when the module load function returns AST_MODULE_LOAD_FAILURE or an invalid code. Clear the missingdeps vector when appropriate to ensure the next loop starts clean. ASTERISK-27620 Change-Id: I45547d9641fd45bd86d80250224417625631ad84
2018-01-24Build System: Add support for __atomic built-in operators.Corey Farrell
Add a check to configure.ac for __atomic_fetch_add support. If found use the __atomic built-in operators for ast_atomic_dec_and_test and ast_atomic_fetchadd_int. ASTERISK~27619 Change-Id: I65b4feb02bae368904ed0fb03f585c05f50a690e
2018-01-24Remove redundant module checks and references.Corey Farrell
This removes references that are no longer needed due to automatic references created by module dependencies. In addition this removes most calls to ast_module_check as they were checking modules which are listed as dependencies. Change-Id: I332a6e8383d4c72c8e89d988a184ab8320c4872e
2018-01-24CHANGES: Add AMI action 'PJSIPShowContacts' note.Richard Mudgett
ASTERISK-27581 Change-Id: If6af275764741a11030f0a4fd324fa29b376d74e
2018-01-24Merge "res_pjsip: Add AMI action 'PJSIPShowContacts'"Jenkins2
2018-01-24Merge "install_prereq: Support package manager DNF and yum option strict=1."Jenkins2
2018-01-23Merge "res_config_mysql: Avoid the header mysql_version.h."Jenkins2
2018-01-23Merge "install_prereq: Update Debian/Ubuntu libraries."Jenkins2
2018-01-23res_pjsip: Add AMI action 'PJSIPShowContacts'Sungtae Kim
Add an AMI action which provides information on all configured Contacts. ASTERISK-27581 Change-Id: I2eed42c74bbc725fad26b8b33b1a5b3161950c73
2018-01-22Merge "chan_unistim: Fix hold function ability to lock/crash asterisk"Jenkins2
2018-01-22Merge "loader: Add support for built-in modules."Jenkins2
2018-01-22Merge "loader: Rework load_resource_list."Jenkins2
2018-01-22pbx_variables.c: Misc fixes in variable substitution.Richard Mudgett
* Copy more than one character at a time when there is nothing to substitute. * Fix off by one error if a '}' or ']' is missing. * Eliminated the requirement that the "used" parameter had to point to a variable. The current callers were always declaring a variable to meet the requirement and discarding the value put into that variable. Now it can be NULL. * In ast_str_substitute_variables_full() fixed using the bogus channel to evaluate a function. We were not using the bogus channel we just created to help evaluate a subexpression. Change-Id: Ia83d99f4f16abe47f329eb39b6ff2013ae7c9854
2018-01-22Add missing OPTIONAL_API and ARI dependences.Corey Farrell
I've audited all modules that include any header which includes asterisk/optional_api.h. All modules which use OPTIONAL_API now declare those dependencies in AST_MODULE_INFO using requires or optional_modules as appropriate. In addition ARI dependency declarations have been reworked. Instead of declaring additional required modules in res/ari/resource_*.c we now add them to an optional array "requiresModules" in api-docs for each module. This allows the AST_MODULE_INFO dependencies to include those missing modules. Change-Id: Ia0c70571f5566784f63605e78e1ceccb4f79c606
2018-01-22Merge "loader: Remove global symbol only startup phase."Joshua Colp
2018-01-22Merge "loader: Process module dependencies."Jenkins2
2018-01-22Merge "pbx: Reduce verbosity while loading extensions"Jenkins2
2018-01-22res_config_mysql: Avoid the header mysql_version.h.Alexander Traud
ASTERISK-27607 Change-Id: I23d00ded955c4afd5f2c3c9dc96dcb48b3f74eec
2018-01-22Merge "BuildSystem: Allow make clean all again."Jenkins2
2018-01-22install_prereq: For PJProject, point users to configure script.Alexander Traud
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-22Merge "BuildSystem: Remove orphaned .PHONY targets."Jenkins2
2018-01-22Merge "res_pjsip: Document tlsv1_1 and tlsv1_2 methods"Jenkins2
2018-01-20BuildSystem: Remove AC_CONFIG_AUX_DIR.Alexander Traud
ASTERISK-27602 Change-Id: I9f4d3d2bc1481748e39ad1e2b0a364d38e38978b
2018-01-20Merge "BuildSystem: Detect external library Lua in version 5.3."Jenkins2
2018-01-19BuildSystem: Remove orphaned .PHONY targets.Alexander Traud
Change-Id: Ic44d75141b9bf99e7d72fcc82ee111b5cf6989d2
2018-01-19BuildSystem: Allow make clean all again.Alexander Traud
ASTERISK-27600 Reported by: Hamid R. Hashmi Change-Id: I683d14d024650be04074b037b6300464519409f4
2018-01-19install_prereq: Update Debian/Ubuntu libraries.Alexander Traud
ASTERISK-27555 Change-Id: Ieb41b0cbf968af12882b39454b819ebb48b9ea46
2018-01-19install_prereq: Support package manager DNF and yum option strict=1.Alexander Traud
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-18pbx: Reduce verbosity while loading extensionskrells
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-18Merge "BuildSystem: Avoid $EUID and use id -u instead."Jenkins2
2018-01-18Merge "loader: Miscellaneous fixes."Jenkins2
2018-01-18Merge "cel_odbc.c: Fix menuslect module description display."Jenkins2
2018-01-18res_pjsip: Document tlsv1_1 and tlsv1_2 methodsSean Bright
Change-Id: I67ed9039bf3f132fb20ee7a750e0aef0f704d7d3
2018-01-18Merge "BuildSystem: Use the detected name for MD5 everywhere."Jenkins2
2018-01-18Merge "BuildSystem: Invoke install not in GNU but POSIX style."Jenkins2
2018-01-18Merge "BuildSystem: In OpenBSD, xmlstarlet is xml."Jenkins2
2018-01-18Merge "app_followme: Add a prompt to be read when a call is connected"Jenkins2
2018-01-18chan_unistim: Fix hold function ability to lock/crash asteriskIgor Goncharovsky
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-17loader: Add support for built-in modules.Corey Farrell
* Add SRC_EMBEDDED variable to main/Makefile. Built-in module sources must be listed in this variable to ensure they get the correct CFLAGS. Change-Id: I920852bc17513a9c2627061a4ad40511e3a20499
2018-01-17loader: Rework load_resource_list.Corey Farrell
Use a single loop in a loop to scan the resource list attempting to dlopen each module. The inner loop is repeated until it doesn't do any work, then it is run one more time to allow printing of error messages. Change-Id: I60c15cd57ff9680b62e2a94c7519401fa4a38e45
2018-01-17loader: Remove global symbol only startup phase.Corey Farrell
Dependency loader is now in place so we no longer need a separate loader phase for global symbols only. This simplifies the loader and allows us to minimize calls to dlopen. Change-Id: I33e3174d67f3b4552d3d536326dcaf0ebabb097d
2018-01-17loader: Process module dependencies.Corey Farrell
* Add string vectors for requires, optional_apis and enhances. * Add reffed_deps module vector for holding references to dependencies. * Initialize string vectors after final dlopen of each module. * Free string vectors and clear references from reffed_deps in module_destroy. * Create functions necessary to process module dependencies and enforce load order. Module dependencies result in automatic references being managed by the module loader. This enforces unload order. Change-Id: I9be08d1dd331aceadc1dcba00b804d71360b2fbb
2018-01-17Merge "pjproject_bundled: Prevent crash on bad outgoing header"Jenkins2
2018-01-17app_followme: Add a prompt to be read when a call is connectedghjm
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-17Merge "res_pjsip: Split type=identify to IP address and SIP header matching ↵Jenkins2
priorities"
2018-01-17loader: Miscellaneous fixes.Corey Farrell
* 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-17BuildSystem: Use the detected name for MD5 everywhere.Alexander Traud
Affacted the (automatic) download script for external modules: ./build_tools/download_externals ASTERISK-27596 Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
2018-01-17BuildSystem: Invoke install not in GNU but POSIX style.Alexander Traud
ASTERISK-27594 Change-Id: Iaaa6a19d2fe031dffcba441d0502a7ea65c93cb3