[SR-Users] Cleaning up presence info when user is deleted

Peter Dunkley peter.dunkley at crocodile-rcs.com
Wed Sep 28 16:10:21 CEST 2011


Hello,

You don't need to worry about the contents of the presentity, watcher,
and active watcher tables.  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.

When you remove a user you probably should remove any documents
belonging to them in xcap.  At the moment this is a manual process and
not tied into the kamctl command.

Regards,

Peter

On Tue, 2011-09-27 at 13:49 -0500, Krishna Kurapati wrote:

> Hi,
> 
> 
> 
> When a user is removed using "kamctl rm", is there way way to clean up
> presence information
> in the database (xcap, presentity, watcher and active watcher tables)
> and in the cache? Is there a 
> event that gets fired when the user  is removed from subscriber table
> which I could handle in config 
> file and and cleanup?
> 
> 
> 
> 
> Thanks
> Krish Kura
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110928/4776f2a6/attachment.htm>


More information about the sr-users mailing list