Skip to content
Snippets Groups Projects
  1. May 05, 2015
    • Corey Farrell's avatar
      Modules: Make ast_module_info->self available to auxiliary sources. · a8bfa9e1
      Corey Farrell authored
      ast_module_info->self is often needed to register items with the core.  Many
      modules have ad-hoc code to make this pointer available to auxiliary sources.
      This change updates the module build process to make the needed information
      available to all sources in a module.
      
      ASTERISK-25056 #close
      Reported by: Corey Farrell
      
      Change-Id: I18c8cd58fbcb1b708425f6757becaeca9fa91815
      a8bfa9e1
  2. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Refactor the ASTERISK_FILE_VERSION macro · 4a582616
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file. As a
      result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      
      * Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
        remove passing the version in with the macro. Other facilities
        than 'core show file version' make use of the file names, such as
        setting a debug level only on a specific file. As such, the act of
        registering source files with the Asterisk core still has use. The
        macro rename now reflects the new macro purpose.
      
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Remove the "core show file version" CLI command. Without the file
          version, it is no longer useful.
        - Remove the ast_file_version_find function. The file version is no
          longer tracked.
        - Rename ast_register_file_version/ast_unregister_file_version to
          ast_register_file/ast_unregister_file, respectively.
      
      * main/manager: Remove value from the Version key of the ModuleCheck
        Action. The actual key itself has not been removed, as doing so would
        absolutely constitute a backwards incompatible change. However, since
        the file version is no longer tracked, there is no need to attempt to
        include it in the Version key.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action
        - Removal of the "core show file version" CLI command
      
      Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e
      4a582616
  3. May 22, 2014
  4. May 09, 2014
  5. Sep 06, 2013
  6. Aug 17, 2013
    • Kinsey Moore's avatar
      Allow res_parking to be unloadable · 56aea1c0
      Kinsey Moore authored
      This change protects accesses of res_parking such that it can unload
      safely once transient uses of its registered functions are complete.
      The parking API has been restructured such that its consumers do not
      have access to the vtable exposed by the parking provider, but instead
      route through stubs to prevent consumers from holding on to function
      pointers.
      
      This adds calls to all the parking unload functions and moves
      application loading and unloading into functions in
      parking_applications.c similar to the rest of the parts of res_parking.
      
      Review: https://reviewboard.asterisk.org/r/2763/
      (closes issue ASTERISK-22142)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      56aea1c0
  7. Aug 01, 2013
    • 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
  8. 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
  9. Jul 25, 2013
    • Matthew Jordan's avatar
      A great big renaming patch · cafc1158
      Matthew Jordan authored
      This patch renames the bridging* files to bridge*. This may seem pedantic
      and silly, but it fits better in line with current Asterisk naming conventions:
      * channel is not "channeling"
      * monitor is not "monitoring"
      etc.
      
      A bridge is an object. It is a first class citizen in Asterisk. "Bridging" is
      the act of using a bridge on a set of channels - and the API that fulfills that
      role is more than just the action.
      
      (closes issue ASTERISK-22130)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      cafc1158
  10. Jul 04, 2013
  11. Jun 24, 2013
    • Matthew Jordan's avatar
      Fix a variety of memory leaks · 91217ac3
      Matthew Jordan authored
      This patch addresses the following memory/ref counting leaks:
      
       * main/devicestate.c - unsubscribe and join our devicestate message
         subscription
       * main/cel.c - clean up the datastore and config objects on exist
       * main/parking.c - cleanup memory leak of retriever snapshot on message
         payload destruction
       * res/parking/parking_bridge.c - cleanup memory leak of retrieve snapshot
         on message payload destruction
       * main/presencestate.c - unsubscribe and join the caching topic on exit
       * manager.c - properly unregister the manager action "BlindTransfer"
       * sorcery.c - shutdown the threadpool on exit and dispose of any wizards
      
      (issue ASTERISK-21906)
      Reported by: John Hardin
      patches:
        cel.patch uploaded by jhardin (license #6512)
        devicestate.patch uploaded by jhardin (license #6512)
        manager.patch uploaded by jardin (license #6512)
        presencestate.patch uploaded by jhardin (license #6512)
        retriever-channel-snapshot.patch uploaded by jhardin (license #6512)
        sorcery.patch uploaded by jhardin (license #6512)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      91217ac3
  12. Jun 13, 2013
    • Kinsey Moore's avatar
      Refactor CEL bridge events on top of Stasis-Core · b51b437b
      Kinsey Moore authored
      This pulls bridge-related CEL event triggers out of the code in which
      they were residing and pulls them into cel.c where they are now
      triggered by changes in bridge snapshots. To get access to the
      Stasis-Core parking topic in cel.c, the Stasis-Core portions of parking
      init have been pulled into core Asterisk init.
      
      This also adds a new CEL event (AST_CEL_BRIDGE_TO_CONF) that indicates
      a two-party bridge has transitioned to a multi-party conference. The
      reverse cannot occur in CEL terms even though it may occur in actuality
      and two party bridges which receive a AST_CEL_BRIDGE_TO_CONF will be
      treated as multi-party conferences for the duration of the bridge.
      
      Review: https://reviewboard.asterisk.org/r/2563/
      (closes issue ASTERISK-21564)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b51b437b
  13. Jun 11, 2013
  14. May 21, 2013
Loading