diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-12-11 15:27:29 -0600 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-12-11 15:27:29 -0600 |
commit | b088cddc03fcd64d49549a4a33556217c8e21123 (patch) | |
tree | dac69412ceb0b2ed86f47b8fb1dce38a4aedc319 /res/res_pjsip.c | |
parent | 38dcdf2d680b69d1a2264fdebfa025858e49c22a (diff) |
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
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 21e43f073..b50ee5fc7 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -2282,6 +2282,7 @@ <enumlist> <enum name="Reachable"/> <enum name="Unreachable"/> + <enum name="NonQualified"/> </enumlist> </parameter> <parameter name="RoundtripUsec"> |