<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>