Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 28, 2015
  3. Jul 25, 2014
  4. Jul 20, 2014
  5. May 09, 2014
  6. Feb 05, 2014
  7. Aug 08, 2013
    • Matthew Jordan's avatar
      Improve disk writes for wav49 format · 16fd65bb
      Matthew Jordan authored
      Writing to a file in the wav49 format performs rather inefficiently. The
      procedure is approximately:
       (1) Write GSM frame to the end of the file
       (2) Seek to the end of the file
       (3) Seek to the header
       (4) Update the file size
       (5) Seek (again) to the end of the file
       (6) Repeat
      
      This pattern negates any attempt to use the stdio buffering setup in
      ast_writefile. It also results in many small writes that require a seek going
      to the disk each second which translates to poor disk performance on certain
      file systems, particularly when there are multiple wav49 files being written
      simultaneously.
      
      (closes issue ASTERISK-19595)
      Reported by: Byron Clark
      Tested by: Byron Clark
      patches:
        gsm_wav_only_update_header_on_close.patch uploaded by byronclark (License 6157)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      16fd65bb
  8. Oct 14, 2012
  9. 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
  10. Jun 07, 2012
  11. Apr 29, 2012
  12. Apr 17, 2012
  13. Apr 16, 2012
  14. Apr 06, 2012
  15. Feb 16, 2012
  16. Feb 14, 2012
  17. Feb 08, 2012
  18. Nov 09, 2011
  19. Jul 29, 2011
  20. Jul 14, 2011
  21. Jul 08, 2011
  22. Jul 07, 2011
  23. May 16, 2011
  24. May 03, 2011
  25. Apr 25, 2011
  26. Feb 22, 2011
    • David Vossel's avatar
      Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd... · d760e81f
      David Vossel authored
      Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff
      
      -Functional changes
      1. Dynamic global format list build by codecs defined in codecs.conf
      2. SILK 8khz, 12khz, 16khz, and 24khz with custom attributes defined in codecs.conf
      3. Negotiation of SILK attributes in chan_sip.
      4. SPEEX 32khz with translation
      5. SLINEAR 8khz, 12khz, 24khz, 32khz, 44.1khz, 48khz, 96khz, 192khz with translation
         using codec_resample.c
      6. Various changes to RTP code required to properly handle the dynamic format list
         and formats with attributes.
      7. ConfBridge now dynamically jumps to the best possible sample rate.  This allows
         for conferences to take advantage of HD audio (Which sounds awesome)
      8. Audiohooks are no longer limited to 8khz audio, and most effects have been
         updated to take advantage of this such as Volume, DENOISE, PITCH_SHIFT.
      9. codec_resample now uses its own code rather than depending on libresample.
      
      -Organizational changes
      Global format list is moved from frame.c to format.c
      Various format specific functions moved from frame.c to format.c
      
      Review: https://reviewboard.asterisk.org/r/1104/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@308582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d760e81f
  27. Feb 03, 2011
  28. Sep 02, 2010
  29. Jul 26, 2010
  30. Jul 20, 2010
  31. Jun 16, 2010
  32. Apr 20, 2010
  33. Dec 08, 2009
    • Russell Bryant's avatar
      Set a module load priority for format modules. · 8ab22f5d
      Russell Bryant authored
      A recent change to app_voicemail made it such that the module now assumes that
      all format modules are available while processing voicemail configuration.
      However, when autoloading modules, it was possible that app_voicemail was
      loaded before the format modules.  Since format modules don't depend on
      anything, set a module load priority on them to ensure that they get loaded
      first when autoloading.
      
      This fix applies to trunk, 1.6.1, and 1.6.2.  The fix for 1.4 and 1.6.0 will
      require a different approach since the module load priority functionality is
      not present in the module API.
      
      (issue #16412)
      Reported by: jiddings
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8ab22f5d
  34. Nov 04, 2009
  35. Oct 19, 2009
  36. Jun 15, 2009
  37. May 21, 2009
    • Kevin P. Fleming's avatar
      Const-ify the world (or at least a good part of it) · e6b2e9a7
      Kevin P. Fleming authored
      This patch adds 'const' tags to a number of Asterisk APIs where they are appropriate (where the API already demanded that the function argument not be modified, but the compiler was not informed of that fact). The list includes:
      
      - CLI command handlers
      - CLI command handler arguments
      - AGI command handlers
      - AGI command handler arguments
      - Dialplan application handler arguments
      - Speech engine API function arguments
      
      In addition, various file-scope and function-scope constant arrays got 'const' and/or 'static' qualifiers where they were missing.
      
      Review: https://reviewboard.asterisk.org/r/251/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e6b2e9a7
Loading