Skip to content
Snippets Groups Projects
  1. Jun 04, 2014
  2. Jun 03, 2014
  3. Jun 01, 2014
  4. May 30, 2014
  5. May 29, 2014
  6. May 28, 2014
  7. May 27, 2014
  8. May 25, 2014
    • Matthew Jordan's avatar
      core_unreal: Prevent double free of core_unreal pvt · 09bbfa76
      Matthew Jordan authored
      When a channel is destroyed (such as via ast_channel_release in off nominal
      paths in core_unreal), it will attempt to free (via ast_free) the channel tech
      pvt. This is problematic for a few reasons:
      1. The channel tech pvt is an ao2 object in core_unreal. Free'ing the pvt
         directly is no good.
      2. The channel tech pvt's reference count is dropped just prior to calling
         ast_channel_release, resulting in the pvt's destruction. Hence, the
         channel destructor is free'ing an invalid pointer.
      
      This patch keeps the dropping of the reference count, but sets the pvt to
      NULL on the channel prior to releasing it. This models what would occur if the
      channel was hung up directly.
      ........
      
      Merged revisions 414542 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      09bbfa76
  9. May 23, 2014
  10. May 22, 2014
  11. May 21, 2014
  12. May 19, 2014
  13. May 18, 2014
    • Matthew Jordan's avatar
      bridge_native_rtp/bridge_channel: Fix direct media issues due to frame hook · 17ff4d92
      Matthew Jordan authored
      This patch fixes issues with direct media bridges that occur after a blind
      transfer. These issues were caught by the (currently failing)
      pjsip/transfers/blind_transfer/caller_direct_media test.
      
      The test currently fails primarily for two reasons:
      (1) When Bob and Charlie (the transfer target and the transfer destination)
          enter a bridge together, the framehook remains on the transfer target
          channel until both channels are in the bridge. As it consumes voice frames,
          the initial bridge type is a simple bridge. The framehook is removed when
          both channels are in the bridge; however, this does not currently cause the
          bridging framework to re-evaluate the bridge. This patch adds a
          AST_SOFTHANGUP_UNBRIDGE poke to the transfer target channel when a
          framehook is removed so the bridge can re-evaluate itself.
      
      (2) When a channel leaves a native RTP bridge, it may be leaving due to being
          hung up. Sending a re-INVITE to a channel that is about to be hung up is
          not nice - in fact, there's a good chance we'll send the BYE request before
          the channel has had a chance to send back a 200 OK. To be somewhat nicer,
          this patch adds a function to channel.h that allows the bridging framework
          to query for exactly why a channel is leaving a bridge via the channel's
          soft hangup flags. This allows it to only send the re-INVITE if there's a
          chance the channel will survive the native bridging experience.
      
      Review: https://reviewboard.asterisk.org/r/3535/
      ........
      
      Merged revisions 414122 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      17ff4d92
  14. May 16, 2014
  15. May 15, 2014
  16. May 14, 2014
  17. May 13, 2014
Loading