[Devel] multiple presentity entries
Juha Heinanen
jh at tutpro.com
Fri May 4 15:17:12 CEST 2007
Anca-Maria Vamanu writes:
> So generating a new entity-tag should be done for each initial Publish
> no matter if a record with the same attributes exist.
> The idea is that there can be more publications for the same resource,
> useful in the case in which you have more devices registered with the
> same uri.
in case of mwi, it does not make sense that there are two entries in
presentity table for the same mailbox, for example:
Messages-Waiting: yes
and
Messages-Waiting: no
the one that arrived later should override the earlier one.
also without any bugs, it may happen that the mailbox has crashed or
something and lost its ETag. then it doesn't have any other chance than
to send an initial publish request.
would it be possible to have an event package specific parameter that
tells what to do, i.e., should initial publish replace (update) possibly
existing presentity entry or should it add a new one (default)?
-- juha
More information about the Devel
mailing list