Skip to content
Snippets Groups Projects
  1. Nov 09, 2023
  2. Oct 03, 2023
  3. Dec 01, 2022
  4. May 09, 2022
    • George Joseph's avatar
      GCC12: Fixes for 16+ · 4aa54168
      George Joseph authored
      Most issues were in stringfields and had to do with comparing
      a pointer to an constant/interned string with NULL.  Since the
      string was a constant, a pointer to it could never be NULL so
      the comparison was always "true".  gcc now complains about that.
      
      There were also a few issues where determining if there was
      enough space for a memcpy or s(n)printf which were fixed
      by defining some of the involved variables as "volatile".
      
      There were also a few other miscellaneous fixes.
      
      ASTERISK-30044
      
      Change-Id: Ia081ca1bcfb329df6487c4660aaf1944309eb570
      4aa54168
  5. Jan 06, 2022
    • Sean Bright's avatar
      utils.c: Remove all usages of ast_gethostbyname() · 0bbef4d8
      Sean Bright authored
      gethostbyname() and gethostbyname_r() are deprecated in favor of
      getaddrinfo() which we use in the ast_sockaddr family of functions.
      
      ASTERISK-29819 #close
      
      Change-Id: Ie277c0ef768d753b169c121ef570a71665692ab7
      0bbef4d8
    • Sean Bright's avatar
      utils.c: Remove all usages of ast_gethostbyname() · 0d62735f
      Sean Bright authored
      gethostbyname() and gethostbyname_r() are deprecated in favor of
      getaddrinfo() which we use in the ast_sockaddr family of functions.
      
      ASTERISK-29819 #close
      
      Change-Id: Ie277c0ef768d753b169c121ef570a71665692ab7
      0d62735f
  6. Nov 18, 2021
  7. Nov 16, 2021
    • Josh Soref's avatar
      addons: Spelling fixes · 01697d48
      Josh Soref authored
      Correct typos of the following word families:
      
      definition
      listener
      fastcopy
      logical
      registration
      classify
      documentation
      explicitly
      dialed
      endpoint
      elements
      arithmetic
      might
      prepend
      byte
      terminal
      inquiry
      skipping
      aliases
      calling
      absent
      authentication
      transmit
      their
      ericsson
      disconnecting
      redir
      items
      client
      adapter
      transmitter
      existing
      satisfies
      pointer
      interval
      supplied
      
      ASTERISK-29714
      
      Change-Id: I8548438246f7b718d88e0b9e0a1eb384bbec88e4
      01697d48
    • Josh Soref's avatar
      addons: Spelling fixes · 49ef881e
      Josh Soref authored
      Correct typos of the following word families:
      
      definition
      listener
      fastcopy
      logical
      registration
      classify
      documentation
      explicitly
      dialed
      endpoint
      elements
      arithmetic
      might
      prepend
      byte
      terminal
      inquiry
      skipping
      aliases
      calling
      absent
      authentication
      transmit
      their
      ericsson
      disconnecting
      redir
      items
      client
      adapter
      transmitter
      existing
      satisfies
      pointer
      interval
      supplied
      
      ASTERISK-29714
      
      Change-Id: I8548438246f7b718d88e0b9e0a1eb384bbec88e4
      49ef881e
  8. Oct 21, 2021
    • Mike Bradeen's avatar
      various: Fix GCC 11 compilation issues. · 99a1a427
      Mike Bradeen authored
      test_voicemail_api: Use empty char* for empty_msg_ids.
      chan_skinny: Fix size of calledParty to be maximum extension.
      menuselect: Change Makefile to stop deprecated warnings. Added comments
      test_linkedlist: 'bogus' variable was manually allocated from a macro
      and the test fails if this happens but the compiler couldn't 'see' this
      and returns a warning. memset to all 0's after allocation.
      chan_ooh323: Fixed various indentation issues that triggered misleading
       indentation warnings.
      
      ASTERISK-29682
      Reported by: George Joseph
      
      Change-Id: If4fe42222c8444dc16828a42731ee53b4ce5cbbe
      99a1a427
    • Mike Bradeen's avatar
      various: Fix GCC 11 compilation issues. · 0b2646ae
      Mike Bradeen authored
      test_voicemail_api: Use empty char* for empty_msg_ids.
      chan_skinny: Fix size of calledParty to be maximum extension.
      menuselect: Change Makefile to stop deprecated warnings. Added comments
      test_linkedlist: 'bogus' variable was manually allocated from a macro
      and the test fails if this happens but the compiler couldn't 'see' this
      and returns a warning. memset to all 0's after allocation.
      chan_ooh323: Fixed various indentation issues that triggered misleading
       indentation warnings.
      
      ASTERISK-29682
      Reported by: George Joseph
      
      Change-Id: If4fe42222c8444dc16828a42731ee53b4ce5cbbe
      0b2646ae
  9. Aug 17, 2021
  10. 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
  11. 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
  12. Nov 03, 2020
  13. Jun 10, 2020
    • Kevin Harwell's avatar
      Compiler fixes for gcc 10 · 3d1bf3c5
      Kevin Harwell authored
      This patch fixes a few compile warnings/errors that now occur when using gcc
      10+.
      
      Also, the Makefile.rules check to turn off partial inlining in gcc versions
      greater or equal to 8.2.1 had a bug where it only it only checked against
      versions with at least 3 numbers (ex: 8.2.1 vs 10). This patch now ensures
      any version above the specified version is correctly compared.
      
      Change-Id: I54718496eb0c3ce5bd6d427cd279a29e8d2825f9
      3d1bf3c5
  14. Apr 27, 2020
    • Peter Turczak's avatar
      chan_mobile: Add smoother to make SIP/RTP endpoints happy. · 3303defd
      Peter Turczak authored
      In contrast to RFC 3551, section 4.2, several SIP/RTP clients misbehave
      severly (up to crashing). This patch adds another smoother for the audio
      received via bt. Therefore the audio frames sent to the core will be
      CHANNEL_FRAME_SIZE.
      
      ASTERISK-28832 #close
      
      Change-Id: Ic5f9e2f35868ae59cc9356afbd1388b779a1267f
      3303defd
  15. Feb 24, 2020
    • Jaco Kroon's avatar
      addons/res_config_mysql: silense warnings about printf format errors. · 5cd7230f
      Jaco Kroon authored
      Warnings without this:
      
      res_config_mysql.c: In function 'update2_mysql':
      res_config_mysql.c:741:15: warning: format '%llu' expects argument of type
          'long long unsigned int', but argument 6 has type 'my_ulonglong'
          {aka 'long unsigned int'} [-Wformat=]
      ast_debug(1, "MySQL RealTime: Updated %llu rows on table: %s\n",
          numrows, tablename);
      
      (reformatted for readability within line-wrap)
      
      Change-Id: I2af4d419a37c1a7eeee750cf9ae4a9a2b3a37fd3
      5cd7230f
  16. Dec 16, 2019
  17. Nov 07, 2019
  18. Oct 04, 2019
  19. Apr 10, 2019
    • Alexander Anikin's avatar
      chan_ooh323: fix h323 log file path · a8f1e26d
      Alexander Anikin authored
      Change h323 log path relative to AST_LOG_DIR instead of
      /var/log/asterisk hardcoded
      Add return back error message from OOH323EP initialize
      
      ASTERISK-28348 #close
      
      Reported by: Dmitry Shubin
      
      Change-Id: Ib102dd36bbe6c2a7a4ce6870ae9110d9000d7e98
      a8f1e26d
  20. Oct 18, 2018
    • Richard Mudgett's avatar
      Fix 'statement' typo throughout code. · 467f7c67
      Richard Mudgett authored
      Most were in comments.  A couple were in warning messages.
      
      Pointed out by Jonathan H on the Asterisk users mailing list.
      
      Change-Id: I6286939dff5d0a27a2758140570106f1cb351855
      467f7c67
  21. Jul 09, 2018
  22. Jun 07, 2018
  23. May 17, 2018
    • Brian P. Martin's avatar
      chan_mobile: support handling of caller-id names ("cnam"). · 52ed6bcc
      Brian P. Martin authored
      Add support to handle caller-ID names ("cnam") in addition to caller-ID
      numbers.  The prior code ignored the caller-ID name altogether, and
      used the local name for the cell phone (e.g. "my-iphone") in its place.
      
      Note: as of this writing, at least some Android phones don't pass cnam to
      us. This can be seen by issuing "core set debug 2" in the CLI and watching
      the "CLIP" record when a call comes in.  If cnam isn't in the CLIP record,
      there's nothing we can do to provide one.  We'll provide a null cnam field,
      so later Asterisk processes know to try other sources (e.g. cidname database,
      OpenCNAM, etc.).
      
      Reported by: Brian Martin
      Tested by: Brian Martin
      ASTERISK-27726
      
      Change-Id: I89490d85fa406c36261879c50ae5e65595538ba5
      52ed6bcc
  24. May 11, 2018
    • Corey Farrell's avatar
      Fix GCC 8 build issues. · b5914d90
      Corey Farrell authored
      This fixes build warnings found by GCC 8.  In some cases format
      truncation is intentional so the warning is just suppressed.
      
      ASTERISK-27824 #close
      
      Change-Id: I724f146cbddba8b86619d4c4a9931ee877995c84
      b5914d90
  25. May 06, 2018
  26. Apr 20, 2018
  27. Apr 18, 2018
    • Alexander Anikin's avatar
      chan_ooh323: introduce localras config parameter · 95e84501
      Alexander Anikin authored
      Introduce localras parameter that specify source IP
      for connecting to Gatekeeper. Useful for multihome configurations.
      
      ASTERISK-25129 #close
      Reported by: Dmitry Melekhov
      Tested by: Dmitry Melekhov
      
      Change-Id: I0b604b01793f3e02a776502659e07cd3fc7e3097
      95e84501
    • Alexander Anikin's avatar
      chan_ooh323: Fix cppcheck warnings · 446320f1
      Alexander Anikin authored
      Fix cppcheck warnings about redundant conditions and possible
      null pointer usage
      
      ASTERISK-27793 #close
      Reported by: Ilya Shipitsin
      Tested by: Ilya Shipitsin
      
      Change-Id: I0b31933b062a23331dbac9a82b8bcfe345f406f6
      446320f1
  28. Apr 11, 2018
  29. 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
  30. Mar 07, 2018
  31. Jan 22, 2018
  32. Jan 12, 2018
Loading