Hello,

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.

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

Cheers,
Daniel

On 9/2/13 5:32 PM, Albert Petit wrote:
Hi community,

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.

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)

On our previous presence server (which was more simple) all previous stored presence tuples were removed each time a user publishes a new presentity.

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?

Thanks
Albert 


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at http://www.asipto.com -