Skip to content
Snippets Groups Projects
  1. Apr 08, 2013
    • Matthew Jordan's avatar
      Don't attempt a websocket protocol removal if res_http_websocket isn't there · a5df2542
      Matthew Jordan authored
      This patch sets the protocols container provided by res_http_websocket to NULL
      when the module gets unloaded and adds the necessary checks when adding/
      removing a websocket protocol. This prevents some FRACKing on an invalid
      pointer to the disposed container if a module that uses res_http_websocket is
      unloaded after it.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a5df2542
    • Matthew Jordan's avatar
      Add multi-channel Stasis messages; refactor Dial AMI events to Stasis · b8d4e573
      Matthew Jordan authored
      This patch does the following:
       * A new Stasis payload has been defined for multi-channel messages. This
         payload can store multiple ast_channel_snapshot objects along with a single
         JSON blob. The payload object itself is opaque; the snapshots are stored
         in a container keyed by roles. APIs have been provided to query for and
         retrieve the snapshots from the payload object.
       * The Dial AMI events have been refactored onto Stasis. This includes dial
         messages in app_dial, as well as the core dialing framework. The AMI events
         have been modified to send out a DialBegin/DialEnd events, as opposed to
         the subevent type that was previously used.
       * Stasis messages, types, and other objects related to channels have been
         placed in their own file, stasis_channels. Unit tests for some of these
         objects/messages have also been written.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b8d4e573
    • David M. Lee's avatar
      Stasis application WebSocket support · a2a53cc3
      David M. Lee authored
      This is the API that binds the Stasis dialplan application to external
      Stasis applications. It also adds the beginnings of WebSocket
      application support.
      
      This module registers a dialplan function named Stasis, which is used
      to put a channel into the named Stasis app. As a channel enters and
      leaves the Stasis diaplan application, the Stasis app receives a
      'stasis-start' and 'stasis-end' events.
      
      Stasis apps register themselves using the stasis_app_register and
      stasis_app_unregister functions. Messages are sent to an application
      using stasis_app_send.
      
      Finally, Stasis apps control channels through the use of the
      stasis_app_control object, and the family of stasis_app_control_*
      functions.
      
      Other changes along for the ride are:
       * An ast_frame_dtor function that's RAII_VAR safe
       * Some common JSON encoders for name/number, timeval, and
         context/extension/priority
      
      Review: https://reviewboard.asterisk.org/r/2361/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a2a53cc3
  2. Apr 06, 2013
  3. Apr 05, 2013
    • Michael L. Young's avatar
      Fix For Not Overriding The Default Settings In chan_sip · 03286cf2
      Michael L. Young authored
      The initial report was that the "nat" setting in the [general] section was not
      having any effect in overriding the default setting.  Upon confirming that this
      was happening and looking into what was causing this, it was discovered that
      other default settings would not be overriden as well.
      
      This patch works similar to what occurs in build_peer().  We create a temporary
      ast_flags structure and using a mask, we override the default settings with
      whatever is set in the [general] section.
      
      In the bug report, the reporter who helped to test this patch noted that the
      directmedia settings were being overriden properly as well as the nat settings.
      
      This issue is also present in Asterisk 1.8 and a separate patch will be applied
      to it.
      
      (issue ASTERISK-21225)
      Reported by: Alexandre Vezina
      Tested by: Alexandre Vezina, Michael L. Young
      Patches:
        asterisk-21225-handle-options-default-prob_v4.diff
      						Michael L. Young (license 5026)
      
      Review: https://reviewboard.asterisk.org/r/2385/
      ........
      
      Merged revisions 384827 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      03286cf2
  4. Apr 04, 2013
  5. Apr 03, 2013
  6. Apr 02, 2013
  7. Apr 01, 2013
  8. Mar 30, 2013
  9. Mar 29, 2013
  10. Mar 28, 2013
  11. Mar 27, 2013
  12. Mar 26, 2013
  13. Mar 25, 2013
Loading