Skip to content
Snippets Groups Projects
  1. Nov 09, 2023
  2. Oct 03, 2023
  3. Sep 06, 2023
  4. Dec 08, 2022
  5. Aug 01, 2022
  6. Apr 25, 2022
  7. Mar 10, 2022
  8. Mar 06, 2022
  9. Nov 29, 2021
  10. Aug 17, 2021
  11. Aug 16, 2021
    • Joshua C. Colp's avatar
      policy: Add deprecation and removal versions to modules. · 13fd0789
      Joshua C. Colp authored
      app_meetme is deprecated in 19, to be removed in 21.
      app_osplookup is deprecated in 19, to be removed in 21.
      chan_alsa is deprecated in 19, to be removed in 21.
      chan_mgcp is deprecated in 19, to be removed in 21.
      chan_skinny is deprecated in 19, to be removed in 21.
      res_pktccops is deprecated in 19, to be removed in 21.
      cdr_mysql was deprecated in 1.8, to be removed in 19.
      app_mysql was deprecated in 1.8, to be removed in 19.
      app_ices was deprecated in 16, to be removed in 19.
      app_macro was deprecated in 16, to be removed in 21.
      app_fax was deprecated in 16, to be removed in 19.
      app_url was deprecated in 16, to be removed in 19.
      app_image was deprecated in 16, to be removed in 19.
      app_nbscat was deprecated in 16, to be removed in 19.
      app_dahdiras was deprecated in 16, to be removed in 19.
      cdr_syslog was deprecated in 16, to be removed in 19.
      chan_oss was deprecated in 16, to be removed in 19.
      chan_phone was deprecated in 16, to be removed in 19.
      chan_sip was deprecated in 17, to be removed in 21.
      chan_nbs was deprecated in 16, to be removed in 19.
      chan_misdn was deprecated in 16, to be removed in 19.
      chan_vpb was deprecated in 16, to be removed in 19.
      res_config_sqlite was deprecated in 16, to be removed in 19.
      res_monitor was deprecated in 16, to be removed in 21.
      conf2ael was deprecated in 16, to be removed in 19.
      muted was deprecated in 16, to be removed in 19.
      
      ASTERISK-29548
      ASTERISK-29549
      ASTERISK-29550
      ASTERISK-29551
      ASTERISK-29552
      ASTERISK-29553
      ASTERISK-29554
      ASTERISK-29555
      ASTERISK-29557
      ASTERISK-29558
      ASTERISK-29559
      ASTERISK-29560
      ASTERISK-29561
      ASTERISK-29562
      ASTERISK-29563
      ASTERISK-29564
      ASTERISK-29565
      ASTERISK-29566
      ASTERISK-29567
      ASTERISK-29568
      ASTERISK-29569
      ASTERISK-29570
      ASTERISK-29571
      ASTERISK-29572
      ASTERISK-29573
      ASTERISK-29574
      
      Change-Id: Ic3bee31a10d42c4b3bbc913d893f7b2a28a27131
      13fd0789
  12. Aug 11, 2021
    • Joshua C. Colp's avatar
      policy: Deprecate modules and add versions to others. · 93870e7b
      Joshua C. Colp authored
      app_meetme is deprecated in 19, to be removed in 21.
      app_osplookup is deprecated in 19, to be removed in 21.
      chan_alsa is deprecated in 19, to be removed in 21.
      chan_mgcp is deprecated in 19, to be removed in 21.
      chan_skinny is deprecated in 19, to be removed in 21.
      res_pktccops is deprecated in 19, to be removed in 21.
      app_macro was deprecated in 16, to be removed in 21.
      chan_sip was deprecated in 17, to be removed in 21.
      res_monitor was deprecated in 16, to be removed in 21.
      
      ASTERISK-29548
      ASTERISK-29549
      ASTERISK-29550
      ASTERISK-29551
      ASTERISK-29552
      ASTERISK-29553
      ASTERISK-29558
      ASTERISK-29567
      ASTERISK-29572
      
      Change-Id: Ic3bee31a10d42c4b3bbc913d893f7b2a28a27131
      93870e7b
  13. Aug 04, 2021
    • Naveen Albert's avatar
      cdr_adaptive_odbc: Prevent filter warnings · b5709e61
      Naveen Albert authored
      Previously, if CDR filters were used so that
      not all CDR records used all sections defined
      in cdr_adaptive_odbc.conf, then warnings will
      always be emitted (if each CDR record is unique
      to a particular section, n-1 warnings to be
      specific).
      
      This turns the offending warning log into
      a verbose message like the other one, since
      this behavior is intentional and not
      indicative of anything wrong.
      
      ASTERISK-29494
      
      Change-Id: Ifd314fa9298722bc99494d5ca2658a5caa94a5f8
      b5709e61
    • Naveen Albert's avatar
      cdr_adaptive_odbc: Prevent filter warnings · adf707f2
      Naveen Albert authored
      Previously, if CDR filters were used so that
      not all CDR records used all sections defined
      in cdr_adaptive_odbc.conf, then warnings will
      always be emitted (if each CDR record is unique
      to a particular section, n-1 warnings to be
      specific).
      
      This turns the offending warning log into
      a verbose message like the other one, since
      this behavior is intentional and not
      indicative of anything wrong.
      
      ASTERISK-29494
      
      Change-Id: Ifd314fa9298722bc99494d5ca2658a5caa94a5f8
      adf707f2
  14. Mar 16, 2021
    • Joshua C. Colp's avatar
      xml: Embed module information into core XML documentation. · 60800b03
      Joshua C. Colp authored
      This change embeds the MODULEINFO block of modules
      into the core XML documentation. This provides a shared
      mechanism for use by both menuselect and Asterisk for
      information and a definitive source of truth.
      
      ASTERISK-29335
      
      Change-Id: Ifbfd5c700049cf320a3e45351ac65dd89bc99d90
      60800b03
    • Joshua C. Colp's avatar
      xml: Embed module information into core XML documentation. · 149e5e5b
      Joshua C. Colp authored
      This change embeds the MODULEINFO block of modules
      into the core XML documentation. This provides a shared
      mechanism for use by both menuselect and Asterisk for
      information and a definitive source of truth.
      
      ASTERISK-29335
      
      Change-Id: Ifbfd5c700049cf320a3e45351ac65dd89bc99d90
      149e5e5b
  15. Apr 20, 2020
    • Alexander Traud's avatar
      cdr_odbc: Sync load- and build-time deps. · abf4d743
      Alexander Traud authored
      MODULEINFO is checked while buidling/linking the module.
      AST_MODULE_INFO is checked while loading/running the module.
      
      ASTERISK-28838
      
      Change-Id: I55dc05ce19552d0415c9045021b42bd82ef44e52
      abf4d743
  16. Oct 14, 2019
    • Christoph Moench-Tegeder's avatar
      cdr_pgsql cel_pgsql res_config_pgsql: compatibility with PostgreSQL 12 · 52ade184
      Christoph Moench-Tegeder authored
      PostgreSQL 12 finally removed column adsrc from table pg_catalog.pg_attrdef
      (column default values), which has been deprecated since version 8.0.
      Since then, the official/correct/supported way to retrieve the column
      default value from the catalog is function pg_catalog.pg_get_expr().
      
      This change breaks compatibility with pre-8.0 PostgreSQL servers,
      but has reached end-of-support more than a decade ago.
      cdr_pgsql and res_config_pgsql still have support for pre-7.3
      servers, but cleaning that up is perhaps a topic for a major release,
      not this bugfix.
      
      ASTERISK-28571
      
      Change-Id: I834cb3addf1937e19e87ede140bdd16cea531ebe
      52ade184
  17. Jun 04, 2019
    • Chris-Savinovich's avatar
      cdr_pgsql: fix error in connection string · e61f2af8
      Chris-Savinovich authored
      Fixes an error occurring in function pgsql_reconnect() caused when value of
      hostname is blank. Which in turn will cause the connection string to look
      like this: "host= port=xx", which creates a sintax error. This fix now checks
      if the corresponding values for host, port, dbname, and user are blank. Note
      that since this is a reconnect function the database library will replace any
      missing value pairs with default ones.
      
      ASTERISK-28435
      
      Change-Id: I0a921f99bbd265768be08cd492f04b30855b8423
      e61f2af8
  18. Feb 07, 2019
    • Joshua Colp's avatar
      res_odbc: Add basic query logging. · 54a912b2
      Joshua Colp authored
      When Asterisk is connected and used with a database the response
      time of the database can cause problems in Asterisk if it is long.
      Normally the only way to see this problem would be to retrieve a
      backtrace from Asterisk and examine where things are blocked, or
      examine the database to see if there is any indication of a
      problem.
      
      This change adds some basic query logging to make it easier to
      investigate such a problem. When logging is enabled res_odbc will
      now keep track of the number of queries executed, as well as the
      query that has taken the longest time to execute. There is also
      an option which will cause a WARNING message to be output if a
      query takes longer than a configurable amount of time to execute.
      
      This makes it easier and clearer for users that their database may
      be experiencing a problem that could impact Asterisk.
      
      ASTERISK-28277
      
      Change-Id: I173cf4928b10754478a6a8c27dfa96ede0f058a6
      54a912b2
  19. Jul 18, 2018
  20. Mar 14, 2018
    • Corey Farrell's avatar
      loader: Convert reload_classes to built-in modules. · 572a508e
      Corey Farrell authored
      * 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
      572a508e
  21. Mar 07, 2018
  22. Mar 06, 2018
  23. Jan 10, 2018
    • Sean Bright's avatar
      cdr_syslog: Deprecate unmaintained module · 9e2fcb82
      Sean Bright authored
      There has been an open issue against cdr_syslog (ASTERISK~14441) about
      a race condition for 7.5 years that has never been addressed. Because
      this module is effectively unmaintained and currently broken, there is
      no sense in keeping it around.
      
      If logging CDRs to syslog is a desirable feature, it would probably be
      better to write the logs directly to the syslog server via socket
      instead of using the facilities provided by openlog/syslog/closelog.
      Doing so would address the race condition referenced in the associated
      issue.
      
      Change-Id: Ic77b94cd97f355a9cf5b1d3f3444964a6e0ba5dc
      9e2fcb82
  24. Dec 22, 2017
  25. Oct 20, 2017
  26. Sep 09, 2017
  27. May 25, 2017
    • Martin Tomec's avatar
      Sqlite3: make busy_timeout configurable. · 44c5a144
      Martin Tomec authored
      Enables runtime configuration of busy_timeout for sqlite databases.
      Default timeout remains 1000ms.
      
      ASTERISK-27014 #close
      
      Change-Id: I8921a3aac3c335843be4cb17d2dd0a5c157a36da
      44c5a144
  28. Apr 12, 2017
    • George Joseph's avatar
      modules: change module LOAD_FAILUREs to LOAD_DECLINES · 747beb1e
      George Joseph authored
      In all non-pbx modules, AST_MODULE_LOAD_FAILURE has been changed
      to AST_MODULE_LOAD_DECLINE.  This prevents asterisk from exiting
      if a module can't be loaded.  If the user wishes to retain the
      FAILURE behavior for a specific module, they can use the "require"
      or "preload-require" keyword in modules.conf.
      
      A new API was added to logger: ast_is_logger_initialized().  This
      allows asterisk.c/check_init() to print to the error log once the
      logger subsystem is ready instead of just to stdout.  If something
      does fail before the logger is initialized, we now print to stderr
      instead of stdout.
      
      Change-Id: I5f4b50623d9b5a6cb7c5624a8c5c1274c13b2b25
      747beb1e
  29. Mar 30, 2017
Loading