On Fri, Jan 23, 2009 at 11:52 AM, Iņaki Baz Castillo <ibc@aliax.net> wrote:
2009/1/23 Pascal Maugeri <pascal.maugeri@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?

yes.
 


> 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.

Hum, good point. Thanks I'm going to check that.

-pascal
 




--
Iņaki Baz Castillo
<ibc@aliax.net>