[asterisk-dev] [Code Review] 4288: res_pjsip_phoneprovi_provider: Fix reload

George Joseph reviewboard at asterisk.org
Sun Dec 21 18:00:36 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4288/
-----------------------------------------------------------

(Updated Dec. 21, 2014, 5 p.m.)


Review request for Asterisk Developers.


Changes
-------

Now using ast_sorcery_retrieve_by_fields instead of ast_sorcery_retrieve_by_regex.


Repository: Asterisk


Description
-------

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.


Diffs (updated)
-----

  branches/13/res/res_pjsip_phoneprov_provider.c 429913 

Diff: https://reviewboard.asterisk.org/r/4288/diff/


Testing
-------


Thanks,

George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141222/284f4034/attachment.html>


More information about the asterisk-dev mailing list