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

Iñaki Baz Castillo ibc at aliax.net
Fri Jan 23 11:52:58 CET 2009


2009/1/23 Pascal Maugeri <pascal.maugeri at gmail.com>:
> I've much better results forcing an unregister of my user before doing the
> register.
>
>                 unregister("location", "$fu");
>                 if (!save("location"))
>                         sl_reply_error();

If you do that, you are un-registering *all* the contacts for that
AoR, is it what you want?


> It looks that the unregister() cleans the presence tables.

It's not possible at all, nothing to do.
Perhaps you are using pua_usrloc module? That's important.



-- 
Iñaki Baz Castillo
<ibc at aliax.net>




More information about the sr-users mailing list