[asterisk-bugs] [JIRA] (ASTERISK-28061) Creating new realtime pjsip endpoint not updating state

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Sep 19 10:51:54 CDT 2018


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

Joshua C. Colp closed ASTERISK-28061.
-------------------------------------

    Resolution: Not A Bug

After looking over things your use case is not supported. In order to be performant for most use cases the code had to be optimized and one of the results was that in realtime adding an endpoint has to do a reload. This is because OPTIONS, by its very nature, has to maintain state about things. The previous implementation was CONSTANTLY querying everything to rebuild this and it suffered from HUGE performance problems as a result. This was not scaleable.

If someone would like to work on OPTIONS support which improves it for realtime so it may not be needed with an approach that does NOT cause problems for non-realtime users this is certainly something that would be reviewed.

> Creating new realtime pjsip endpoint not updating state
> -------------------------------------------------------
>
>                 Key: ASTERISK-28061
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28061
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.24.0
>            Reporter: Remi Quezada
>            Assignee: Unassigned
>              Labels: pjsip
>         Attachments: db_entires.txt, debug_log_28061, extconfig.conf, pjsip_endpoint_state.txt, sorcery.conf
>
>
> When I create a new realtime pjsip endpoint the state is not updating upon registering.  The work around to fix this is to reload res_pjsip.so module or restart asterisk.   
> The attached logs show the endpoint registers but when you do a pjsip show endpoint the state is listed as Unavailable.  Once I do a reload res_pjsip.so you can see that endpoint immediately is reachable and when I do a pjsip show endpoint you now see the state as Not in use.  



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



More information about the asterisk-bugs mailing list