Skip to content
Snippets Groups Projects
  1. May 12, 2015
  2. May 11, 2015
  3. May 10, 2015
    • Joshua Colp's avatar
      dns_srv: Fix SRV sorting when records with priority zero exist with non-zero. · f82bd76e
      Joshua Colp authored
      The DNS SRV sorting code currently has an issue when records with a priority
      of zero exist with records of a non-zero priority. This occurs because the
      sorting code considers zero to mean unset when in reality is a valid
      value. If the current priority is zero it will get replaced with any remaining
      record that has a priority of non-zero, until no records of those exist after
      which the records of priority zero are handled.
      
      This change makes it so that the priority of the first remaining record is
      the current starting priority. There is also a small optimization to prevent
      iterating records when the starting priority is already zero.
      
      Change-Id: I103511f35b50428f770bd4db3ffef70fb6f82d35
      f82bd76e
    • Joshua Colp's avatar
  4. May 09, 2015
  5. May 08, 2015
    • Rusty Newton's avatar
      configs/basic-pbx: Modified main IVR to play new Allison prompt. · 5e361e14
      Rusty Newton authored
      The main IVR was playing demo-congrats. I've switched it over to the
      basic-pbx-ivr-main file that we added in core sounds 1.4.27. This prompt
      has Allison prompting the user with the actual IVR menu.
      
      ASTERISK-24892 #close
      
      Change-Id: Ifb749616ff8e156a1031ddaddfcc9244767a095d
      5e361e14
    • Corey Farrell's avatar
      Fix error's produced by astmm.h when standard allocators are used. · 2d4dc0c9
      Corey Farrell authored
      astmm.h includes defines that are meant to cause error's when standard
      allocators (malloc, calloc, free, etc) are used.  It actually only
      causes a warning, which is not always caught on certain sources.  In
      modules this unknown symbol is not detected until runtime, where the
      module fails to load.  This modifies the define's so that using one
      of the blocked functions will cause a compile error regardless of
      CFLAGS.
      
      Moved spandsp header includes to before asterisk.h so the static inline
      functions can continue using malloc and free.  Although these functions
      are never called and optimized away, the updated replacement macro's
      would still cause a failure.
      
      Change-Id: I532640aca0913ba9da3b18c04a0f010ca1715af5
      2d4dc0c9
    • 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
  6. May 07, 2015
  7. May 06, 2015
  8. 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
Loading