res_pjsip_phoneprovi_provider: Fix reload
authorGeorge Joseph <george.joseph@fairview5.com>
Mon, 22 Dec 2014 00:17:49 +0000 (00:17 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Mon, 22 Dec 2014 00:17:49 +0000 (00:17 +0000)
commitb137a92aef5f08359f11bc7ea686cd361814f3b7
tree88e5ceb420421680b28c2435c4a167cc0c995034
parentba403e83bd86073585a1d38da21fb5608adff528
res_pjsip_phoneprovi_provider: Fix reload

Reloading wasn't working correctly because on a reload, the sorcery apply
handler was never being called for unchanged users.  So, instead of using
an apply handler, I'm now iterating over all users.  Works much more reliably.

Tested-by: George Joseph

Review: https://reviewboard.asterisk.org/r/4288/
........

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

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