Skip to content
Snippets Groups Projects
  1. Oct 04, 2018
  2. Oct 03, 2018
  3. Sep 26, 2018
  4. Sep 17, 2018
  5. Sep 14, 2018
  6. Sep 12, 2018
  7. Aug 27, 2018
    • Corey Farrell's avatar
      Create --disable-binary-modules option. · a2001c00
      Corey Farrell authored
      This new option can be passed for ./configure or
      ./tests/CI/buildAsterisk.sh to prevent download/install of binary
      modules.
      
      Normally enabling the categories MENUSELECT_CODECS or MENUSELECT_RES
      will result in binary modules being enabled even if the build target is
      incompatible with those modules.  This includes CI scripts which enable
      categories before disabling specific modules.
      
      If more binary modules are offered in the future this will help avoid
      accidentally downloading them if unwanted or incompatible.  Adding a
      binary module will only require creating a new menuselect entry similar
      to the existing ones, it will not be necessary to modify the CI scripts.
      
      Change-Id: I6b1bd1c75a2e48f05b8b8a45b7a7a2d00a079166
      a2001c00
  8. Aug 16, 2018
  9. Aug 08, 2018
    • Corey Farrell's avatar
      CI: Add support for coverage processing. · addfc938
      Corey Farrell authored
      Enable coverage with `./tests/CI/buildAsterisk.sh --coverage`.  This
      will cause Asterisk to be compiled with coverage support.  It also
      initializes 'before' coverage data for all sources.  Accept
      --tested-only to disable modules which are not run by any test.
      Enabling coverage also sets tested-only true by default.  To build
      everything with coverage enabled use `--coverage --tested-only=0`.
      
      ./tests/CI/processCoverage.sh is used to process the coverage and
      generate HTML reports.
      
      Fix utils/check_expr2 which failed to compiled with coverage enabled.
      
      Add status output 5 times per stage of astobj2_test_perf to ensure
      remote CLI does not timeout when compiled with coverage.  Remote CLI
      disconnects if no output is received for 60 seconds.  When coverage is
      enabled it takes about 70 seconds for my laptop to run the stages of
      this test, so with the change a message is printed every 14 seconds.
      
      Change-Id: I890f7d5665087426ad7d3e363187691b9afc2222
      addfc938
  10. Aug 01, 2018
    • 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
  11. Jul 30, 2018
  12. Jul 26, 2018
  13. Jul 25, 2018
  14. Jul 24, 2018
  15. Jul 23, 2018
    • Corey Farrell's avatar
      CI: Split --test-command argument. · 3b78651c
      Corey Farrell authored
      The --test-command argument has now been split, unit tests now use
      `--unittest-command` and the testsuite uses --testsuite-command.
      
      This will make it easier to create a script which run everything by
      forwarding the same arguments to all CI scripts.
      
      Change-Id: Ia54aa4848eaffbdf13175fcda40fc0b23080ad71
      3b78651c
  16. Jul 22, 2018
  17. Jul 20, 2018
  18. Jul 18, 2018
    • Ben Ford's avatar
      res_rtp_asterisk: Add support for sending NACK requests. · 5bacde37
      Ben Ford authored
      Support has been added for receiving a NACK request and handling it.
      Now, Asterisk can detect when a NACK request should be sent and knows
      how to construct one based on the packets we've received from the remote
      end. A buffer has been added that will store out of order packets until
      we receive the packet we are expecting. Then, these packets are handled
      like normal and frames are queued to the core like normal. Asterisk
      knows which packets to request in the NACK request using a vector
      which stores the sequence numbers of the packets we are currently missing.
      
      If a missing packet is received, cycle through the buffer until we reach
      another packet we have not received yet. If the buffer reaches a certain
      size, send a NACK request. If the buffer reaches its max size, queue all
      frames to the core and wipe the buffer and vector.
      
      According to RFC3711, the NACK request must be sent out in a compound
      packet. All compound packets must start with a sender or receiver
      report, so some work was done to refactor the current sender / receiver
      code to allow it to be used without having to also include sdes
      information and automatically send the report.
      
      Also added additional functionality to ast_data_buffer, along with some
      testing.
      
      For more information, refer to the wiki page:
      https://wiki.asterisk.org/wiki/display/AST/WebRTC+User+Experience+Improvements
      
      ASTERISK-27810 #close
      
      Change-Id: Idab644b08a1593659c92cda64132ccc203fe991d
      5bacde37
  19. Jul 17, 2018
  20. Jul 16, 2018
Loading