Skip to content
Snippets Groups Projects
  1. Dec 19, 2017
    • Aaron An's avatar
      res_rtp_asterisk: Avoid close the rtp/rtcp fd twice. · 81474dfb
      Aaron An authored
      When RTCP-MUX enabled. rtp->s is the same as rtcp->s, check this before
      close the file descriptor. Close the FD twice will hangs the asterisk
      under heavy load.
      
      ASTERISK-27299 #close
      Reported-by: Aaron An
      Tested-by: AaronAn
      
      Change-Id: I870a072d73fd207463ac116ef97100addbc0820a
      81474dfb
  2. Dec 15, 2017
  3. Dec 14, 2017
  4. Dec 13, 2017
  5. Dec 12, 2017
    • Ivan Poddubny's avatar
      app_queue: Fix extension state subscriptions removed on dialplan reload · c7f94e57
      Ivan Poddubny authored
      The approach with having a single global subscription to all extension
      state changes has one issue: dynamically created hints don't have any
      watchers and are therefore garbage collected on the first dialplan
      reload.
      
      This change creates a state subscription for every queue member with a
      hint as state_interface, thus increasing the count of watches for
      hints, so they are not destroyed prematurely anymore.
      
      There are 2 side effects:
      1. The state change callback in app_queue is not executed when
         there are no members referring to the extension.
      2. The callback is called multiple times for the same hint if it's
         associated with more than one queue member.
      
      Reported by: Steven T. Wheeler
      
      ASTERISK-18411 #close
      
      Change-Id: I4956af2136ea2a7f110ac9272eae5f6e676d8f89
      c7f94e57
Loading