<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    just to add that besides having the records in xcap table, if the
    user is removed, it should have no access to it because it will be
    authenticated for that. But since there is no record in subscriber
    table anymore, the authentication will fail always. So besides
    taking harddrive space, it is no impact in SIP side. IIRC, siremis
    has a web interface for xcap, but also the delete operation has to
    be done manually.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 9/28/11 4:10 PM, Peter Dunkley wrote:
    <blockquote cite="mid:1317219024.2899.12.camel@pd-laptop-linux"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="GENERATOR" content="GtkHTML/4.0.1">
      Hello,<br>
      <br>
      You don't need to worry about the contents of the presentity,
      watcher, and active watcher tables.&nbsp; Entries in these tables will
      be deleted if the user un-subscribes or logs out properly, and
      failing that automatically cleaned up when the records themselves
      expire.<br>
      <br>
      When you remove a user you probably should remove any documents
      belonging to them in xcap.&nbsp; At the moment this is a manual process
      and not tied into the kamctl command.<br>
      <br>
      Regards,<br>
      <br>
      Peter<br>
      <br>
      On Tue, 2011-09-27 at 13:49 -0500, Krishna Kurapati wrote:<br>
      <blockquote type="CITE"> Hi,
      </blockquote>
      <blockquote type="CITE"> <br>
        <br>
      </blockquote>
      <blockquote type="CITE"> When a user is removed using "kamctl rm",
        is there way way to clean up presence information
      </blockquote>
      <blockquote type="CITE"> in the database (xcap, presentity,
        watcher and active watcher tables) and in the cache? Is there a&nbsp;
      </blockquote>
      <blockquote type="CITE"> event that gets fired when the user &nbsp;is
        removed from subscriber table which I could handle in config&nbsp;
      </blockquote>
      <blockquote type="CITE"> file and and cleanup?
      </blockquote>
      <blockquote type="CITE"> <br>
        <br>
      </blockquote>
      <blockquote type="CITE"> <br>
        <br>
      </blockquote>
      <blockquote type="CITE"> Thanks
      </blockquote>
      <blockquote type="CITE"> Krish Kura
      </blockquote>
      <blockquote type="CITE">
        <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <table cellpadding="0" cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td>
              <pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>