Skip to content
Snippets Groups Projects
  1. Aug 09, 2013
  2. Aug 05, 2013
    • Jonathan Rose's avatar
      bridge_holding: Add suspsend/unsuspend callbacks · 2d87fc77
      Jonathan Rose authored
      Suspend and unsuspend callbacks are added to the holding bridge so
      that entertainment can be disabled and re-enabled when operations
      would suspend a channel on the bridge (such as playback operations).
      This fixes entertainment so that when those operations end, the
      entertainment can pick back up and it also serves as an optimization.
      Also, this patch fixes a bug caused by triggering ringing frames
      immediately instead of pushing them to the queue which created a race
      condition where sometimes parking with ringing during attended
      transfers would cause the ringing to be interrupted by an unhold
      frame.
      
      (closes issue ASTERISK-22006)
      Reported by: Matt Jordan
      Review: https://reviewboard.asterisk.org/r/2711/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2d87fc77
  3. Jul 31, 2013
  4. 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
  5. Jul 25, 2013
  6. Jul 24, 2013
  7. Jul 23, 2013
  8. Jul 19, 2013
  9. Jul 18, 2013
  10. Jul 16, 2013
  11. Jul 04, 2013
  12. Jul 03, 2013
  13. Jul 01, 2013
  14. Jun 28, 2013
  15. Jun 21, 2013
  16. Jun 12, 2013
    • Matthew Jordan's avatar
      Fix memory leaks in stasis_channels and bridge_native_rtp · 41e42827
      Matthew Jordan authored
      This patch fixes two memory leaks:
       * A memory leak in packing channels into a multi-channel blob payload when
         publishing dial messages. The multi-channel blob payload does not steal
         the references - this approach was chosen because it works well with the
         RAII_VAR macro. Unfortunately, this does mean that you actually have to use
         the RAII_VAR macro (or manually deref it yourself)
       * RTP instances returned as a result of one of the glue operations are ref
         counted and have to be de-ref'd appropriately. We now do that, as saying
         that we should do it and then not would be silly.
      
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      41e42827
  17. Jun 11, 2013
    • Jonathan Rose's avatar
      bridge_native_rtp: Fix native bridge tech being incompatible when it should be. · 723a84db
      Jonathan Rose authored
      When checking compatability for the native RTP bridge technology there is a
      race condition between clearing framehooks that are destroyed when leaving
      certain bridges with certain technologies (such as bridge_native_rtp) and
      joining bridges with the bridge_native_rtp technology. Yes, that means a
      channel in a native RTP bridge could move to another native RTP bridge and
      be considered incompatible with the new native RTP bridge causing it to
      revert to a simple bridge technology0. This fixes that bug by ignoring
      framehooks that have been marked for destruction when checking for
      compatibility with the bridge_native_rtp technology.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      723a84db
    • Jonathan Rose's avatar
      bridge_native_rtp: Fix possible segfaults on leaves/joins · a1f45147
      Jonathan Rose authored
      native_rtp_bridge_get can return any result from the ast_rtp_glue_result
      enumerator and the join/leave functions for bridge_native_rtp seem to assume
      that if the result wasn't local that it was remote. Meanwhile forbid can be
      returned by that function which can mean certain glue pointers are NULL. Then
      when the join/leave functions try to use members of that pointer, boom.
      Segfault.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a1f45147
  18. Jun 08, 2013
  19. Jun 06, 2013
    • Richard Mudgett's avatar
      Reimplement bridging and DTMF features related channel variables in the bridging core. · bad8caa8
      Richard Mudgett authored
      * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer
      channel driver specific.  If the channel variable is set on the
      transferrer channel, the sound will be played to the target of an attended
      transfer.
      
      * The channel variable BRIDGEPEER becomes a comma separated list of peers
      in a multi-party bridge.  The BRIDGEPEER value can have a maximum of 10
      peers listed.  Any more peers in the bridge will not be included in the
      list.  BRIDGEPEER is not valid in holding bridges like parking since those
      channels do not talk to each other even though they are in a bridge.
      
      * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
      and will contain a value if the BRIDGEPEER's channel driver supports it.
      
      * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and
      is removed.  The more useful DYNAMIC_WHO_ACTIVATED gives the channel name
      that activated the dynamic feature.
      
      * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are
      set only on the channel executing the dynamic feature.  Executing a
      dynamic feature on the bridge peer in a multi-party bridge will execute it
      on all peers of the activating channel.
      
      (closes issue ASTERISK-21555)
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/2582/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bad8caa8
    • Mark Michelson's avatar
      Refactor the features configuration scheme. · 2dc8a060
      Mark Michelson authored
      Features configuration is handled in its own API in
      features_config.h and features_config.c. This way, features
      configuration is accessible to anything that needs it.
      
      In addition, features configuration has been altered to
      be more channel-oriented. Most callers of features API
      code will be supplying a channel so that the individual
      channel's settings will be acquired rather than the global
      setting.
      
      Missing from this commit is XML documentation for the
      features configuration. That will be handled in a separate
      commit.
      
      Review: https://reviewboard.asterisk.org/r/2578/
      
      (issue ASTERISK-21542)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2dc8a060
  20. Jun 05, 2013
  21. Jun 04, 2013
  22. May 31, 2013
  23. May 28, 2013
  24. May 21, 2013
Loading