Skip to content
Snippets Groups Projects
  1. Dec 01, 2014
  2. Nov 24, 2014
  3. Nov 21, 2014
  4. Nov 20, 2014
  5. Nov 19, 2014
  6. Nov 18, 2014
  7. Nov 17, 2014
  8. Nov 16, 2014
  9. Nov 15, 2014
  10. Nov 14, 2014
  11. Nov 13, 2014
    • Kevin Harwell's avatar
      res_pjsip_exten_state: PJSIPShowSubscriptionsInbound causes crash · 49b7a1cb
      Kevin Harwell authored
      When using a non-default sorcery wizard (in this instance realtime) for
      outbound registrations and after adding in an appropriate call to
      ast_sorcery_apply_config() (since it is missing) Asterisk will crash after
      a stack overflow occurs due to the code infinitely recursing.  The fix entails
      removing the outbound registration state dependency from the outbound
      registration sorcery object and instead keeping an in memory container that
      can be used to lookup the state when needed.
      
      ASTERISK-24514
      Reported by: Mark Michelson
      Review: https://reviewboard.asterisk.org/r/4164/
      ........
      
      Merged revisions 427814 from http://svn.asterisk.org/svn/asterisk/branches/12
      ........
      
      Merged revisions 427815 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      49b7a1cb
    • Kinsey Moore's avatar
      Stasis: Fix StasisEnd message ordering · 74e70687
      Kinsey Moore authored
      This change corrects message ordering in cases where a channel-related
      message can be received after a Stasis/ARI application has received the
      StasisEnd message. The StasisEnd message was being passed to
      applications directly without waiting for the channel topic to empty.
      
      As a result of this fix, other bugs were also identified and fixed:
      * StasisStart messages were also being sent directly to apps and are
        now routed through the stasis message bus properly
      * Masquerade monitor datastores were being removed at the incorrect
        time in some cases and were causing StasisEnd messages to not be sent
      * General refactoring where necessary for the above
      * Unsubscription on StasisEnd timing changes to prevent additional
        messages from following the StasisEnd when they shouldn't
      
      A channel sanitization function pointer was added to reduce processing
      and AO2 lookups.
      
      Review: https://reviewboard.asterisk.org/r/4163/
      ASTERISK-24501 #close
      Reported by: Matt Jordan
      ........
      
      Merged revisions 427788 from http://svn.asterisk.org/svn/asterisk/branches/12
      ........
      
      Merged revisions 427789 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      74e70687
    • Matthew Jordan's avatar
      main/rtp_engine: Fix crash when processing more than one RTCP report info block · cc4c3966
      Matthew Jordan authored
      Asterisk - in res_rtp_asterisk - only understands a single RTCP report info
      block. When the RTCP information was refactored in the RTP Engine to be pushed
      over the Stasis message bus, I put in the hooks into the engine to handle
      multiple RTCP report info blocks, in the hope that a future RTP implementation
      would be able to provide that data. Unfortunately, res_rtp_asterisk has a
      tendency to "lie":
      (1) It will send RTCP reports with a reception_report_count greater than 1
          (which is pulled directly from the RTCP packet itself, so that part is
          correct)
      (2) It will only provide a single report block
      
      When the rtp_engine goes to convert this to a JSON blob, hilarity ensues as it
      looks for a report block that doesn't exist.
      
      This patch updates the rtp_engine to be a bit more skeptical about what it is
      presented with. While this could also be fixed in res_rtp_asterisk, this patch
      prefers to fix it in the engine for two reasons:
      (1) The engine is designed to work with multiple RTP implementation, and hence
          having it be more robust is a good thing (tm)
      (2) res_rtp_asterisk's handling of RTCP information is "fun". It should report
          the correct reception_report_count; ideally it should also be giving us all
          of the blocks - but it is *definitely* not designed to do that. Going down
          that road is a non-trivial effort.
      
      Review: https://reviewboard.asterisk.org/r/4158/
      
      ASTERISK-24489 #close
      Reported by: Gregory Malsack
      Tested by: Gregory Malsack
      
      ASTERISK-24498 #close
      Reported by: Beppo Mazzucato
      Tested by: Beppo Maazucato
      ........
      
      Merged revisions 427762 from http://svn.asterisk.org/svn/asterisk/branches/12
      ........
      
      Merged revisions 427763 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      cc4c3966
Loading