Skip to content
Snippets Groups Projects
  1. Nov 09, 2011
  2. Jul 29, 2011
  3. Jul 14, 2011
  4. Jul 08, 2011
  5. Jul 07, 2011
  6. May 16, 2011
  7. May 03, 2011
  8. Apr 25, 2011
  9. 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
  10. Feb 03, 2011
  11. Sep 02, 2010
  12. Jul 26, 2010
  13. Jul 20, 2010
  14. Jun 16, 2010
  15. Apr 20, 2010
  16. 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
  17. Nov 04, 2009
  18. Oct 19, 2009
  19. Jun 15, 2009
  20. 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
  21. Apr 08, 2009
  22. Feb 15, 2009
  23. Feb 13, 2009
    • Kevin P. Fleming's avatar
      Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C... · 2a53f2ec
      Kevin P. Fleming authored
      Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C (also known as Siren7 and Siren14)
      
      This patch adds passthrough, file recording and file playback support for the codecs listed above, with negotiation over SIP/SDP supported. Due to Asterisk's current limitation of treating a codec/bitrate combination as a unique codec, only G.722.1 at 32 kbps and G.722.1C at 48 kbps are supported.
      
      Along the way, some related work was done:
      
      1) The rtpPayloadType structure definition, used as a return result for an API call in rtp.h, was moved from rtp.c to rtp.h so that the API call was actually usable. The only previous used of the API all was chan_h323.c, which had a duplicate of the structure definition instead of doing it the right way.
      
      2) The hardcoded SDP sample rates for various codecs in chan_sip.c were removed, in favor of storing these sample rates in rtp.c along with the codec definitions there. A new API call was added to allow retrieval of the sample rate for a given codec.
      
      3) Some basic 'a=fmtp' parsing for SDP was added to chan_sip, because chan_sip *must* decline any media streams offered for these codecs that are not at the bitrates that we support (otherwise Bad Things (TM) would result).
      
      Review: http://reviewboard.digium.com/r/158/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@175508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2a53f2ec
  24. Dec 08, 2008
  25. Nov 02, 2008
  26. Oct 09, 2008
  27. Sep 22, 2008
  28. Aug 07, 2008
  29. Jul 08, 2008
  30. May 22, 2008
  31. Apr 03, 2008
  32. Mar 28, 2008
  33. Mar 07, 2008
    • Russell Bryant's avatar
      Merge changes from team/russell/g722-sillyness ... · 5ca5d976
      Russell Bryant authored
      Fix a number of other places where the number of samples in a G722 frame was
      not properly handled because of various reasons.
      
      main/rtp.c:
       - When a G722 frame is read from the smoother, the number of samples in the
         frame must be divided by 2 before being sent out over the network.  Even
         though G722 is 16 kHz, an error in some previous spec has made it so that
         we have to list the number of samples such as if it was 8 kHz.
      
      main/file.c:
       - When scheduling the next time to expect a frame, take into account that the
         format of the file we're reading from may not be 8 kHz.
      
      codecs/codec_g722.c:
       - When converting from G722 to slinear, g722_decode() expects its samples
         parameter to be in the silly (real samples / 2) format.  Make it so.
       - When converting from slinear to G722, properly set the number of samples in
         the frame to be the number of bytes of output * 2.
      
      formats/format_pcm.c:
       - This format module handles G722, among a number of other formats.  However,
         the read() and seek() functions did not account for the fact that G722 has
         2 samples per byte.
      
      (closes issue #12130, reported by rickross, patched by me)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5ca5d976
  34. Jan 10, 2008
Loading