Skip to content
Snippets Groups Projects
  1. May 21, 2013
  2. May 20, 2013
  3. May 19, 2013
  4. May 18, 2013
  5. May 17, 2013
    • David M. Lee's avatar
      Fix shutdown assertions in stasis-core · b97c71bb
      David M. Lee authored
      In r388005, macros were introduced to consistently define message
      types. This added an assert if a message type was used either before
      it was initialized or after it had been cleaned up. It turns out that
      this assertion fires during shutdown.
      
      This actually exposed a hidden shutdown ordering problem. Since
      unsubscribing is asynchronous, it's possible that the message types
      used by the subscription could be freed before the final message of
      the subscription was processed.
      
      This patch adds stasis_subscription_join(), which blocks until the
      last message has been processed by the subscription. Since joining was
      most commonly done right after an unsubscribe, a
      stasis_unsubscribe_and_join() convenience function was also added.
      
      Similar functions were also added to the stasis_caching_topic and
      stasis_message_router, since they wrap subscriptions and have similar
      problems.
      
      Other code in trunk was refactored to join() where appropriate, or at
      least verify that the subscription was complete before being
      destroyed.
      
      Review: https://reviewboard.asterisk.org/r/2540
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b97c71bb
    • Michael L. Young's avatar
      Remove Character Limit On "inkeys" For IAX2 · 91bab764
      Michael L. Young authored
      Currently, the buffer for processing "inkeys" is limited to 256 characters.  If
      the user has many keys and the names of those key files are long, the 256
      character limit is not enough.
      
      * Change inkeys buffer to be dynamic
      
      (closes issue ASTERISK-21398)
      Reported by: Pavel Kopchyk
      Tested by: Pavel Kopchyk, Michael L. Young
      Patches:
          asterisk-21398-iax2-inkeys-dynamic-buffer_v3.diff
      					by Michael L. Young (license 5026)
      
      Review: https://reviewboard.asterisk.org/r/2501/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      91bab764
    • Matthew Jordan's avatar
      Publish the outbound channel's application/data when dialing · d04f1fd6
      Matthew Jordan authored
      This patch does two things:
      * It fixes a bug where the outbound channel's application/data set by the
        dialing API/app_dial is not communicated until the channel is hung up.
        If that happens, AMI would incorrectly send a NewExten event immediately
        after a Hangup. This isn't really AMI's fault, as the dialing APIs never
        communicated the 'helpful' app/data on the outbound channel until it was
        hungup.
      * It makes public sending a stasis message about a change in channel state.
        This is useful enough that - for now at least - it should be public. If
        operations on a channel go to being more coarse-grained, this function
        could be made private again.
      
      Review: https://reviewboard.asterisk.org/r/2548
      
      Note that this problem was found and reported by Matt DiMeo.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d04f1fd6
    • Jonathan Rose's avatar
      Stasis: Update security events to use Stasis · b90bba7a
      Jonathan Rose authored
      Also moves ACL messages to the security topic and gets rid of the
      ACL topic
      
      (closes issue ASTERISK-21103)
      Reported by: Matt Jordan
      Review: https://reviewboard.asterisk.org/r/2496/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b90bba7a
  6. May 15, 2013
  7. May 14, 2013
  8. May 13, 2013
  9. May 10, 2013
Loading