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

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 30 10:01:56 CEST 2011


Hello,

just to add that besides having the records in xcap table, if the user 
is removed, it should have no access to it because it will be 
authenticated for that. But since there is no record in subscriber table 
anymore, the authentication will fail always. So besides taking 
harddrive space, it is no impact in SIP side. IIRC, siremis has a web 
interface for xcap, but also the delete operation has to be done manually.

Cheers,
Daniel

On 9/28/11 4:10 PM, Peter Dunkley wrote:
> 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  <mailto: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
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110930/39ebcdb3/attachment.htm>


More information about the sr-users mailing list