Skip to content
Snippets Groups Projects
  1. Jul 12, 2016
    • Alexander Traud's avatar
      BuildSystem: Allow own CFLAGS on ./configure. · 110b01a0
      Alexander Traud authored
      Before this change, make failed with the error
      Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH
      when CFLAGS were supplied to the configure script. This was introduced with
      <https://reviewboard.asterisk.org/r/1852/> which disabled BUILD_NATIVE when
      CFLAGS were supplied. Those who need different -march= values, please, go for
      ./configure
      make menuselect.makeopts or make menuselect
      ./menuselect/menuselect --disable BUILD_NATIVE
      
      ASTERISK-25289 #close
      
      Change-Id: Ic6365d5a97bb9b3556858f06432a8d1cfa83eebc
      110b01a0
  2. Jul 11, 2016
    • Richard Mudgett's avatar
      ast_expr2: Fix off-nominal memory leak. · 44f16af7
      Richard Mudgett authored
      Thanks to ibercom for pointing out a memory leak that was missed
      in the earlier patch for the issue.
      
      ASTERISK-26119
      Reported by: Alexei Gradinari
      
      Change-Id: I9a151f5c4725d97fb82a9e938bc73dc659532b71
      44f16af7
  3. Jul 08, 2016
  4. Jul 07, 2016
    • Corey Farrell's avatar
      REF_DEBUG: Prevent logging of container node objects. · 7408c51a
      Corey Farrell authored
      Using AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE can result in an unref being
      recorded to the refs log for the node being replaced.  This prevents
      logging of those unrefs since they would produce errors in
      refcounter.py.
      
      ASTERISK-26181 #close
      
      Change-Id: Ie4fded84e8a1a58b3a59ce59dfd7eb0da3ddc5d4
      7408c51a
    • Joshua Colp's avatar
      chan_sip/res_pjsip_t38: Handle a request to negotiate T.38 after it is enabled. · 302be480
      Joshua Colp authored
      Some T.38 implementations may send another re-invite after the initial
      one which adds additional negotiation details (such as the max bitrate).
      Currently this will fail when passthrough is being done in chan_sip as we
      do nothing if T.38 is already active.
      
      Other handlers of T.38 inside of Asterisk (such as res_fax) handle this
      scenario so this change adds support for it to chan_sip and res_pjsip_t38.
      If a request to negotiate is received while T.38 is already enabled a
      new re-INVITE is sent and negotiation is done again.
      
      ASTERISK-26179 #close
      
      Change-Id: I0298494d3da6df3219bbfa4be9aa04015043145c
      302be480
    • Scott Griepentrog's avatar
      PJSIP: provide valid tcp nodelay option for reuse · fb96492e
      Scott Griepentrog authored
      When using TCP transport with chan_pjsip, the TCP_NODELAY
      option value was allocated on the stack, then passed as a
      pointer to the tcp transport configuration structure, and
      later re-used on subsequently created sockets when it was
      no longer valid.  This patch changes the allocation to be
      a static.
      
      ASTERISK-26180 #close
      Reported by: Scott Griepentrog
      
      Change-Id: I3251164c7f710dbdab031282f00e30a9770626a0
      fb96492e
  5. Jul 01, 2016
  6. Jun 30, 2016
    • Joshua Colp's avatar
      040a11ce
    • Richard Mudgett's avatar
      res_pjsip_session.c: Don't send extra BYE if SDP invalid. · 9f2c0072
      Richard Mudgett authored
      When an answer SDP is invalid we were disconnecting the outgoing call and
      sending two BYE requests.  The first BYE was sent by PJPROJECT because of
      the invalid SDP answer.  The second BYE was sent by Asterisk because it
      thought the canceled call was the result of the RFC5407 section 3.1.2 race
      condition.
      
      * Made not send the BYE on a canceled session if the SDP negotiation is
      incomplete because PJPROJECT has already sent a BYE for the failed
      negotiation.
      
      ASTERISK-25772 #close
      Reported by:  Dmitriy Serov
      
      Change-Id: I44ad0bd0605e8eeb7035c890d6f97a1331f1a836
      9f2c0072
    • Richard Mudgett's avatar
      res_pjsip_session.c: End call on initial invalid SDP negotiation. · 08d3b9a8
      Richard Mudgett authored
      When an incoming call defers SDP negotiation and then sends us an invalid
      SDP in the ACK, we need to send a BYE to disconnect the call.  In this
      case SDP negotiation has failed and we don't have valid media streams
      negotiated.
      
      ASTERISK-25772
      
      Change-Id: Ia358516b0fc1e6c4c139b78246f10b9da7a2dfb8
      08d3b9a8
    • Richard Mudgett's avatar
      res_pjsip.c: Register PJMEDIA error code decoder. · e6e12c75
      Richard Mudgett authored
      Registering the PJMEDIA error codes allows errors found when parsing an
      incoming SDP to be easier to figure out.
      
      "Missing SDP rtpmap for dynamic payload type (PJMEDIA_SDP_EMISSINGRTPMAP)"
      is much easier to understand than "Unknown error 220030".
      
      ASTERISK-25772
      
      Change-Id: I44b2dcea656fedd7593171be9e845880a2c70ca0
      e6e12c75
    • Richard Mudgett's avatar
      res_pjsip_session.c: Remove unused parameter from handle_incoming(). · 5d2fc6ba
      Richard Mudgett authored
      Change-Id: Iedd182d189ec947c42edc2c66c4bda3c22060daa
      5d2fc6ba
    • Richard Mudgett's avatar
      res_pjsip: Add missing NULL checks when using pjsip_inv_end_session(). · 656ed73a
      Richard Mudgett authored
      pjsip_inv_end_session() is documented as being able to return the
      passed in tdata parameter set to NULL on success.
      
      Change-Id: I09d53725c49b7183c41bfa1be3ff225f3a8d3047
      656ed73a
    • Richard Mudgett's avatar
      features: Fix channel datastore access. · 4f7b8597
      Richard Mudgett authored
      Found as a result of the testsuite tests/callparking test crashing.
      
      Several calls to ast_get_chan_featuremap_config() and
      ast_get_chan_features_xfer_config() did not lock the channel before
      calling so the channel's datastore list was accessed without the lock's
      protection.  Apparently another thread deleted a datastore on the
      channel's list while the crashing thread was walking the list.  Crash at
      0xdeaddead due to MALLOC_DEBUG's memory filler value as a result.
      
      * Add missing channel locks to calls that were not already protected
      as the doxygen for those calls indicates.
      
      Change-Id: Id273b3d305cc616406c353cbc841b2b7655efaa1
      4f7b8597
    • George Joseph's avatar
      configure: Fix HAVE_PJSIP_EVSUB_GRP_LOCK not set with external pjproject · 5ad7e1c0
      George Joseph authored
      There was a typo in configure.ac preventing HAVE_PJSIP_EVSUB_GRP_LOCK
      from getting set when using an external pjproject.
      
      ASTERISK-26099 #close
      Reported-by: Ross Beer
      
      Change-Id: I709af70428e125fb5ccd44b171d25dd29141f0ae
      5ad7e1c0
  7. Jun 29, 2016
  8. Jun 28, 2016
  9. Jun 23, 2016
  10. Jun 22, 2016
Loading