[asterisk-bugs] [JIRA] (ASTERISK-28056) Incorrect endpoint status after endpoint synchronization for a specific AOR

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Sep 14 16:44:54 CDT 2018


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

Asterisk Team commented on ASTERISK-28056:
------------------------------------------

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].

> Incorrect endpoint status after endpoint synchronization for a specific AOR
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-28056
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28056
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.0.0
>            Reporter: Jason Hord
>              Labels: pjsip
>
> I have two devices configured but am unable to get them to both consistently qualify after starting Asterisk.  I see the endpoint and AOR for the first device become reachable as expected, but as the second device is being qualified, the endpoint for the first device is marked as 'Unavailable'.  The contact and AOR for both devices are reachable, however.
> Based on my digging through the source code and logs, I believe this happens when sip_options_synchronize_endpoint() (res/res_pjsip/pjsip_options.c) is called for a specific AOR.  When called, it appears as though non-matching AORs are checked to see if they have an endpoint state compositor and will be set to an 'Unavailable' status if one is not present.  My thought is that this is what is setting the first endpoint to unavailable although I'm not sure why this would be the case.
> I have included a small patch that resolves the issue for me, but I don't know if it is the correct solution.  Any guidance would be appreciated.
> Thank-you.



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



More information about the asterisk-bugs mailing list