[asterisk-bugs] [JIRA] (ASTERISK-28383) Contact status is reported as REACHABLE when contact is deleted

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Apr 11 09:57:47 CDT 2019


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

Joshua C. Colp commented on ASTERISK-28383:
-------------------------------------------

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.

> Contact status is reported as REACHABLE when contact is deleted
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-28383
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28383
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_registrar
>    Affects Versions: 16.3.0
>            Reporter: Jason Hord
>            Assignee: Jason Hord
>            Severity: Minor
>              Labels: patch
>         Attachments: asterisk-pjsip-contact-removed.diff
>
>
> 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.



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



More information about the asterisk-bugs mailing list