Skip to content
Snippets Groups Projects
  1. Aug 15, 2013
  2. Aug 13, 2013
    • David M. Lee's avatar
      ARI: allow other operations to happen while bridged · 987fdfb4
      David M. Lee authored
      This patch changes ARI bridging to allow other channel operations to
      happen while the channel is bridged.
      
      ARI channel operations are designed to queue up and execute
      sequentially. This meant, though, that while a channel was bridged,
      any other channel operations would queue up and execute only after the
      channel left the bridge.
      
      This patch changes ARI bridging so that channel commands can execute
      while the channel is bridged. For most operations, things simply work
      as expected. The one thing that ended up being a bit odd is recording.
      
      The current recording implementation will fail when one attempts to
      record a channel that's in a bridge. Note that the bridge itself may
      be recording; it's recording a specific channel in the bridge that
      fails. While this is an annoying limitation, channel recording is
      still very useful for use cases such as voice mail, and bridge
      recording makes up much of the difference for other use cases.
      
      (closes issue ASTERISK-22084)
      Review: https://reviewboard.asterisk.org/r/2726/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      987fdfb4
  3. Aug 12, 2013
  4. Aug 09, 2013
  5. Aug 06, 2013
  6. Aug 05, 2013
  7. Aug 02, 2013
  8. Aug 01, 2013
    • Joshua Colp's avatar
      Fix a crash due to performing full URI validation on a contact which only contains '*'. · 63a229e3
      Joshua Colp authored
      (closes issue AST-1198)
      Reported by: John Bigelow
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      63a229e3
    • Matthew Jordan's avatar
      Support externally initiated parking requests; remove some dead code · 5c4b4824
      Matthew Jordan authored
      This patch does the following:
       * It adds support for externally initiated parking requests. In particular,
         chan_skinny has a protocol level message that initiates a call park.
         This patch now supports that option, as well as the protocol specific
         mechanisms in chan_dahdi/sig_analog and chan_mgcp.
       * A parking bridge features virtual table has been added that provides
         access to the parking functionality that the Bridging API needs. This
         includes requests to park an entire 'call' (with little or no additional
         information, thank you chan_skinny), perform a blind transfer to a parking
         extension, determine if an extension is a parking extension, as well as the
         actual "do the parking" request from the Bridging API.
       * Refactoring in chan_mgcp, chan_skinny, and chan_dahdi to make use of the new
         functions
       * The removal of some - but not all - dead parking code from features.c
      
      This also fixed blind transferring a multi-party bridge to a parking lot (which
      was implemented, but had at least one code path where using the parking features
      kK might not have worked)
      
      Review: https://reviewboard.asterisk.org/r/2710
      
      (closes issue ASTERISK-22134)
      Reported by: Matt Jordan
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5c4b4824
    • Kinsey Moore's avatar
      Fix documentation replication issues · 03090a88
      Kinsey Moore authored
      This prevents XML documentation duplication by expanding channel and
      bridge snapshot tags into channel and bridge snapshot parameter sets
      with a given prefix or defaulting to no prefix. This also prevents
      documentation from becoming fractured and out of date by keeping all
      variations of the documentation in template form such that it only
      needs to be updated once and keeps maintenance to a minimum.
      
      Review: https://reviewboard.asterisk.org/r/2708/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      03090a88
    • David M. Lee's avatar
      Fixed compile errors introduced in r395954. · 88d6c366
      David M. Lee authored
      Just a merge error due to a file rename. Grrr...
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      88d6c366
    • David M. Lee's avatar
      Split caching out from the stasis_caching_topic. · e1b959cc
      David M. Lee authored
      In working with res_stasis, I discovered a significant limitation to
      the current structure of stasis_caching_topics: you cannot subscribe
      to cache updates for a single channel/bridge/endpoint/etc.
      
      To address this, this patch splits the cache away from the
      stasis_caching_topic, making it a first class object. The stasis_cache
      object is shared amongst individual stasis_caching_topics that are
      created per channel/endpoint/etc. These are still forwarded to global
      whatever_all_cached topics, so their use from most of the code does
      not change.
      
      In making these changes, I noticed that we frequently used a similar
      pattern for bridges, endpoints and channels:
      
           single_topic  ---------------->  all_topic
                 ^
                 |
           single_topic_cached  ----+---->  all_topic_cached
                                    |
                                    +---->  cache
      
      This pattern was extracted as the 'Stasis Caching Pattern', defined in
      stasis_caching_pattern.h. This avoids a lot of duplicate code between
      the different domain objects.
      
      Since the cache is now disassociated from its upstream caching topics,
      this also necessitated a change to how the 'guaranteed' flag worked
      for retrieving from a cache. The code for handling the caching
      guarantee was extracted into a 'stasis_topic_wait' function, which
      works for any stasis_topic.
      
      (closes issue ASTERISK-22002)
      Review: https://reviewboard.asterisk.org/r/2672/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e1b959cc
    • Joshua Colp's avatar
      5c139694
  9. Jul 31, 2013
  10. Jul 30, 2013
  11. Jul 29, 2013
  12. Jul 27, 2013
  13. Jul 26, 2013
    • Richard Mudgett's avatar
      Remove the unsafe bridge parameter from ast_bridge_hook_callback's. · c017d5e6
      Richard Mudgett authored
      Most hook callbacks did not need the bridge parameter.  The pointer value
      could become invalid if the channel is moved to another bridge while it is
      executing.
      
      * Fixed some issues in feature_attended_transfer() as a result.
      
      * Reduce the bridge inhibit count in
      attended_transfer_properties_shutdown() after it has restored the bridge
      channel hooks.
      
      * Removed basic bridge requirement on feature_blind_transfer().  It does
      not require the basic bridge like feature_attended_transfer().
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c017d5e6
    • Richard Mudgett's avatar
      Improved feature limits interval hook implementaion. · 50aba6be
      Richard Mudgett authored
      * Fixed feature limits to not use special members of struct
      ast_bridge_features.
      
      * Fixed memory leak in off nominal paths of bridge_builtin_set_limits().
      
      * Fixed off nominal path in ast_bridge_features_limits_construct() freeing
      unallocated memory if it was not called by bridge_builtin_set_limits().
      
      * Made bridge_builtin_interval_features.so unloadable.
      
      * Simplified parking's use of its duration interval hook.
      
      * Made BridgeWait S option not depend upon another module being loaded.
      
      (closes issue ASTERISK-22107)
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/2701/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      50aba6be
    • David M. Lee's avatar
      Fix /stasis/res/app_replaced unit test. · b6f9b398
      David M. Lee authored
      A typo in recent changes caused the JSON ApplicationReplaced message to
      fail to build, so the message wasn't being sent out the WebSocket.
      
      Related, the replaced application would also unregister itself when it
      disconnected, which would actually unregister the new application. This
      was also fixed.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b6f9b398
Loading