<p><a href="https://github.com/miconda" class="user-mention">@miconda</a> <br>
I'd like to introduce a new parameter to the presence module, <code>force_delete</code><br>
This parameter (disabled by default) will delete (not mark for deletion) expired presentity records without sending a NOTIFY. <br>
We control presence using the NSQ module and found the presence module was conflicting with our use case.<br>
The presence module is marking expired presentity records for deletion and in addition sending terminated NOTIFYs. It's causing database constraint issues and also early termination of dialog-info.<br>
Please see my initial commit and let me know chances of getting this patch in:<br>
<a href="https://github.com/kamailio/kamailio/commit/16215a83b123ba8b4f86d34368c36dd5473dc99b" class="commit-link"><tt>16215a8</tt></a></p>

<p>I apologize for the whitespace clean up, my text editor automatically performed the cleanup.<br>
Thanks<br>
Emmanuel</p>

<p>We require both these features explicitly disabled which is why we are introducing this patch.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/600#issuecomment-217273576">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYWZecJ5Tm-_SCAhU3g6TuETRTUPks5p-ldNgaJpZM4IYRw0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/600#issuecomment-217273576"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>