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

Joshua Colp reviewboard at asterisk.org
Sun Dec 21 16:58:35 CST 2014


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



branches/13/res/res_pjsip_phoneprov_provider.c
<https://reviewboard.asterisk.org/r/4288/#comment24534>

    Why are you using this instead of a retrieve_by_fields and AST_RETRIEVE_FLAG_MULTIPLE | AST_RETRIEVE_FLAG_ALL?


- Joshua Colp


On Dec. 21, 2014, 10:52 p.m., George Joseph wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4288/
> -----------------------------------------------------------
> 
> (Updated Dec. 21, 2014, 10:52 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> 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
> -----
> 
>   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/20141221/f265acc5/attachment.html>


More information about the asterisk-dev mailing list