Skip to content
Snippets Groups Projects
  1. Jan 22, 2016
    • Mark Michelson's avatar
      Stasis: Use control queue to prevent crash. · a45eaceb
      Mark Michelson authored
      A crash occurred when attempting to set a channel variable on a channel
      that had already been hung up. This is because there is a small window
      between when a control is grabbed and when the channel variable is set
      that the channel can be hung up.
      
      The fix here is to queue the setting of the channel variable onto the
      control queue. This way, the manipulation of the channel happens in a
      thread where it is safe to be done.
      
      In this change, I also noticed that the setting of bridge roles on
      channels was being done outside of the control queue, so I also changed
      those operations to be done in the control queue.
      
      ASTERISK-25709 #close
      Reported by Mark Michelson
      
      Change-Id: I2a0a4d51bce6fba6f1d9954e40935e42f366ea78
      a45eaceb
    • Richard Mudgett's avatar
      logger.c: Fix buffer overrun found by address sanitizer. · 7866806f
      Richard Mudgett authored
      The null terminator of the tail struct member was not being allocated
      when no logger.conf config file is installed.
      
      ASTERISK-25714 #close
      Reported by: Badalian Vyacheslav
      
      Change-Id: I45770fdd08af39506a3bc33ba279c4f16e047a30
      7866806f
    • Matt Jordan's avatar
  2. Jan 21, 2016
  3. Jan 20, 2016
  4. Jan 19, 2016
  5. Jan 18, 2016
  6. Jan 17, 2016
  7. Jan 16, 2016
  8. Jan 15, 2016
    • Kevin Harwell's avatar
      bridge_basic: don't cache xferfailsound during an attended transfer · a5b38b60
      Kevin Harwell authored
      The xferfailsound was read from the channel at the beginning of the transfer,
      and that value is "cached" for the duration of the transfer. Therefore, changing
      the xferfailsound on the channel using the FEATURE() dialplan function does
      nothing once the transfer is under way.
      
      This makes it so the transfer code instead gets the xferfailsound configuration
      options from the channel when it is actually going to be used.
      
      This patch also fixes a potential memory leak of the props object as well as
      making sure the condition variable gets initialized before being destroyed.
      
      ASTERISK-25696 #close
      
      Change-Id: Ic726b0f54ef588bd9c9c67f4b0e4d787934f85e4
      a5b38b60
    • Richard Mudgett's avatar
      taskprocessor.c: Simplify ast_taskprocessor_get() return code. · d36c4d0b
      Richard Mudgett authored
      Change-Id: Id5bd18ef1f60ef8be453e677e98478298358a9d1
      d36c4d0b
    • Richard Mudgett's avatar
      astmm.c: Add more stats to CLI "memory show" commands. · 0a878020
      Richard Mudgett authored
      * Add freed regions totals to allocations and summary.
      
      * Add totals for all allocations and not just the selected allocations.
      
      Change-Id: I61d5a5112617b0733097f2545a3006a344b4032a
      0a878020
  9. Jan 14, 2016
    • Kevin Harwell's avatar
      bridge_basic: don't play an attended transfer fail sound after target hangs up · 84b30c5e
      Kevin Harwell authored
      If the attended transfer destination answers (picks call up or goes to
      voicemail) and then hangs up on the transferer then transferer hears the
      fail sound.
      
      This patch makes it so the fail sound is not played when the transfer
      destination/target hangs up after answering.
      
      ASTERISK-25697 #close
      
      Change-Id: I97f142fe4fc2805d1a24b7c16143069dc03d9ded
      84b30c5e
    • Corey Farrell's avatar
      Remove *.gcna / *.gcno files from added module sources. · c7caee6c
      Corey Farrell authored
      Asterisk uses a Makefile macro to associate additional sources with a
      module.  This macro is responsible for creating clean targets but
      previously left behind *.gcna and *.gcno files.
      
      ASTERISK-25683 #close
      Reported by yaron nahum
      
      Change-Id: Idc0823fe80a25c42cefae901fde875e9fc38d8ea
      c7caee6c
Loading