Skip to content
Snippets Groups Projects
  1. Jul 18, 2014
  2. Jul 17, 2014
  3. Jul 16, 2014
  4. Jul 15, 2014
  5. Jul 14, 2014
  6. Jul 13, 2014
  7. Jul 11, 2014
  8. Jul 10, 2014
  9. Jul 09, 2014
  10. Jul 08, 2014
  11. Jul 07, 2014
    • Joshua Colp's avatar
      res_pjsip_dialog_info_body_generator: Add dialog-info+xml support for presence. · 534ffd84
      Joshua Colp authored
      This module implements dialog-info+xml for the purposes of presence. This means
      that phones such as Grandstreams can now subscribe to receive presence information
      for an extension.
      
      ASTERISK-21443 #close
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/3705/
      ........
      
      Merged revisions 418116 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      534ffd84
    • Matthew Jordan's avatar
      ARI/res_stasis: Subscribe to both Local channel halves when originating to app · d4b436d0
      Matthew Jordan authored
      This patch fixes two bugs:
      
      1. When originating a channel into a Stasis application, we already create a
         subscription for the channel that is going into our Stasis app.
         Unfortunately, when you create a Local channel and pass it off to a Stasis
         app, you really aren't creating just one channel: you're creating two. This
         patch snags the second half of the Local channel pair (assuming it is a
         Local channel pair, but luckily core_local is kind about such assumptions)
         and subscribes to it as well.
      
      2. Subscriptions are a bit sticky right now. If a subscription is made, the
         'interest' count gets bumped on the Stasis subscription - but unless
         something explicitly unsubscribes the channel, said subscription sticks
         around. This is not much of a problem is a user is creating the subscription
         - if they made it, they must want it. However, when we are creating
         implicit subscriptions, we need to make sure something clears them out.
         This patch takes a pessimistic approach: it watches the cache updates
         coming from Stasis and, if we notice that the cache just cleared out an
         object, we delete our subscription object. This keeps our ao2 container of
         Stasis forwards in an application from growing out of hand; it also is a
         bit more forgiving for end users who may not realize they were supposed to
         unsubscribe from that channel that just hung up.
      
      Review: https://reviewboard.asterisk.org/r/3710/
      #ASTERISK-23939 #close
      ........
      
      Merged revisions 418089 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d4b436d0
Loading