<HTML>
<HEAD>
<TITLE>Presence pidf accumulating</TITLE>
</HEAD>
<BODY>
<FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
I’m having a bit of a problem with the presence mechanism provided by the OpenSIPS server. From one device I send information with a PUBLISH and the pidf xml looks like this:<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Lucida Console"><SPAN STYLE='font-size:10pt'><?xml version='1.0' encoding='UTF-8'?><BR>
<presence xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns="urn:ietf:params:xml:ns:pidf" entity="test"><BR>
<dm:person id="me"><BR>
<rpid:activities><BR>
<rpid:note>my status</rpid:note><BR>
<rpid:other>available</rpid:other><BR>
</rpid:activities><BR>
</dm:person><BR>
</presence><BR>
</SPAN></FONT></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>And if I send more statuses, with a different note in activities, the remote client receives through the NOTIFY a set of statuses instead of the last one, something like this:<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Lucida Console"><SPAN STYLE='font-size:10pt'><?xml version="1.0" encoding="UTF-8"?><BR>
<presence xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns="urn:ietf:params:xml:ns:pidf" entity="test"><BR>
<dm:person id="me"><BR>
<rpid:activities><BR>
<rpid:note>my status</rpid:note><BR>
<rpid:other>available</rpid:other><BR>
</rpid:activities><BR>
</dm:person><BR>
<dm:person xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" id="me"><BR>
<rpid:activities><BR>
<rpid:note>older status</rpid:note><BR>
<rpid:other>available</rpid:other><BR>
</rpid:activities><BR>
</dm:person><BR>
<dm:person xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" id="me"><BR>
<rpid:activities><BR>
<rpid:note>even older status</rpid:note><BR>
<rpid:other>available</rpid:other><BR>
</rpid:activities><BR>
</dm:person><BR>
</presence><BR>
</SPAN></FONT></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Does anyone know why the server keeps track of my older statuses?<BR>
<BR>
Thank you,<BR>
--<BR>
Mihai</SPAN></FONT>
</BODY>
</HTML>