res_pjsip: incorrect qualify statistics after disabling for contact
authorKevin Harwell <kharwell@digium.com>
Thu, 30 Oct 2014 17:18:47 +0000 (17:18 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 30 Oct 2014 17:18:47 +0000 (17:18 +0000)
commitcd52456ea10d8716172dbacda5673ec8188c32ae
tree8540c24a678e01980bdd323d60f5b01f298fbd60
parent5d8d90c402918b3425c6c4181ee8957bad3a5725
res_pjsip: incorrect qualify statistics after disabling for contact

When removing the qualify_frequency from an AoR or a contact the statistics
shown when issuing "pjsip show aors" from the CLI are incorrect. This patch
deletes the contact's status object from sorcery, disassociating it from the
contact, if the qualify_freqency is removed from configuration.

ASTERISK-24462 #close
Reported by: Mark Michelson
Review: https://reviewboard.asterisk.org/r/4116/
........

Merged revisions 426755 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 426757 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip/pjsip_options.c