res_pjsip: AOR option qualify_frequency not respected on startup
authorKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 20:06:59 +0000 (20:06 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 20:06:59 +0000 (20:06 +0000)
commit1f6c34a6c9c1ca5c4e57de1a982560632edc2fa9
treef1c75f2fac2eba90f94bc88d196688de4a7c5bb7
parent7054e12ef2666a22752758cbc73f21f877f66ab0
res_pjsip: AOR option qualify_frequency not respected on startup

If an endpoint had previously dynamically registered a contact and the contact
information was successfully stored in astdb then upon restart the qualify
notifications would not be sent out if the qualify_frequency was set.  This was
due to the fact that only permanent contacts were being checked and scheduled
for qualifies on startup.  Modified the code to check and schedule all
registered contacts at startup.

(closes issue ASTERISK-23062)
Reported by: Rusty Newton
Review: https://reviewboard.asterisk.org/r/3124/
........

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

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