[Home]

Summary:ASTERISK-26111: stasis: Inactive Stasis app X missed message
Reporter:Claudiu Olteanu (claudiuolteanu)Labels:stasis user_events
Date Opened:2016-06-13 06:33:04Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Applications/app_stasis Resources/res_stasis
Versions:13.8.0 13.9.0 13.9.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:OS: RedHat 7.2, kernel version 3.10.0-327.13.1.el7.x86_64 Asterisk 13.9.1Attachments:
Description:Sometimes when an application is unregistered at the WebSocket level (it was killed) and another one generates a user event to the inactive application, it receives an HTTP 204 response, instead of HTTP 404.

Even though the server detects when the application that should receive the event is inactive and the message is missed, it doesn't notify the sender.
Therefore, the sender cannot detect that his message was missed. Moreover, if I list all Stasis applications, the one that was killed is still listed (after more than 20 minutes).

I believe that it would be a good idea to notify the sender that the generated user event was missed and not handled with success. Otherwise, a Stasis application cannot detect when another one crashed and became inactive.

To test it you can create a Stasis application, kill the process and try to generate a user event to that specific app.

Thanks,
Claudiu
Comments:By: Asterisk Team (asteriskteam) 2016-06-13 06:33:06.040-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].