Skip to content
Snippets Groups Projects
  1. Sep 29, 2014
  2. Sep 27, 2014
  3. Sep 26, 2014
  4. Sep 25, 2014
  5. Sep 24, 2014
  6. Sep 23, 2014
    • Mark Michelson's avatar
      Make CDR and CEL unit tests less FRACKy. · a89964a5
      Mark Michelson authored
      Prior to this commit, CDR and CEL tests were expected to trigger
      FRACKs (i.e. assertions) due to the fact that the channels they
      create have no formats on them. Some code was independently added
      recently that attempts to prevent FRACKs from occurring by failing
      early when attempting to set up translation paths if one or both
      channels support no formats. Unfortunately, this attempt to be helpful
      made the CDR and CEL tests go from simply FRACKing to outright
      failing and in some cases, failing so badly as to crash Asterisk.
      
      This commit seeks to correct past mistakes by adding the ulaw format
      to channels created by the CDR and CEL unit tests. This makes setting
      up translation paths succeed, eliminates previously-seen FRACKs, and
      ultimately causes the unit tests to succeed again.
      
      Review: https://reviewboard.asterisk.org/r/4014
      ........
      
      Merged revisions 423783 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a89964a5
  7. Sep 22, 2014
  8. Sep 21, 2014
    • Matthew Jordan's avatar
      main/channel: Unlock channel in off-nominal path · 64a9e5f0
      Matthew Jordan authored
      In r423414 (13) / r423415 (trunk), an API call that determines if a format
      capability structure is empty was added. This returns true if the format
      capability structure is completely empty or "none". A check for this was added
      in channel.c's set_format call. Unfortunately, when this check was true, it
      returned from the function while still holding the channel lock. This caused
      the CDR unit tests - which have a tendency to create channels with no formats -
      to deadlock. Whoops.
      
      This patch unlocks the channel on the off-nominal path.
      ........
      
      Merged revisions 423641 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      64a9e5f0
  9. Sep 20, 2014
  10. Sep 19, 2014
  11. Sep 18, 2014
  12. Sep 17, 2014
  13. Sep 16, 2014
Loading