]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_options: Fix continued qualifies after endpoint/aor deletion
authorKevin Harwell <kharwell@digium.com>
Wed, 11 Feb 2015 16:19:35 +0000 (16:19 +0000)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 Feb 2015 16:19:35 +0000 (16:19 +0000)
commit69dc8f9ec2e7b0d24e83f216853c219c9c5acc37
tree82eff4e5a6a9d4b58ad81c19284dde346bb6c47d
parent2125e1b2dea34223f7734a23994e6d6edfa44aa0
pjsip_options: Fix continued qualifies after endpoint/aor deletion

If you remove an endpoint/aor from pjsip.conf then do a core reload,
qualifies will continue even though the object are gone.  This happens
because nothing clears out the qualify tasks.

This patch unschedules all existing qualify tasks before scheduling
new ones on reload.

Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4290/
........

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

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