[asterisk-bugs] [JIRA] (ASTERISK-28388) Endpoint sync causes device unreach when a new contact is added

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu May 2 12:01:47 CDT 2019


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

Asterisk Team commented on ASTERISK-28388:
------------------------------------------

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

> Endpoint sync causes device unreach when a new contact is added
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-28388
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28388
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.3.0
>            Reporter: Jason Hord
>            Assignee: Jason Hord
>              Labels: patch
>         Attachments: asterisk-16.3.0-sync-endpoint.diff, full
>
>
> I am seeing unrelated endpoints being set to unavailable when a contact is added to a completely different endpoint.  As best I can tell from the code this is because an endpoint sync happens when the contact is added.  This causes an AOR search which marks every other endpoint as unreachable.  The unrelated endpoints are skipped which means the task_data structure is never initialized properly.  After the loop exits, a check is made to see if an endpoint compositor was found and if not, the endpoint is marked offline.  In my scenario, I can't see how the task_data structure would ever be valid for endpoints that match the filter criteria.



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



More information about the asterisk-bugs mailing list