[asterisk-dev] ASTERISK-27147 - prune_on_boot - ps_contacts - Sanity Check

Richard Mudgett rmudgett at digium.com
Tue Aug 15 10:29:43 CDT 2017


On Tue, Aug 15, 2017 at 4:50 AM, Ross Beer <ross.beer at outlook.com> wrote:

> Hi Richard,
>
>
> Can I run something past you regarding the 'prue_on_boot' logic, please?
>
>
> If multiple asterisk servers are using the ps_contacts database table,
> does the removal logic check the 'reg_server' before removing the contact
> on boot?
>
>
> I am concerned that valid contacts on other asterisk instances may be
> removed incorrectly.
>
No it currently only checks if the prune_on_boot flag is set before
deleting the contact.  I'll make it also check the reg_server for a match
before deleting the contact if the prune_on_boot flag is set.

Thanks for pointing that out.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170815/57859604/attachment.html>


More information about the asterisk-dev mailing list