[asterisk-bugs] [JIRA] (ASTERISK-25466) pjsip: Endpoints added to pjsip.conf during runtime - reload results in an 'invalid' state for all but the last endpoint loaded

Dmitriy Serov (JIRA) noreply at issues.asterisk.org
Wed Jun 14 12:11:58 CDT 2017


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

Dmitriy Serov commented on ASTERISK-25466:
------------------------------------------

Asterisk 13.16.0

Something has changed. 
If the earlier status was Invalid, now it is simply Unavailable. Contact is Available and Endpoint is not. Until asterisk rebooted.

Endpoint:  srv_d33273                                           Unavailable   0 of inf
Contact:  multifon.ru/sip:multifon.ru                e2c481b00e Avail        58.373


> pjsip: Endpoints added to pjsip.conf during runtime - reload results in an 'invalid' state for all but the last endpoint loaded
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25466
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25466
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.6.0
>            Reporter: Dmitriy Serov
>         Attachments: debug.log, pjsip_general.inc
>
>
> [Edit by Rusty - Reproduction requires adding more than one new endpoint. All of the new endpoints except the last one added will have an invalid state after the new configuration is loaded. Registration does not appear to be blocked for the invalid state endpoints in my own testing.]
> steps to repeat:
> 1. adding new device enpoint in text config pjsip.conf. For example, "test1"
> 2. module reload res_pjsip.so
> 3. pjsip show endpoint test1
> State of endpoint is "Invalid".
> the only way to fix i know: asterisk restart :(
> This error appeared not so long ago and very critical, because it blocks the registration of new users



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



More information about the asterisk-bugs mailing list