<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    iirc, presence modules can work in db only module, meaning that you
    should be able to use sqlops to delete any records you want from
    database. I haven't thought more to see if there will be any sides
    effects, but you can give it a try.<br>
    <br>
    Also, I would recomment using latest stable version, there were many
    enhancements to presence modules done since 3.2, expecially by Peter
    Dunkley (for xcap, rls, etc).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 9/2/13 5:32 PM, Albert Petit wrote:<br>
    </div>
    <blockquote
cite="mid:CAPFor4hWLQqLq72GXfrkFuRAOtTWzJEc6GOk8ZHokA=zfEqu3Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi community,
        <div><br>
        </div>
        <div>We updated our deployment to Kamailio 3.2 and we would like
          to use it now as presence server but we need to keep backwards
          compatibility wth previous services.</div>
        <div><br>
        </div>
        <div>We found that when we use kamailio as PS  several tuples
          can be stored on the database even if they are from different
          publish (which is correct bu is causing some issues to us)</div>
        <div><br>
        </div>
        <div>On our previous presence server (which was more simple) all
          previous stored presence tuples were removed each time a user
          publishes a new presentity.<br>
        </div>
        <div><br>
        </div>
        <div>Which would be the most simple way to achieve this effect
          in Kamailio 3.2? Would it be possible to remove previous
          stored tuples for a user on the reception of a PUBLISH before
          doing the handle_publish through kamailio.cfg ? If not is
          there a way to use only last published presentity?<br>
        </div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Albert </div>
      </div>
      <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>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>