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

Jason Hord (JIRA) noreply at issues.asterisk.org
Thu Apr 18 08:34:47 CDT 2019


Jason Hord created ASTERISK-28388:
-------------------------------------

             Summary: 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


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