Skip to content
Snippets Groups Projects
  1. Nov 19, 2018
  2. Nov 18, 2018
  3. Nov 17, 2018
  4. Nov 16, 2018
    • George Joseph's avatar
    • George Joseph's avatar
      CI: Allow runUnittests to use 'expect' to run the tests · 8ff3435c
      George Joseph authored
      There seems to be a race condition between starting the asterisk
      daemon and attempting to use 'asterisk -r' that can cause the
      control socket file to not be created.  Since all of the Jenkins
      slaves have 'expect' installed, the runUnittests script can use
      it to start asterisk in the forground and issue the commands
      interactively.  This is much more reliable and it can also make
      startup errors more visible since they'll be in the Jenkins console
      output.
      
      If 'expect' isn't installed, the original daemon/asterisk -r
      process is used.
      
      Also added a "core show settings" before running the tests
      and added "notice,warning,error" to the console log.
      
      Change-Id: Idd656085f854afede813ac241b9e312b31358160
      8ff3435c
    • Corey Farrell's avatar
      taskprocessor: Prevent race creating new taskprocessor. · 9abd5e10
      Corey Farrell authored
      Task processors are retrieved using a 'get or create' pattern.  The
      singleton container was unlocked between the get and create steps so
      it's possible that two threads could create task processors with the
      same name at the same time.
      
      Change-Id: Id64fae94a6a1e940ddf38fde622dcd4391635382
      Unverified
      9abd5e10
    • Corey Farrell's avatar
      pjproject-bundled: Use AST_DEVMODE for conditional compilation. · 752fd06d
      Corey Farrell authored
      We previously allowed resample and g711 codecs to be built when
      TEST_FRAMEWORK was enabled.  This could cause errors if the testsuite
      was run without this option enabled.  Switch the build system to allow
      those codecs to be built when --enable-dev-mode is used.  This removes a
      chance for strange testsuite errors from use of an inadequate pjsua
      binary.
      
      Change-Id: Iee8a3613cdb711fa7e7d217c5a775a575907ae22
      Unverified
      752fd06d
  5. Nov 15, 2018
  6. Nov 14, 2018
  7. Nov 13, 2018
  8. Nov 12, 2018
  9. Nov 11, 2018
  10. Nov 08, 2018
  11. Nov 07, 2018
    • Chris-Savinovich's avatar
      res_pjsip: Send a 503 response when overload state if reliable transport. · a3fc97aa
      Chris-Savinovich authored
      When Asterisk's taskprocessors get overloaded we need to reduce the work
      load. res_pjsip currently ignores new SIP requests and relies on SIP
      retransmissions in the hope that the overload condition will clear soon
      enough to handle the retransmitted SIP request.
      This change adds the following code after ast_taskprocessor_alert_get()
      has returned TRUE:
      1- identifies transport type. If non-udp then send a 503 response
      2- if transport type is udp/udp6 then ignore, as before.
      
      Change-Id: I1c230b40d43a254ea0f226b7acf9ee480a5d3836
      a3fc97aa
    • Joshua Colp's avatar
      Merge "stasis: Clarify lifetime of topics." · d3bc9e67
      Joshua Colp authored
      d3bc9e67
  12. Nov 06, 2018
    • Kevin Harwell's avatar
      res_pjsip: formatting error in documentation · fdca9cb6
      Kevin Harwell authored
      The use of a '|' in the "global/debug" synopsis documentation caused the
      generated html table on the wiki to add an extra column that included the
      text after the pipe.
      
      This patch replaces the pipe with a comma.
      
      ASTERISK-28150
      
      Change-Id: I3d79a6ca6d733d9cb290e779438114884b98a719
      fdca9cb6
    • Alexei Gradinari's avatar
      res_pjsip.c: Make taskprocessor scheduling algorithm pick the shortest queue · 5f3f7077
      Alexei Gradinari authored
      The current round-robin method does not take the current taskprocessor
      load into consideration when distributing requests.  Using the least-size
      method the request goes to the taskprocessor that is servicing the least
      number of active tasks at the current time.
      
      Longer running tasks with the round-robin method can delay processing
      tasks.
      
      * Change the algorithm from round-robin to least-size for picking the
      PJSIP taskprocessor from the default serializer pool.
      
      Change-Id: I7b8d8cc2c2490494f579374b6af0a4868e3a37cd
      5f3f7077
Loading