Skip to content
Snippets Groups Projects
  1. Mar 13, 2019
  2. Mar 12, 2019
  3. Mar 11, 2019
    • Chris-Savinovich's avatar
      partial-inlining: disable partial-inlining if gcc>=8.2.1 · 449dff99
      Chris-Savinovich authored
      Apply flag -fno-partial-inlining on default optimization if and only if
      gcc version >= 8.2.1 (this is the current ver on Fedora and Ubuntu).
      This is done to avoid a bug that causes arithmetic calculations to fail
      if the following conditions are met:
      1. TEST_FRAMEWORK on
      2. DONT_OPTIMIZE off
      3. Fedora and Ubuntu
      4. GCC 8.2.1
      5. There must exist a certain combination of multithreading.
      6. Optimization level -O2 and -O3
      7. Flag -fpartial-inline activated (default when optimization level>=2)
      The following link points to a similar gcc bug reported in 2015. This leads me
      to believe the bug has regressed. Note I am not able to replicate this bug
      in an environment other than Asterisk + Test Framework + Test_cel because the
      multithreading combination that causes it seems to be unique. Therefore I
      am temporarily abandoning any thoughts of reporting the new occurrence of this
      bug to gcc.gnu.org.  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65307
      
      Change-Id: Ibd1afe60e0a38b88e85fdcd9b051004601c2f102
      449dff99
    • George Joseph's avatar
    • Friendly Automation's avatar
    • sungtae kim's avatar
      res/res_rtp_asterisk.c: Fixing possible divide by zero · 8641fd97
      sungtae kim authored
      Currently, when the Asterisk calculates rtp statistics, it uses
      sample_count as a unsigned integer parameter. This would be fine
      for most of cases, but in case of large enough number of sample_count,
      this might be causing the divide by zero error.
      
      ASTERISK-28321
      
      Change-Id: If7e0629abaceddd2166eb012456c53033ea26249
      8641fd97
  4. Mar 08, 2019
  5. Mar 07, 2019
    • Sean Bright's avatar
      Replace calls to strtok() with strtok_r() · 2473b791
      Sean Bright authored
      strtok() uses a static buffer, making it not thread safe.
      
      Also add a #define to cause a compile failure if strtok is used.
      
      Change-Id: Icce265153e1e65adafa8849334438ab6d190e541
      2473b791
    • Sean Bright's avatar
      samples: Fix comment typo in pjsip.conf.sample · 7b02a961
      Sean Bright authored
      Change-Id: I84a45c3d9fd26ca61aca99927eec83b57f1de857
      7b02a961
    • Ben Ford's avatar
      res_stasis: Add ability to switch applications. · 6626df58
      Ben Ford authored
      Added the ability to move between Stasis applications within Stasis.
      This can be done by calling 'move' in an application, providing (at
      minimum) the channel's id and the application to switch to. If the
      application is not registered or active, nothing will happen and the
      channel will remain in the current application, and an event will be
      triggered to let the application know that the move failed. The event
      name is "ApplicationMoveFailed", and provides the "destination" that the
      channel was attempting to move to, as well as the usual channel
      information. Optionally, a list of arguments can be passed to the
      function call for the receiving application. A full example of a 'move'
      call would look like this:
      
      client.channels.move(channelId, app, appArgs)
      
      The control object used to control the channel in Stasis can now switch
      which application it belongs to, rather than belonging to one Stasis
      application for its lifetime. This allows us to use the same control
      object instead of having to tear down the current one and create
      another.
      
      ASTERISK-28267 #close
      
      Change-Id: I43d12b10045a98a8d42541889b85695be26f288a
      6626df58
  6. Mar 05, 2019
  7. Mar 04, 2019
  8. Mar 03, 2019
    • sungtae kim's avatar
      bridging: Add creation timestamps · 3638c433
      sungtae kim authored
      This small feature will help to checking the bridge's status to
      figure out which bridge is in old/zombie or not. Also added
      detail items for the 'bridge show *' cli to provide more detail
      info. And added creation item to the ARI as well.
      
      ASTERISK-28279
      
      Change-Id: I460238c488eca4d216b9176576211cb03286e040
      3638c433
  9. Mar 01, 2019
  10. Feb 28, 2019
Loading