Skip to content
Snippets Groups Projects
  1. May 13, 2015
  2. May 09, 2015
  3. May 08, 2015
    • Sean Bright's avatar
      res_rtp_asterisk: Issue ERROR if res_srtp is not found. · 63c71c9f
      Sean Bright authored
      While trying to get WebRTC working with chan_pjsip, I was running
      into the following error:
      
          Attempted to set an invalid DTLS-SRTP configuration on RTP
          instance...
      
      Josh helpfully pointed out that res_srtp.so might not be loaded, and
      sure enough, it wasn't. This patch adds a ERROR indiciating as much
      to hopefully help others having a similar problem.
      
      Change-Id: I13aa477b47b299876728a21b130998a0ea6cd19f
      63c71c9f
    • Matt Jordan's avatar
      f2d147a8
    • Rusty Newton's avatar
      sounds: Add Swedish sounds to Makefile and XML · 60bf9ed9
      Rusty Newton authored
      Added the necessary lines to the Makefile and sounds.xml so we'll have the
      Swedish sounds in all available formats in menuselect.
      
      See also: Swedish sounds were added into the core sounds release 1.4.27.
      
      ASTERISK-24744 #close
      
      Reported by: Tove Hjelm
      Tested by: Rusty Newton
      
      Change-Id: Ib6f4fd177afd1667b2402735034001d4d055a908
      60bf9ed9
    • Corey Farrell's avatar
      Fix crash in codec_lpc10 when MALLOC_DEBUG is enabled. · f93b3a22
      Corey Farrell authored
      This switches codecs/lpc10/lpcini.c back to including "asterisk.h"
      instead of <stdlib.h>.  lpcini.c allocates memory that is freed by
      codec_lpc10.c, so it is important to use MALLOC_DEBUG allocator.
      Added #define WRAP_LIBC_MALLOC to the start of the source to prevent
      runtime symbol link error's.
      
      Change-Id: I74f63fd09fdeb673ee7753122c3bb4722ab6e1ac
      f93b3a22
    • George Joseph's avatar
      doc: Make progdocs play nice with git · cf637f25
      George Joseph authored
      Moved contrib/asterisk-ng-doxygen to doc/asterisk-ng-doxygen.in
      
      Changed /Makefile to copy asterisk-ng-doxygen.in to
      asterisk-ng-doxygen then modify it with version instead of
      modifying asterisk-ng-doxygen directly.  Updated clean
      targets as well.
      
      Updated /.gitignore and doc/.gitignore.
      
      Change-Id: I38712d3e334fa4baec19d30d05de8c6f28137622
      cf637f25
  4. May 07, 2015
  5. May 06, 2015
  6. May 05, 2015
    • Richard Mudgett's avatar
      features: Fix crash when transferee hangs up during DTMF attended transfer. · 6c4d1c32
      Richard Mudgett authored
      A crash happens with this sequence of steps:
      1) Party A is connected to party B.
      2) Party B starts a DTMF attended transfer.
      3) Party A hangs up while party B is dialing party C.
      
      When party A hangs up the bridge that party A and party B are in is
      dissolved and party B is kicked out of the bridge.  When party B finishes
      dialing party C he attempts to move to the new bridge with party C.  Since
      party B is no longer in a bridge the attempted move dereferences a NULL
      bridge_channel pointer and crashes.
      
      * Made the hold(), unhold(), ringing(), and the bridge_move() functions
      tolerant of the channel not being in a bridge.  The assertion that party B
      is always in a bridge is not true if the bridged peer of party B hangs up
      and dissolves the bridge.  Being tolerant of not being in a bridge allows
      the peer hangup stimulus to be processed by the FSM.
      
      * Made the bridge_move() function return void since where the return value
      for a failed move was checked generated a FSM coding ERROR message for a
      normal off-nominal condition.
      
      * Eliminated most uses of RAII_VAR in bridge_basic.c.
      
      ASTERISK-25003 #close
      Reported by: Artem Volodin
      
      Change-Id: Ie2c1b14e5e647d4ea6de300bf56d69805d7bcada
      6c4d1c32
    • Ivan Poddubny's avatar
      app_queue: Fix queue_log EXITWITHTIMEOUT containing only 1 parameter · 90bfc02e
      Ivan Poddubny authored
      This patch fixes EXITWITHTIMEOUT queue_log entry to always come with 3
      parameters: position, original position and waiting time.
      
      ASTERISK-25038 #close
      Reported by: Etienne Lessard
      
      Change-Id: I0c62045922e26bee2125e93aee1dee17eee79618
      90bfc02e
    • Joshua Colp's avatar
      chan_unistim: Fix build failure due to ACL changes. · bebf0b9b
      Joshua Colp authored
      Change-Id: I57081045c72b9fcf12d5c84493278f9272c31b32
      bebf0b9b
    • Matt Jordan's avatar
      bc8dcbdf
    • Matt Jordan's avatar
    • Alexander Traud's avatar
      tcptls: Avoiding ERR_remove_state in OpenSSL. · 247fef66
      Alexander Traud authored
      ERR_remove_state was deprecated with OpenSSL 1.0.0 and was replaced by 
      ERR_remove_thread_state. ERR_load_SSL_strings and ERR_load_BIO_strings were 
      called by SSL_load_error_strings already and got removed. These changes allow 
      OpenSSL forks like BoringSSL to be used with Asterisk.
      
      ASTERISK-25043 #close
      Reported by: Alexander Traud
      patches:
        asterisk_with_BoringSSL.patch uploaded by Alexander Traud (License 6520)
      
      Change-Id: If1c0871ece21a7e0763fafbd2fa023ae49d4d629
      247fef66
    • Joshua Colp's avatar
    • Corey Farrell's avatar
      res_ari_bridges: Add missing dependencies. · c541923a
      Corey Farrell authored
      Missed this module in the previous commit.  res_ari_bridges uses symbols
      from res_stasis_playback and res_stasis_recording.
      
      ASTERISK-25027 #close
      Reported by: Corey Farrell
      
      Change-Id: I90bf756abd25adfc4920d2869ebe7feb636b8c5f
      c541923a
    • Corey Farrell's avatar
      pbx_config: Register manager actions with module version of macro. · 8a3e93a3
      Corey Farrell authored
      Switch manager actions in pbx_config to use the registration macro that
      passes the module pointer, allowing pbx_config reference to be bumped
      while the manager actions run.
      
      ASTERISK-25061 #close
      Reported by: Corey Farrell
      
      Change-Id: I422c50dd74814616ac10c5e9c6598a0b1bc2c44e
      8a3e93a3
    • Joshua Colp's avatar
      stasis: Fix dial masquerade datastore lifetime · 11f650c6
      Joshua Colp authored
      A recent change went into Asterisk which added reference counts to the
      channels stored in a dial masquerade datastore. Unfortunately this
      included a reference to the caller in a dialing operation. While all
      of the dialed targets have the datastore removed from them upon dialing
      completion this did not occur for the caller, causing it to have a
      reference to itself that could go never go away (as it depended on
      the destruction of the datastore which only happened when the channel
      was destroyed). This resulted in the caller channel remaining on the
      system despite it having hung up.
      
      This change does the following to fix this issue:
      
      1. The dial masquerade datastore is now removed from the caller upon
      dialing completion, just like the dialed targets.
      2. Upon destruction of the caller all the dialed targets are also
      removed from the dial masquerade datastore (just in case).
      3. The reference to the caller has been removed as it should not be
      possible for the datastore to now be valid/useful after the lifetime
      of the caller has ended.
      
      ASTERISK-25025 #close
      
      Change-Id: I1ef4ca5ca04980028604cc2af5d2992ac3431b3f
      11f650c6
    • Corey Farrell's avatar
      CLI: Enable automatic references to modules. · df6c1d75
      Corey Farrell authored
      * Pass module to ast_cli_register and ast_cli_register_multiple.
      * Add a module reference before executing any CLI callback, remove
        the reference when complete.
      
      ASTERISK-25049 #close
      Reported by: Corey Farrell
      
      Change-Id: I7aafc7c9f2b912918f28fe51d51e9e8a755750e3
      df6c1d75
    • 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
    • George Joseph's avatar
      vector: Traversal, retrieval, insert and locking enhancements · 6d594129
      George Joseph authored
      Renamed AST_VECTOR_INSERT to AST_VECTOR_REPLACE because it really
      does replace not insert.  The few users of AST_VECTOR_INSERT were
      refactored.  Because these are macros, there should be no ABI
      compatibility issues.
      
      Added AST_VECTOR_INSERT_AT that actually inserts an element into the
      vector at a specific index pushing existing elements to the right.
      
      Added AST_VECTOR_GET_CMP that can retrieve from the vector based
      on a user-provided compare function.
      
      Added AST_VECTOR_CALLBACK function that will execute a function
      for each element in the vector.  Similar to ao2_callback and
      ao2_callback_data functions although the vector callback can take
      a variable number of arguments.  This should allow easy migration
      to a vector where a container might be too heavy.
      
      Added read/write locked vector and lock manipulation macros.
      
      Added unit tests.
      
      ASTERISK-25045 #close
      
      Change-Id: I2e07ecc709d2f5f91bcab8904e5e9340609b00e0
      6d594129
  7. May 04, 2015
Loading