[OpenSIPS-Users] SIP Presence Aggregation Issue

Iñaki Baz Castillo ibc at aliax.net
Wed May 26 10:33:55 CEST 2010


2010/5/20 Klaus Darilion <klaus.mailinglists at pernau.at>:
> A1 is available, A2 is "offline":
>
> XML document sent to B:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <presence xmlns="urn:ietf:params:xml:ns:pidf"
> xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
> xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
> xmlns:lt="urn:ietf:params:xml:ns:location-type"
> xmlns:r="urn:ietf:params:xml:ns:pidf:rpid" entity="sip:foobar at a1.net">
> <tuple id="tc66deb3a">
>        <status>
>                <basic>closed</basic>
>        </status>
>        <timestamp>2010-05-20T15:29:05Z</timestamp>
> </tuple>
>
> <tuple id="t096a4143">
>        <status>
>                <basic>open</basic>
>        </status>
>        <timestamp>2010-05-20T15:22:51Z</timestamp>
> </tuple>
> <dm:person id="p751bb06a">
>        <dm:note>Offline</dm:note>
>        <dm:timestamp>2010-05-20T15:29:05Z</dm:timestamp>
> </dm:person>
>
> <dm:person id="p2a1d2439">
>        <r:activities>
>                <r:busy/>
>        </r:activities>
>        <dm:note>Busy</dm:note>
>        <dm:timestamp>2010-05-20T15:22:51Z</dm:timestamp>
> </dm:person>
> </presence>
>
>
>
> Rendering of the 2 tuples by A1 communicator: see screenshot
> The icon is green (available), but the word "offline" is added.


Yes, this is part of the pain of SIMPLE specification for presence:
There is no way to determine which <tuple> belongs to a <person> (in
case there are various <person>'s), neither the relationship between
<tuple>'s and <person>'s.

Does somebody know the meaning of
<status><basic>closed</basic></status>? According to the RFC it means
that "the UA is not ready for receiving instant messages" (WTF??).
Such tag shouldn't exist as its meaning is unclear and makes things
more complex. What should render a watcher device if the presentity
for Bob contains a <tuple> with <basic>closed</basic> and a <person>
with <activities><online/></activities>? (Please, don't waste your
time trying to determine it).
In fact OMA has deprecated the <basic> tag, it just can be "open".

Also remember: according to IETF's SIMPLE group brains, if you have a
working e-mail address (can receive mails) then your SIP presentity
should display you as "available via mail" (WTF ?!?!?).


The above real case provided by Klaus is a good example of how SIMPLE
specs have failed. Does somebody doubt it? would the same annoying
issue occur with XMPP? (quick answer: no).

Sorry for being so realistic.


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



More information about the Users mailing list