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

2017-08-15 Thread Richard Mudgett
On Tue, Aug 15, 2017 at 4:50 AM, Ross Beer  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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

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

2017-08-15 Thread Ross Beer
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.


Kind regards,


Ross


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev