Skip to content
Snippets Groups Projects
  1. Sep 26, 2019
  2. Sep 25, 2019
  3. Sep 24, 2019
  4. Sep 23, 2019
    • Kevin Harwell's avatar
      0cc48571
    • Friendly Automation's avatar
    • Corey Farrell's avatar
      core: Add AO2_ALLOC_OPT_NO_REF_DEBUG option. · 725e991f
      Corey Farrell authored
      Previous to this patch passing a NULL tag to ao2_alloc or ao2_ref based
      functions would result in the reference not being logged under
      REF_DEBUG.  This could sometimes cause inaccurate logging if NULL was
      accidentally passed to a reference action.  Now reference logging is
      only disabled by option passed to the allocation method.
      
      Change-Id: I3c17d867d901d53f9fcd512bef4d52e342637b54
      Unverified
      725e991f
    • Kevin Harwell's avatar
      res_sorcery_memory_cache: stale item update leak · a4caaef6
      Kevin Harwell authored
      When a stale item was being updated the object was being retrieved, but its
      reference was not being decremented after the update. This patch makes it so
      the object is now appropriately de-referenced.
      
      ASTERISK-28523
      
      Change-Id: I9d8173d3a0416a242f4eba92fa0853279c500ec7
      a4caaef6
    • George Joseph's avatar
      astmm.c: Display backtrace with memory show allocations · e82f2f6e
      George Joseph authored
      You can currently capture backtraces of memory allocations but they
      only get displayed when you stop asterisk and the atexit hooks
      are enabled.  Now, if memory backtrace is on and you issue a
      "memory show allocations" CLI command for a specific file, then
      a backtrace will show for each allocation that occurred after
      you turned "memory backtrace on".  The backtrace display is shown
      only when a specific file's allocations are displayed to prevent
      a massive CLI dump of every file's allocations.
      
      Change-Id: Ic657afc1fc6ec7205e16eb36a97a611d235a2b4f
      e82f2f6e
    • Corey Farrell's avatar
      core: Fix ABI mismatch of ao2_global_obj. · a4142c84
      Corey Farrell authored
      astobj2.c declares DEBUG_THREADS_LOOSE_ABI to avoid overhead of debug
      threads tracking information in the internal structures of astobj2.
      Unfortunately this means that ao2_global_obj contains the statically
      allocated debug threads tracking fields which are used by initialization
      and cleanup but main/astobj2.c believed those fields and associated
      space did not exist.
      
      Change-Id: Icef41ad97d88a8c1d1515e034ec8133cab3b1527
      Unverified
      a4142c84
  5. Sep 20, 2019
  6. Sep 19, 2019
  7. Sep 18, 2019
  8. Sep 17, 2019
    • George Joseph's avatar
      1030de1d
    • Florian Floimair's avatar
      core: Add H.265/HEVC passthrough support · c1898320
      Florian Floimair authored
      This change adds H.265/HEVC as a known codec and creates a cached
      "h265" media format for use.
      
      Note that RFC 7798 section 7.2 also describes additional SDP
      parameters. Handling of these is not yet supported.
      
      ASTERISK-28512
      
      Change-Id: I26d262cc4110b4f7e99348a3ddc53bad0d2cd1f2
      c1898320
    • Guido Falsi's avatar
      chan_dahdi: Fix build with clang/llvm · 4072e219
      Guido Falsi authored
      On FreeBSD using the clang/llvm compiler build fails to build due
      to the switch statement argument being a non integer type expression.
      Switch to an if/else if/else construct to sidestep the issue.
      
      ASTERISK-28536 #close
      
      Change-Id: Idf4a82cc1e94580a2d017fe9e351c226f23e20c8
      4072e219
  9. Sep 16, 2019
    • Joshua Colp's avatar
      chan_pjsip: Relock correct channel during "fax" redirect. · c358da47
      Joshua Colp authored
      When fax detection occurs on an outbound PJSIP channel the
      redirect operation will result in a masquerade occurring and
      the underlying channel on the session changing. The code
      incorrectly relocked the new channel instead of the old
      channel when returning. This resulted in the new channel
      being locked indefinitely. The code now always acts on the
      expected channel.
      
      ASTERISK-28538
      
      Change-Id: I2b2e60d07e74383ae7e90d752c036c4b02d6b3a3
      c358da47
  10. Sep 13, 2019
    • Ben Ford's avatar
      res_rtp_asterisk.c: Send RTCP as compound packets. · 723b695c
      Ben Ford authored
      According to RFC3550, ALL RTCP packets must be sent in a compond packet
      of at least two individual packets, including SR/RR and SDES. REMB,
      FIR, and NACK were not following this format, and as a result, would
      fail the packet check in ast_rtcp_interpret. This was found from writing
      unit tests for RTCP. The browser would accept the way we were
      constructing these RTCP packets, but when sending directly from one
      Asterisk instance to another, the above mentioned problem would occur.
      
      Change-Id: Ieb140e9c22568a251a564cd953dd22cd33244605
      723b695c
  11. Sep 12, 2019
    • Sean Bright's avatar
      channels: Allow updating variable value · 32ce6e9a
      Sean Bright authored
      When modifying an already defined variable in some channel drivers they
      add a new variable with the same name to the list, but that value is
      never used, only the first one found.
      
      Introduce ast_variable_list_replace() and use it where appropriate.
      
      ASTERISK-23756 #close
      Patches:
        setvar-multiplie.patch submitted by Michael Goryainov
      
      Change-Id: Ie1897a96c82b8945e752733612ee963686f32839
      32ce6e9a
    • Friendly Automation's avatar
  12. Sep 11, 2019
  13. Sep 10, 2019
    • sungtae kim's avatar
      res_musiconhold: Added unregister realtime moh class · cf364cd0
      sungtae kim authored
      This fix allows a realtime moh class to be unregistered from the command
      line. This is useful when the contents of a directory referenced by a
      realtime moh class have changed.
      The realtime moh class is then reloaded on the next request and uses the
      new directory contents.
      
      ASTERISK-17808
      
      Change-Id: Ibc4c6834592257c4bb90601ee299682d15befbce
      cf364cd0
    • Ben Ford's avatar
      res_rtp: Add unit tests for RTCP stats. · 0e56643d
      Ben Ford authored
      Added unit tests for RTCP video stats. These tests include NACK, REMB,
      FIR/FUR/PLI, SR/RR/SDES, and packet loss statistics. The REMB and FIR
      tests are currently disabled due to a bug. We expect to receive a
      compound packet, but the code sends this out as a single packet, which
      the browser accepts, but makes Asterisk upset.
      
      While writing these tests, I noticed an issue with NACK as well. Where
      it is handling a received NACK request, it was reading in only the first
      8 bits of following packets that were also lost. This has been changed
      to the correct value of 16 bits.
      
      Also made a minor fix to the data buffer unit test.
      
      Change-Id: I56107c7411003a247589bbb6086d25c54719901b
      0e56643d
    • Frederic LE FOLL's avatar
      ChanIsAvail() generates a CDR when unanswered=yes in cdr.conf. · 2d0eee54
      Frederic LE FOLL authored
      ChanIsAvail() creates a temporary channel with ast_request() to test
      resource availability. It should not generate a CDR when it hangs up
      this temporary channel.
      
      This patch disables CDR generation for the temporary channel with
      ast_cdr_set_property().
      
      ASTERISK-28527
      
      Change-Id: I7b0555c6909c7d322e452dde97c9ea5b111552d1
      2d0eee54
Loading