[Kamailio-Users] [presence] use case of a user that doesn't un-REGISTER and un-PUBLISH

Pascal Maugeri pascal.maugeri at gmail.com
Fri Jan 23 13:34:14 CET 2009


As we're talking about it, what's purpose of active_watchers and watchers DB
tables ?

Is that so that each time I subscribe to a user presence there is a new
entry ? (it doesn't look to work that way).

-pascal


On Fri, Jan 23, 2009 at 1:23 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> 2009/1/23 Pascal Maugeri <pascal.maugeri at gmail.com>:
> >> It's not possible at all, nothing to do.
> >> Perhaps you are using pua_usrloc module? That's important.
> >
> > Hum, good point. Thanks I'm going to check that.
>
> If you are using pua_usrloc, then when deregistering a user it
> generates a callback so pua_usrloc creates a new PUBLISH with content
> "offline" and sends it to the presence server. Well, not true,
> pua_usrloc creates a PUBLISH with no body but "Expires: 0" so when it
> arrives to the presence server, the *matching* presentity row is
> deleted.
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20090123/db366cd2/attachment.htm 


More information about the Users mailing list