[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
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Sat Nov 7 16:51:33 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228211#comment-228211 ]
Rusty Newton commented on ASTERISK-25466:
-----------------------------------------
Thanks Dmitry. I was able to reproduce the invalid states even without your configuration. As you said, simply adding *more than one* new endpoint results in the issue. However, *I was not able* to reproduce behavior where endpoint registration was blocked.
{noformat}
Endpoint: ALICE Not in use 0 of inf
InAuth: ALICE/ALICE
Aor: ALICE 1
Contact: ALICE/sip:ALICE at 192.168.1.245:5060 Unknown nan
Endpoint: BOB Not in use 0 of inf
InAuth: BOB/BOB
Aor: BOB 1
Contact: BOB/sip:BOB at 192.168.1.19:5060 Unknown nan
Endpoint: CAROL Not in use 0 of inf
InAuth: CAROL/CAROL
Aor: CAROL 1
Contact: CAROL/sip:CAROL at 192.168.1.245:5061 Unknown nan
Endpoint: DAVID Unavailable 0 of inf
InAuth: DAVID/DAVID
Aor: DAVID 1
Endpoint: EDDY Invalid 0 of inf
InAuth: EDDY/EDDY
Aor: EDDY 1
Endpoint: FRAN Invalid 0 of inf
InAuth: FRAN/FRAN
Aor: FRAN 1
Endpoint: GEORGE Unavailable 0 of inf
InAuth: GEORGE/GEORGE
Aor: GEORGE 1
{noformat}
Here you can see where the first two of the last three endpoints (all added to pjsip.conf before a reload) show 'Invalid' states.
This appears to be the same issue with exception to what you mentioned about new registrations being blocked. I was able to register the new endpoints without problem.
> 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
> Assignee: Rusty Newton
> Attachments: debug.log, pjsip_general.inc
>
>
> 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