[sr-dev] How to remove presentity users entry in kamailio server?

João Resende Resende_1616 at hotmail.com
Wed Jun 22 12:00:47 CEST 2016


I found that in:

kamctl db show presentity


Is the presence information of the users, but how can I errase such entry? of a user?

And how can I define only one entry in that database by user? I use this code, when I receive a publish but this adds a new entry every time.

if(is_method("PUBLISH"))
    {
        if($hdr(Sender)!= NULL)
            handle_publish("$hdr(Sender)");
        else
            handle_publish();
        t_release();
    }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160622/9ea75690/attachment.html>


More information about the sr-dev mailing list