Skip to content
Snippets Groups Projects
  1. Aug 15, 2018
  2. Aug 14, 2018
  3. Aug 13, 2018
    • 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
  4. 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
  5. Aug 08, 2018
  6. Aug 07, 2018
  7. Aug 06, 2018
  8. Aug 03, 2018
  9. Aug 02, 2018
  10. 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
  11. Jul 31, 2018
  12. Jul 30, 2018
  13. 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
  14. 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
  15. Jul 27, 2018
    • Richard Mudgett's avatar
      res_pjsip_endpoint_identifier_ip.c: Added regex support to match_header · e5ae04b4
      Richard Mudgett authored
      This patch adds regular expression support to make the identify section's
      match_header option more useful when attempting to match complex headers
      like the 'To' or 'From' headers.  The 'From' header has variable
      components such as the tag parameter that you cannot predict.  To specify
      a regular expression put slashes around the regular expression in place of
      the header value.
      
      [identify-alice]
      type=identify
      endpoint=alice
      match_header=From: /<sip:alice@127\\.0\\.0\\.1>/
      
      * Added regex support to match_header so you could match a 'To' header
      among other complex headers.
      
      Fixed reported crashes when trying to match special headers like 'Contact'.
      The identify section's match_header method used code that assumed you were
      matching a generic header.  Any other type of header could cause a crash
      if the header structure variant did not match the generic header enough.
      
      * Made use code that will work for any header type instead of code
      specific to generic headers.
      
      Other fixes while in the area:
      
      * Made check all headers of the requested name.
      * Added some more sanity checks to the configured identify matching
      options when applying the configuration.
      
      ASTERISK-27548
      
      Change-Id: I27dfd4ff5e2259b906640e3c330681b76b4ed1f1
      e5ae04b4
    • Joshua Colp's avatar
      res_pjsip_pubsub: Treat "prune_on_boot" as a yes / no. · 42653918
      Joshua Colp authored
      The alembic for the PJSIP subscription persistence table has the
      "prune_on_boot" field as a boolean. While in Asterisk we are
      tolerant of many different definitions of true and false in the
      database we only accept "yes" and "no". This change makes the
      field treated as a yes/no instead of an integer, thus storing
      "yes" and "no" instead of "1" and "0".
      
      Change-Id: Ic8b9211b36babefe78f70def6828a135a6ae7ab6
      42653918
    • Alexander Traud's avatar
      res_rtp_asterisk: In Developer Mode, do not require OpenSSL. · 870fe7f6
      Alexander Traud authored
      OpenSSL is an optional external library and should stay optional even when
      Developer Mode is configured.
      
      ASTERISK-27990
      
      Change-Id: Ia68a4cd5474b26d45e0f43b04032ad598022853b
      870fe7f6
    • Joshua Colp's avatar
    • Joshua Colp's avatar
Loading