Skip to content
Snippets Groups Projects
  1. Oct 04, 2018
    • Richard Mudgett's avatar
      codec_speex.c: Cleanup module loading to DECLINE and not FAILURE. · f7cc6bad
      Richard Mudgett authored
      If codec_speex fails to register a translator it would cause Asterisk to
      exit instead of continue as a DECLINED module.
      
      * Make unload_module() always return 0.  It is silly to fail unloading if
      any translators we try to unregister were not even registered.
      
      Change-Id: Ia262591f68333dad17673ba7104d11c88096f51a
      f7cc6bad
  2. Aug 27, 2018
    • Corey Farrell's avatar
      Create --disable-binary-modules option. · abb04622
      Corey Farrell authored
      This new option can be passed for ./configure or
      ./tests/CI/buildAsterisk.sh to prevent download/install of binary
      modules.
      
      Normally enabling the categories MENUSELECT_CODECS or MENUSELECT_RES
      will result in binary modules being enabled even if the build target is
      incompatible with those modules.  This includes CI scripts which enable
      categories before disabling specific modules.
      
      If more binary modules are offered in the future this will help avoid
      accidentally downloading them if unwanted or incompatible.  Adding a
      binary module will only require creating a new menuselect entry similar
      to the existing ones, it will not be necessary to modify the CI scripts.
      
      Change-Id: I6b1bd1c75a2e48f05b8b8a45b7a7a2d00a079166
      abb04622
  3. Jun 21, 2018
    • Alexander Traud's avatar
      codecs/ilbc: Compile in Solaris 11. · 81f39649
      Alexander Traud authored
      The symbol FS is the sampling frequency. That symbol is not used in Asterisk at
      all and was a copy-and-paste of the iLBC reference code from the IETF RFC.
      However, in Solaris, that symbol is defined by another header already. To
      compile in Solaris, that symbol has to go.
      
      Change-Id: I91ddbe5be7c00069c3a25abd5f58d7b2f04c51b1
      81f39649
  4. Feb 12, 2018
    • Alexander Traud's avatar
      codecs: Add support for WebRTC iLBC 2.0. · 81bec7c3
      Alexander Traud authored
      When the latest version of that library was installed, Asterisk did not build.
      
      ASTERISK-27669
      Reported by: Николай Михо
      
      Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96
      81bec7c3
  5. Jan 09, 2018
  6. Jan 06, 2018
  7. Dec 22, 2017
  8. Dec 11, 2017
  9. Dec 08, 2017
    • Sean Bright's avatar
      utils: Add convenience function for setting fd flags · f726f119
      Sean Bright authored
      There are many places in the code base where we ignore the return value
      of fcntl() when getting/setting file descriptior flags. This patch
      introduces a convenience function that allows setting or clearing file
      descriptor flags and will also log an error on failure for later
      analysis.
      
      Change-Id: I8b81901e1b1bd537ca632567cdb408931c6eded7
      f726f119
  10. Oct 24, 2017
  11. Apr 12, 2017
    • George Joseph's avatar
      modules: change module LOAD_FAILUREs to LOAD_DECLINES · f882ca25
      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
      f882ca25
  12. Mar 27, 2017
  13. Nov 28, 2016
    • Timo Teräs's avatar
      codec_dahdi: Fix poll.h include. · a1fa9090
      Timo Teräs authored
      POSIX defines poll.h. sys/poll.h should not be used as it is c-library
      internal header which may or may not exist. Notably in musl including
      sys/poll.h generates warning of being incorrect.
      
      Change-Id: Ib318c1c7142a737bcf3caa4d8d72560bebe39252
      a1fa9090
  14. Sep 27, 2016
  15. Sep 06, 2016
    • George Joseph's avatar
      build: Add download capability for external packages · 117a7741
      George Joseph authored
      The DPMA and g729a, silk, siren7 and siren14 codecs hosted at
      http://downloads.digium.com/pub/telephony/ are now listed in the
      "External" sections of the "Resource Modules" and "Codec Translators"
      pages in menuselect.  Any that are selected will automatically be
      downloaded and installed when "make install" is run.  Their LICENSE and
      README (if avaialble) files will be installed to
      ASTVARLIBDIR/documentation/thirdparty/<product_name>.
      
      Example use with codecs:
      
      The codecs/codecs.xml file is a menuselect style xml file that lists
      the codecs to be included.  Their support levels are 'external', which
      triggers the download and install, and defaultenabled is no.  Also
      because codec_g729a is actually in a directory named codec_g729 on the
      download server, the newly added 'member_data' element is used to
      override the default of the directory name being the package name.  You
      can use the 'directory_name' attribute to keep default base URL
      (http://downloads.digium.com/pub/telephony/) but use the new directory,
      or you use the 'remote_url' attribute to specify a full URL to the
      download directory.  In this case, you must still follow the same
      subdirectory naming conventions as that used for the packages located
      at 'http://downloads.digium.com/pub/telephony'.
      
      A new configure option '--with-externals-cache' was added and like
      '--with-sounds-cache' it allows the installer to cache tarballs so
      they're not downloaded every time.
      
      To assist with the download and install process, each external package
      now has a manifest.xml file that, among other things, contains a package
      version and checksums for each file in the tarball.  The manifest is
      saved to both the cache directory and ASTMODDIR and together with the
      manifest.xml on the downloads site, tells the install scripts whether
      a download and/or update is needed.
      
      bash and xmlstarlet are required for downloader operation.  If they're
      not installed, the external items in menuselect will be unavailable.
      
      Change-Id: Id3dcf1289ffd3cb0bbd7dfab3cafbb87be60323a
      117a7741
  16. Dec 08, 2015
  17. Dec 01, 2015
  18. Sep 17, 2015
    • Alexander Traud's avatar
      translate: Fix transcoding while different in frame size. · b88c54fa
      Alexander Traud authored
      When Asterisk translates between codecs, each with a different frame size (for
      example between iLBC 30 and Speex-WB), too large frames were created by
      ast_trans_frameout. Now, ast_trans_frameout is called with the correct frame
      length, creating several frames when necessary. Affects all transcoding modules
      which used ast_trans_frameout: GSM, iLBC, LPC10, and Speex.
      
      ASTERISK-25353 #close
      
      Change-Id: I2e229569d73191d66a4e43fef35432db24000212
      b88c54fa
  19. Jun 02, 2015
    • David M. Lee's avatar
      Fixes for OS X · d908272b
      David M. Lee authored
       * Add some type casting so tv_usec can really be a long, instead of
         some strange platform specific type.
      
       * Add some .dylib style files to .gitignore.
      
       * Switch from using -Xlinker to -Wl,. For [reasons unknown][], newer
         versions of GCC, when compiling the Homebrew formula for Asterisk,
         are not properly passing the -Xlinker options to the linker. Given
         that -Wl, does exactly the [same thing][], and does it properly, this
         patch changes the -Xlinker options to use -Wl, instead.
      
       [reasons unknown]: http://bit.ly/1SUbEYx
       [same thing]: https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
      
      Change-Id: Id5e6b3c6cc86282ea5fca630dc3991137c5bf4dd
      d908272b
  20. Mar 28, 2015
    • Matthew Jordan's avatar
      clang compiler warnings: Fix a variety of "unused" warnings · e126ab9e
      Matthew Jordan authored
      This patch fixes the -Wunused-value -Wunused-variable -Wunused-const-variable
      errors caught by clang. Specifically:
      
      * apps/app_queue.c: removed unused qpm_cmd_usage[], qum_cmd_usage[],
                          qsmp_cmd_usage[]
      * cel/cel_sqlite3_custom.c: removed unused name[] = "cel_sqlite3_custom"
      * channels/chan_pjsip.c: removed unused desc[] = "PJSIP Channel"
      * codecs/gsm/src/gsm_create.c: removed unused ident[] = "$Header$"
      * funcs/func_env.c:729: Fixed ast_str_append_substr.
      * main/editline/np/strlcat.c: removed unused rcsid variable
      * main/editline/np/strlcpy.c: removed unused rcsid variable
      * main/security_events.c: removed unused TIMESTAMP_STR_LEN
      * utils/conf2ael.c: removed unused cfextension_states
      * utils/extconf.c: removed unused cfextension_states
      
      Review: https://reviewboard.asterisk.org/r/4526
      
      ASTERISK-24917
      Reported by: dkdegroot
      patches:
        rb4526.patch submitted by dkdegroot (License 6600)
      ........
      
      Merged revisions 433693 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e126ab9e
  21. Oct 22, 2014
    • Shaun Ruffell's avatar
      codec_dahdi: Cannot use struct ast_translator.core_{src,src}_codec. · 14db1236
      Shaun Ruffell authored
      This fixes a Segmentation fault introduced in r419044 "media formats: re-architect
      handling of media for performance improvements".
      
      The problem is that codec_dahdi was using core_src_codec and core_dst_codec in the
      ast_translator structure when these fields were never set. Now instead of trying to map
      the new core codec descriptions to the way DAHDI defines different codecs, we will store
      the DAHDI specific formats in 'struct translator' directly so we can refer to them without
      mapping.
      
      This also allows us to remove the "global_format_map" structure, since we can now query
      the list of translators directly to make sure we do not ever register a DAHDI based
      translator for a specific path more than once and eliminate the need to keep the list and
      the map in sync.
      
      ASTERISK-24435 #close
      Reported by: Marian Koniuszko
      
      Review: https://reviewboard.asterisk.org/r/4105/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@426097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      14db1236
  22. Jul 25, 2014
  23. Jul 22, 2014
  24. Jul 20, 2014
  25. Jul 15, 2014
  26. Oct 24, 2013
  27. Apr 12, 2013
  28. Mar 19, 2013
  29. Jan 21, 2013
  30. Dec 07, 2012
  31. Oct 22, 2012
  32. Oct 18, 2012
  33. Oct 14, 2012
  34. Sep 25, 2012
  35. Sep 22, 2012
    • Andrew Latham's avatar
      Doxygen Updates Janitor Work · fd98835f
      Andrew Latham authored
      * Whitespace, doc-blocks, spelling, case, missing and incorrect tags.
      * Add cleanup to Makefile for the Doxygen configuration update
      * Start updating Doxygen configuration for cleaner output
      * Enable inclusion of configuration files into documentation
      * remove mantisworkflow...
      * update documentation README
      * Add markup to Tilghman's email and talk with him about updating his email, he knows...
      * no code changes on this commit other than the mentioned Makefile change
      
      (issue ASTERISK-20259)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fd98835f
  36. Sep 21, 2012
    • Andrew Latham's avatar
      Doxygen Updates - janitor work · 6f61cb50
      Andrew Latham authored
      Doxygen updates including mistakes, misspellings, missing parameters, updates for Doxygen style.  Some missing txt file links are removed but their content or essense will be included in some later updates.  A majority of the txt files were removed in the 1.6 era but never noted. The HR and EXTREF are simple changes that make the documentation more compatable with more versions of Doxygen.
      
      Further updates coming.
      
      (issue ASTERISK-20259)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      6f61cb50
  37. Aug 30, 2012
    • Matthew Jordan's avatar
      Clean up doxygen warnings · 8018b879
      Matthew Jordan authored
      This patch fixes numerous doxygen warnings across Asterisk.  It also updates
      the makefile to regenerate the doxygen configuration on the local system
      before running doxygen to help prevent warnings/errors on the local system.
      
      Much thanks to Andrew for tackling one of the Asterisk janitor projects!
      
      (issue ASTERISK-20259)
      Reported by: Andrew Latham
      Patches:
        doxygen_partial.diff uploaded by Andrew Latham (license 5985)
        make_progdocs.diff uploaded by Andrew Latham (license 5985)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8018b879
  38. Jul 23, 2012
Loading