pjsip_options: wrongly applied "UNKNOWN" status
authorKevin Harwell <kharwell@digium.com>
Mon, 11 Dec 2017 21:27:29 +0000 (15:27 -0600)
committerKevin Harwell <kharwell@digium.com>
Mon, 11 Dec 2017 21:27:29 +0000 (15:27 -0600)
commitb088cddc03fcd64d49549a4a33556217c8e21123
treedac69412ceb0b2ed86f47b8fb1dce38a4aedc319
parent38dcdf2d680b69d1a2264fdebfa025858e49c22a
pjsip_options: wrongly applied "UNKNOWN" status

A couple of places were setting the status to "UNKNOWN" when qualifies were
being disabled. Instead this should be set to the "CREATED" status that
represents when a contact is given (uri available), but the qualify frequency
is set to zero so we don't know the status.

This patch updates the relevant places with "CREATED". It also updates the
"CREATED" status description (value shown in CLI/AMI/ARI output) to a value
of "NonQualified"/"NonQual" as this description is hopefully less confusing.

ASTERISK-27467

Change-Id: Id67509d25df92a72eb3683720ad2a95a27b50c89
CHANGES
UPGRADE.txt
include/asterisk/res_pjsip.h
main/stasis_endpoints.c
res/res_pjsip.c
res/res_pjsip/pjsip_options.c
rest-api/api-docs/events.json