[Home]

Summary:ASTERISK-28383: Contact status is reported as REACHABLE when contact is deleted
Reporter:Jason Hord (jhord)Labels:patch
Date Opened:2019-04-11 09:40:09Date Closed:2019-04-25 12:00:02
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_registrar
Versions:16.3.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) asterisk-pjsip-contact-removed.diff
Description:We are seeing a contact status of REACHABLE in AMI events when a contact is deleted.  I believe this is because the status is not updated before the update event is pushed via stasis.  I have included a patch that sets the contact status to REMOVED before performing the sorcery delete so that the contact observers will report the correct status.
Comments:By: Asterisk Team (asteriskteam) 2019-04-11 09:40:10.080-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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Jason Hord (jhord) 2019-04-11 09:40:57.020-0500

Adds contact status change to REMOVED when deleting a contact.

By: Joshua C. Colp (jcolp) 2019-04-11 09:53:51.511-0500

Do you plan on putting this up for review on Gerrit?

By: Joshua C. Colp (jcolp) 2019-04-11 09:56:03.340-0500

As well - this would not be the correct place to make this change. The res/res_pjsip/pjsip_options.c code is responsible for management and updating the status. It would need to be determined precisely what is going on and the precise flow. The debug level log can help with this.

By: Asterisk Team (asteriskteam) 2019-04-25 12:00:01.939-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines