<p>After further investigation of the presence module, I found that the function inside publish.c will delete (instead of mark for deletion) records if there are no watchers.<br>
For our purposes, we will not be using watchers so I'd like to propose a presence module setting that will force deletion of expired records in presentity table rather than mark them for deletion.<br>
Thanks,<br>
Emmanuel</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-217252895">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZcHD-cpzteNjKyBExWY1gDIUvNm4ks5p-kT-gaJpZM4IYRw0.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-217252895"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>