Skip to content
Snippets Groups Projects
  1. Nov 11, 2016
  2. Nov 10, 2016
  3. Nov 09, 2016
    • Sebastian Gutierrez's avatar
      app_queue: new variable set when abandoned · 4e8ab6cd
      Sebastian Gutierrez authored
      sets the variable ABANDONED to TRUE if the call was not answered.
      
      ASTERISK-26558
      
      Change-Id: I4729af9bff4eba436d8a776afd3374065d0036d3
      4e8ab6cd
    • Mark Michelson's avatar
      res_pjsip_session: Do not call session supplements when it's too late. · e5860ce0
      Mark Michelson authored
      res_pjsip_sesssion was hooking into transaction and invite state
      changes. One of the reasons for doing so was due to the
      PJSIP_EVENT_TX_MSG event. The idea was that we were hooking into the
      message sending process, and so we should call session supplements to
      alter the outgoing message.
      
      In reality, this event was meant to indicate that the message either
      a) had already been sent, or
      b) required a DNS lookup and would be sent when the DNS query
      completed.
      
      In case (a), this meant we were altering an already-sent
      request/response for no reason. In case (b), this potentially meant we
      could be trying to alter a request/response at the same time that the
      DNS resolution completed. In this case, it meant we might be stomping on
      memory being used by the thread actually sending the message. This
      caused potential crashes and memory corruption.
      
      This patch removes the calls to session supplements from the case where
      the PJSIP_EVENT_TX_MSG event occurs. In all of these cases, trying to
      alter the message at this point is too late, and it can cause nothing
      but harm to try to do it. Because there were no longer any calls to the
      handle_outgoing() function, it has been removed.
      
      Change-Id: Ibcc223fb1c3a237927f38754e0429e80ee301e92
      e5860ce0
  4. Nov 08, 2016
  5. Nov 07, 2016
  6. Nov 06, 2016
  7. Nov 04, 2016
    • Matt Jordan's avatar
      res_http_websocket: Increase the buffer size for non-LOW_MEMORY systems · 367d4903
      Matt Jordan authored
      Not surprisingly, using Respoke (and possibly other systems) it is
      possible to blow past the 16k limit for a WebSocket packet size. This
      patch bumps it up to 32k, which, at least for Respoke, is sufficient.
      For now.
      
      Because 32k is laughable on a LOW_MEMORY system (as is 16k, for that
      matter), this patch adds a LOW_MEMORY directive that sets the buffer to
      8k for systems who have asked for their reduced memory availability to
      be considered.
      
      Change-Id: Id235902537091b58608196844dc4b045e383cd2e
      367d4903
    • Matt Jordan's avatar
      res_stasis: Set a video source mode on Stasis created bridges · 7a449b68
      Matt Jordan authored
      When a bridge is created via ARI (through res_stasis), no video source
      mode is set by default. As a result, any endpoint sending video media
      won't ever see any video reflected back to it.
      
      This patch defaults a bridge to a 'follow the talker' video mode.
      Further work can be done to add routes that allow for the video mode to
      be controlled through the /bridges resource.
      
      Change-Id: I7e9d530a5d7a97a4524a9ee4e468e1a6b3443866
      7a449b68
Loading