[asterisk-bugs] [JIRA] (ASTERISK-23066) On Asterisk start, device state is INVALID for previously registered PJSIP endpoints, despite re-registrations
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Dec 23 19:13:04 CST 2013
Rusty Newton created ASTERISK-23066:
---------------------------------------
Summary: On Asterisk start, device state is INVALID for previously registered PJSIP endpoints, despite re-registrations
Key: ASTERISK-23066
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23066
Project: Asterisk
Issue Type: Bug
Components: Core/General, Resources/res_pjsip
Affects Versions: 12.0.0
Environment: SVN-branch-12-r404531
Reporter: Rusty Newton
Severity: Minor
*Reproduction and observation:*
* Register an endpoint to Asterisk for the first time. (or wipe AstDB and then register). The Device state will be "NOT_INUSE".
* Stop and start Asterisk. Device state shows "INVALID" for the endpoint.
* After the endpoint re-registers, we continue to show "INVALID" for the endpoint.
* Using the endpoint to dial an extension in dialplan, results in appropriate state changes (INUSE, RINGING, etc) and after hanging up, it ends up at "NOT_INUSE"
* If you restart a phone and the phone unregisters, then Asterisk will make a state change to "UNAVAILABLE" and then "NOT_INUSE" after registration, which seems appropriate.
*Notes:*
In testing this, I notice that OPTIONS for the purpose of qualification do not get sent out unless the state is something other than INVALID. Though this is erratic and with a few tries I can reproduce endpoints in a "NOT_INUSE" state that don't have OPTIONS being generated for them.
*Debug:*
* cli_comment_output.txt contains "pjsip show endpoints" output after an initial registration of the phones, where the astdb had been wiped, plus output after a restart of Asterisk (stop and then start) where the AstDB info still exists for the previous registrations.
* full_initial_reg.txt contains the full log from the initial run
* full_after_restart_rereg.txt contains the full log from the restart where I wait for the endpoints to re-register
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list