[asterisk-bugs] [JIRA] (ASTERISK-24802) stasis: set a channel variable on websocket disconnect error

Ashley Sanders (JIRA) noreply at issues.asterisk.org
Thu Apr 9 14:02:32 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225845#comment-225845 ] 

Ashley Sanders edited comment on ASTERISK-24802 at 4/9/15 2:01 PM:
-------------------------------------------------------------------

Added a new channel variable, STASISSTATUS, to advertise the status of Stasis such that any application on the other side is not left waiting indefinitely for Stasis to return in the event an error occurs that disrupts normal processing.

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


was (Author: asanders):
Added a new channel variable, STASISSTATUS, to advertise the status of Stasis such that any application on the other side is not left waiting indefinitely for Stasis to return in the event an error occurs that disrupts normal processing.

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

> stasis: set a channel variable on websocket disconnect error
> ------------------------------------------------------------
>
>                 Key: ASTERISK-24802
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24802
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_stasis, Resources/res_ari
>            Reporter: Kevin Harwell
>            Assignee: Ashley Sanders
>            Severity: Minor
>              Labels: ARI
>      Target Release: 13.4.0
>
>
> If there is an error on websocket write the websocket gets disconnected as it should, however it would be nice if a channel variable was set so the dialplan could be aware of the disconnect also. This could be especially useful when the error occurs on stasisstart.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list