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

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


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28388:
--------------------------------------

    Assignee: Jason Hord
      Status: Waiting for Feedback  (was: Triage)

Do you plan on putting this up for review? And are ASTERISK-28056 the same underlying issue?

> 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