Skip to content
Snippets Groups Projects
  1. Feb 12, 2018
    • Alexander Traud's avatar
      codecs: Add support for WebRTC iLBC 2.0. · 97f45d58
      Alexander Traud authored
      When the latest version of that library was installed, Asterisk did not build.
      
      ASTERISK-27669
      Reported by: Николай Михо
      
      Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96
      97f45d58
  2. 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
  3. Oct 27, 2016
    • Corey Farrell's avatar
      Remove ASTERISK_REGISTER_FILE. · a6e5bae3
      Corey Farrell authored
      ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes
      all traces of it.
      
      Previously exported symbols removed:
      * __ast_register_file
      * __ast_unregister_file
      * ast_complete_source_filename
      
      This also removes the mtx_prof static variable that was declared when
      MTX_PROFILE was enabled.  This variable was only used in lock.c so it
      is now initialized in that file only.
      
      ASTERISK-26480 #close
      
      Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966
      a6e5bae3
  4. Jul 22, 2016
    • Alexander Traud's avatar
      codecs: Add iLBC 20. · 8fb80700
      Alexander Traud authored
      Asterisk already supported iLBC 30. This change adds iLBC 20. Now, Asterisk
      defaults to iLBC 20 but falls back to iLBC 30, when the remote party requests
      this.
      
      ASTERISK-26218 #close
      ASTERISK-26221 #close
      Reported by: Aaron Meriwether
      
      Change-Id: I07f523a3aa1338bb5217a1bf69c1eeb92adedffa
      8fb80700
  5. Sep 17, 2015
    • Alexander Traud's avatar
      translate: Fix transcoding while different in frame size. · 077adf48
      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
      077adf48
  6. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Refactor the ASTERISK_FILE_VERSION macro · 4a582616
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file. As a
      result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      
      * Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
        remove passing the version in with the macro. Other facilities
        than 'core show file version' make use of the file names, such as
        setting a debug level only on a specific file. As such, the act of
        registering source files with the Asterisk core still has use. The
        macro rename now reflects the new macro purpose.
      
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Remove the "core show file version" CLI command. Without the file
          version, it is no longer useful.
        - Remove the ast_file_version_find function. The file version is no
          longer tracked.
        - Rename ast_register_file_version/ast_unregister_file_version to
          ast_register_file/ast_unregister_file, respectively.
      
      * main/manager: Remove value from the Version key of the ModuleCheck
        Action. The actual key itself has not been removed, as doing so would
        absolutely constitute a backwards incompatible change. However, since
        the file version is no longer tracked, there is no need to attempt to
        include it in the Version key.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action
        - Removal of the "core show file version" CLI command
      
      Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e
      4a582616
  7. Jul 20, 2014
  8. Jan 21, 2013
  9. Jul 23, 2012
  10. Jan 18, 2012
  11. Jul 14, 2011
  12. Feb 04, 2011
  13. Feb 03, 2011
  14. Nov 06, 2009
  15. Oct 17, 2008
  16. Jun 26, 2008
  17. Jun 10, 2008
  18. Mar 26, 2008
  19. Nov 22, 2007
  20. Nov 19, 2007
  21. Nov 16, 2007
    • Luigi Rizzo's avatar
      Start untangling header inclusion in a way that does not affect · fdb7f7ba
      Luigi Rizzo authored
      build times - tested, there is no measureable difference before and
      after this commit.
      
      In this change:
      
      use asterisk/compat.h to include a small set of system headers:
      inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
      stdlib.h, alloca.h, stdio.h
      
      Where available, the inclusion is conditional on HAVE_FOO_H as determined
      by autoconf.
      
      Normally, source files should not include any of the above system headers,
      and instead use either "asterisk.h" or "asterisk/compat.h" which does it
      better. 
      
      For the time being I have left alone second-level directories
      (main/db1-ast, etc.).
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fdb7f7ba
  22. Oct 31, 2007
    • Jason Parker's avatar
      More changes to change return values from load_module functions. · 59c9ff7e
      Jason Parker authored
      (issue #11096)
      Patches:
            codec_adpcm.c.patch uploaded by moy (license 222)
            codec_alaw.c.patch uploaded by moy (license 222)
            codec_a_mu.c.patch uploaded by moy (license 222)
            codec_g722.c.patch uploaded by moy (license 222)
            codec_g726.c.diff uploaded by moy (license 222)
            codec_gsm.c.patch uploaded by moy (license 222)
            codec_ilbc.c.patch uploaded by moy (license 222)
            codec_lpc10.c.patch uploaded by moy (license 222)
            codec_speex.c.patch uploaded by moy (license 222)
            codec_ulaw.c.patch uploaded by moy (license 222)
            codec_zap.c.patch uploaded by moy (license 222)
            format_g723.c.patch uploaded by moy (license 222)
            format_g726.c.patch uploaded by moy (license 222)
            format_g729.c.patch uploaded by moy (license 222)
            format_gsm.c.patch uploaded by moy (license 222)
            format_h263.c.patch uploaded by moy (license 222)
            format_h264.c.patch uploaded by moy (license 222)
            format_ilbc.c.patch uploaded by moy (license 222)
            format_jpeg.c.patch uploaded by moy (license 222)
            format_ogg_vorbis.c.patch uploaded by moy (license 222)
            format_pcm.c.patch uploaded by moy (license 222)
            format_sln.c.patch uploaded by moy (license 222)
            format_vox.c.patch uploaded by moy (license 222)
            format_wav.c.patch uploaded by moy (license 222)
            format_wav_gsm.c.patch uploaded by moy (license 222)
            res_adsi.c.patch uploaded by eliel (license 64)
            res_ael_share.c.patch uploaded by eliel (license 64)
            res_clioriginate.c.patch uploaded by eliel (license 64)
            res_convert.c.patch uploaded by eliel (license 64)
            res_indications.c.patch uploaded by eliel (license 64)
            res_musiconhold.c.patch uploaded by eliel (license 64)
            res_smdi.c.patch uploaded by eliel (license 64)
            res_speech.c.patch uploaded by eliel (license 64)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      59c9ff7e
  23. May 24, 2007
  24. Sep 08, 2006
  25. Aug 21, 2006
  26. Jul 07, 2006
  27. Jun 24, 2006
    • Kevin P. Fleming's avatar
      The Eurostar Commit! (it's amazing how much work you can get done on a 150... · e61d3d91
      Kevin P. Fleming authored
      The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
      
      support the new location for zaptel.h and tonezone.h
      use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
      combine the common rules into a top-level Makefile.rules file
      remove all (now) unnecessary stuff from subdir Makefiles
      change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
      alphabetize --with-<foo> options in configure script
      enhance Net-SNMP support in configure script to provide a --with-netsnmp option
      fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
      add 'optional package' usage to modules now that menuselect can output it
      allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e61d3d91
  28. Jun 07, 2006
  29. Apr 14, 2006
    • Luigi Rizzo's avatar
      This rather large commit changes the way modules are loaded. · e43bc663
      Luigi Rizzo authored
       
      As partly documented in loader.c and include/asterisk/module.h,
      modules are now expected to return all of their methods and flags
      into a structure 'mod_data', and are normally loaded with RTLD_NOW
      | RTLD_LOCAL, so symbols are resolved immediately and conflicts
      should be less likely.  Only in a small number of cases (res_*,
      typically) modules are loaded RTLD_GLOBAL, so they can export
      symbols.
       
      The core of the change is only the two files loader.c and
      include/asterisk/module.h, all the rest is simply adaptation of the
      existing modules to the new API, a rather mechanical (but believe
      me, time and finger-consuming!) process whose detail you can figure
      out by svn diff'ing any single module.
      
      Expect some minor compilation issue after this change, please
      report it on mantis http://bugs.digium.com/view.php?id=6968
      so we collect all the feedback in one place.
      
      I am just sorry that this change missed SVN version number 20000!
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e43bc663
  30. Apr 08, 2006
  31. Mar 28, 2006
  32. Mar 25, 2006
  33. Jan 21, 2006
  34. Nov 29, 2005
  35. Nov 06, 2005
Loading