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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd