Skip to content
Snippets Groups Projects
  1. Aug 16, 2018
    • Rodrigo Ramírez Norambuena's avatar
      make config: os-release output error. · 01c90fef
      Rodrigo Ramírez Norambuena authored
      Fix not show the error
      "/bin/sh: /etc/os-release: No such file or directory" when the command
      'make config' is run in a System without systemv.
      
      The instruction 'make config' pre execute the syntax
      "$(shell . /etc/os-release && echo $$ID)" to identified if system is a
      Slackware and Opensuse.
      
      This change prevent show the message and is send to the /dev/null
      
      Change-Id: I7f43e281a8d9405b2519fc653de82d9b8b645fdf
      01c90fef
  2. Aug 15, 2018
  3. Aug 14, 2018
  4. Aug 13, 2018
    • Ben Ford's avatar
      res_pjsip/rtp: No joint capabilities between streams. · c31a01bd
      Ben Ford authored
      When a conference contained a mixture of audio/video and audio-only
      users, a NOTICE message would pop up stating there are no joint
      capabilities between streams. This happens because streams can never be
      removed, but they can be in a REMOVED state. If we have the scenario
      where user A joins with audio/video, user B joins with audio-only, and
      user C joins with audio/video, then user A leaves, the message would
      be triggered. That removed stream is still in the SDP, but Asterisk
      would pass it through, causing it to be seen as a ulaw stream. A check
      has been added for removed streams, setting their status to REMOVED when
      handling negotiated SDPs.
      
      Also addressed an issue where user A joins, then user B joins but does
      not receive video until much later. Full frames were not being sent,
      causing some PLI from the browser. Because the video was flowing in one
      direction, the browser sets the SSRC to 1, but Asterisk was dropping the
      PLI because of that. Added a check to see if the SSRC is 1 or not, which
      sends full frames and allows video to flow between user A and user B.
      This should only happen when dealing with PSFB or FUR, and in the case
      of PSFB, only for PLI.
      
      ASTERISK-27398
      
      Change-Id: I26e7c6f101bc119549eeca406b5bcd25ad8ebc5e
      c31a01bd
    • Ivan Poddubny's avatar
      app_queue: set QUEUESTATUS to LEAVEEMPTY instead of CONTINUE · 2ce06109
      Ivan Poddubny authored
      When a call leaves a queue on leaveempty condition, QUEUESTATUS
      must be set to LEAVEEMPTY, no matter whether Queue was executed with or
      without the "c" (continue) option.
      
      The regression was introduced in the fix for ASTERISK_25665.
      The following fix (ASTERISK_27065) was incomplete, as QUEUESTATUS was
      overwritten in case when "c" is set, regardless of what was the cause
      for leaving the queue.
      
      ASTERISK-27973 #close
      Reported-by: Valentin Safonov
      
      Change-Id: Iec013fe6a26a4e825ca572a1dda4f3cee5f6f80c
      2ce06109
  5. Aug 09, 2018
    • Corey Farrell's avatar
      Sample configs: Fix pjsip.conf syntax error. · 63ca367a
      Corey Farrell authored
      It is valid for a config file to be empty or contain only comments, but
      not valid for a config value to be set when no uncommented context
      exists.  This caused an error to be loged numerous times during start
      when loading the default pjsip.conf.
      
      Change-Id: Icf3b0d69b4ecb6e935eecd43c99ed8b32a5a1cf6
      63ca367a
  6. Aug 08, 2018
  7. Aug 07, 2018
  8. Aug 06, 2018
  9. Aug 03, 2018
  10. Aug 02, 2018
  11. Aug 01, 2018
    • Torrey Searle's avatar
      thirdparty/pjproject: fix deadlock in response retransmissions · 3424795f
      Torrey Searle authored
      The tdata containing the response can be shared by both the dialog
      object and the tsx object.  In order to prevent the race condition
      between the tsx retransmission and the dialog sending a response,
      clone the tdata before modifying it for the dialog send response.
      
      ASTERISK-27966 #close
      
      Change-Id: Ic381004a3a212fe1d8eca0e707fe09dba4a6ab4e
      3424795f
    • Corey Farrell's avatar
      Build System: Improve ccache matching for different menuselect options. · a10a3aff
      Corey Farrell authored
      Changing any Menuselect option in the `Compiler Flags` section causes a
      full rebuild of the Asterisk source tree.  Every enabled option causes
      a #define to be added to buildopts.h, thus breaking ccache caching for
      every source file that includes "asterisk.h".  In most cases each option
      only applies to one or two files.  Now we only define those options for
      the specific sources which use them, this causes much better cache
      matching when working with multiple builds.  For example testing code
      with an without MALLOC_DEBUG will now use just over half the ccache
      size, only main/astmm.o will have two builds cached instead of every
      file.
      
      Reorder main/Makefile so _ASTCFLAGS set on specific object files are all
      together, sorted by filename.  Stop adding -DMALLOC_DEBUG to CFLAGS of
      bundled pjproject, this define is no longer used by any header so only
      serves to break cache.
      
      The only code change is a slight adjustment to how main/astmm.c is
      initialized.  Initialization functions always exist so main/asterisk.c
      can call them unconditionally.  Additionally rename the astmm
      initialization functions so they are not exported.
      
      Change-Id: Ie2085237a964f6e1e6fff55ed046e2afff83c027
      a10a3aff
    • Joshua Colp's avatar
  12. Jul 31, 2018
  13. Jul 30, 2018
  14. Jul 29, 2018
    • Alexander Traud's avatar
      BuildSystem: Enable ncurses for menuselect in Solaris 11. · 7418dfa2
      Alexander Traud authored
      The check for the library ncurses should use not use the header <curses.h> but
      <ncurses.h>, because on some platforms <curses.h> is not a drop-in replacement
      for <ncurses.h>: For example in Solaris, the symbol initscr is a typedef in
      <curses.h> to a symbol which does not exist in the library ncurses (initscr32).
      Simply use <ncurses.h> when you link to ncurses.
      
      Furthermore in Solaris, the header <ncurses.h> is in a subdirectory
      /usr/include/ncurses and not available via pkg-config.
      
      ASTERISK-15331
      ASTERISK-14935
      ASTERISK-12382
      ASTERISK-9107
      
      Change-Id: Ife367776b0ccf17d3fefed868245376bfb93745d
      7418dfa2
  15. Jul 28, 2018
    • Joshua Colp's avatar
      res_pjsip_pubsub: Use ast_true for "prune_on_boot". · 3aa6be6b
      Joshua Colp authored
      Change-Id: Iedec4e7390b3e821987681da24d0298632b9873d
      3aa6be6b
    • Alexander Traud's avatar
      BuildSystem: Enable Jansson in Solaris 11. · 0a4d5873
      Alexander Traud authored
      In Solaris, the header <jansson.h> is in /usr/include/jansson. To find
      Jansson even in such a subdirectory, the tool pkg-config is queried via
      AST_PKG_CONFIG_CHECK. For those platforms, which do not list Jansson via
      pkg-config, the previous check remains and is executed thereafter.
      
      Because the check for the NetBSD Editline library uses the tool pkg-config
      the code of PKG_PROG_PKG_CONFIG must be used. Because that check happens
      earlier than Jansson, it must be placed in front of that.
      
      ASTERISK-27991
      
      Change-Id: I69ea0f379f87a50049654b2487c76ee1c04fa53a
      0a4d5873
Loading