Skip to content
Snippets Groups Projects
  1. Apr 10, 2015
  2. Apr 09, 2015
  3. Apr 08, 2015
  4. Apr 07, 2015
  5. Apr 06, 2015
  6. Apr 05, 2015
  7. Apr 03, 2015
  8. Apr 02, 2015
  9. Apr 01, 2015
  10. Mar 31, 2015
    • Ashley Sanders's avatar
      stasis: set a channel variable on websocket disconnect error · 7293ecd9
      Ashley Sanders authored
      When an error occurs while writing to a web socket, the web socket is
      disconnected and the event is logged. A side-effect of this, however, is that
      any application on the other side waiting for a response from Stasis is left
      hanging indefinitely (as there is no mechanism presently available for
      notifying interested parties about web socket error states in Stasis).
      
      To remedy this scenario, this patch introduces a new channel variable:
      STASISSTATUS.
      
      The possible values for STASISSTATUS are:
      SUCCESS         - The channel has exited Stasis without any failures
      FAILED          - Something caused Stasis to croak. Some (not all) possible
                        reasons for this:
                          - The app registry is not instantiated;
                          - The app requested is not registered;
                          - The app requested is not active;
                          - Stasis couldn't send a start message
      
      ASTERISK-24802
      Reported By: Kevin Harwell
      Review: https://reviewboard.asterisk.org/r/4519/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7293ecd9
Loading