Skip to content
Snippets Groups Projects
  1. Feb 24, 2015
    • Kevin Harwell's avatar
      bridge_softmix: G.729 codec license held · 5c89e951
      Kevin Harwell authored
      When more than one call using the same codec type enters into a softmix bridge
      and no audio is present for a channel the bridge optimizes the out frame by
      using the same one for all channels with the same codec type. Unfortunately,
      when that number (channels with same codec type) dropped to <= 1 the codec
      was not dereferenced. At least not until all parties left the bridge. Thus in
      the case of G.729 the license was not released. This patch ensures that the
      codec is dereferenced immediately when the optimization no longer applies.
      
      ASTERISK-24797 #close
      Reported by: Luke Hulsey
      Review: https://reviewboard.asterisk.org/r/4429/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5c89e951
  2. Feb 11, 2015
  3. May 09, 2014
  4. Sep 18, 2013
  5. Nov 05, 2012
    • Matthew Jordan's avatar
      Refactor ast_timer_ack to return an error and handle the error in timer users · f0cd27e0
      Matthew Jordan authored
      Currently, if an acknowledgement of a timer fails Asterisk will not realize
      that a serious error occurred and will continue attempting to use the timer's
      file descriptor.  This can lead to situations where errors stream to the
      CLI/log file.  This consumes significant resources, masks the actual problem
      that occurred (whatever caused the timer to fail in the first place), and
      can leave channels in odd states.
      
      This patch propagates the errors in the timing resource modules up through
      the timer core, and makes users of these timers handle acknowledgement
      failures.  It also adds some defensive coding around the use of timers
      to prevent using bad file descriptors in off nominal code paths.
      
      Note that the patch created by the issue reporter was modified slightly for
      this commit and backported to 1.8, as it was originally written for
      Asterisk 10.
      
      Review: https://reviewboard.asterisk.org/r/2178/
      
      (issue ASTERISK-20032)
      Reported by: Jeremiah Gowdy
      patches:
        jgowdy-timerfd-6-22-2012.diff uploaded by Jeremiah Gowdy (license 6358)
      ........
      
      Merged revisions 375893 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 375894 from http://svn.asterisk.org/svn/asterisk/branches/10
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@375895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f0cd27e0
  6. Oct 30, 2012
  7. Mar 13, 2012
  8. Feb 29, 2012
  9. Feb 24, 2012
  10. Feb 20, 2012
  11. Feb 13, 2012
  12. Jan 13, 2012
  13. Jan 09, 2012
    • Terry Wilson's avatar
      Replace direct access to channel name with accessor functions · 04da92c3
      Terry Wilson authored
      There are many benefits to making the ast_channel an opaque handle, from
      increasing maintainability to presenting ways to kill masquerades. This patch
      kicks things off by taking things a field at a time, renaming the field to
      '__do_not_use_${fieldname}' and then writing setters/getters and converting the
      existing code to using them. When all fields are done, we can move ast_channel
      to a C file from channel.h and lop off the '__do_not_use_'.
      
      This patch sets up main/channel_interal_api.c to be the only file that actually
      accesses the ast_channel's fields directly. The intent would be for any API
      functions in channel.c to use the accessor functions. No more monkeying around
      with channel internals. We should use our own APIs.
      
      The interesting changes in this patch are the addition of
      channel_internal_api.c, the moving of the AST_DATA stuff from channel.c to
      channel_internal_api.c (note: the AST_DATA stuff will have to be reworked to
      use accessor functions when ast_channel is really opaque), and some re-working
      of the way channel iterators/callbacks are handled so as to avoid creating fake
      ast_channels on the stack to pass in matching data by directly accessing fields
      (since "name" is a stringfield and the fake channel doesn't init the
      stringfields, you can't use the ast_channel_name_set() function). I went with
      ast_channel_name(chan) for a getter, and ast_channel_name_set(chan, name) for a
      setter.
      
      The majority of the grunt-work for this change was done by writing a semantic
      patch using Coccinelle ( http://coccinelle.lip6.fr/ ).
      
      Review: https://reviewboard.asterisk.org/r/1655/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      04da92c3
  14. Dec 13, 2011
  15. Jul 14, 2011
  16. Jul 11, 2011
  17. Jun 30, 2011
  18. May 05, 2011
  19. Apr 21, 2011
  20. 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
  21. Feb 03, 2011
  22. Feb 18, 2010
  23. Nov 04, 2009
  24. Jun 26, 2009
    • Russell Bryant's avatar
      Merge the new Channel Event Logging (CEL) subsystem. · 0264eef1
      Russell Bryant authored
      CEL is the new system for logging channel events.  This was inspired after
      facing many problems trying to represent what is possible to happen to a call
      in Asterisk using CDR records.  For more information on CEL, see the built in
      HTML or PDF documentation generated from the files in doc/tex/.
      
      Many thanks to Steve Murphy (murf) and Brian Degenhardt (bmd) for their hard
      work developing this code.  Also, thanks to Matt Nicholson (mnicholson) and
      Sean Bright (seanbright) for their assistance in the final push to get this
      code ready for Asterisk trunk.
      
      Review: https://reviewboard.asterisk.org/r/239/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      0264eef1
  25. Mar 27, 2009
  26. Mar 05, 2009
Loading