On 6/10/11 7:58 PM, Eugen Dedu wrote:
[...]
If the application starts by putting each contact as offline, there will be no difference between no information known (while waiting a notify) and offline.
Moreover, no reply to subscribe could be another status: presence error.
So I would say the right thing is to have three statuses:
- no info known
- presence error
- offline
To make things simple, I will put everyone in my application as offline at the beginning, and the user will have to wait a few seconds (how many?) to discover if some contact is really offline or still waiting a notify.
Thank you so far for your explanations.
have you spotted in SIP/SIMPLE specs what has to be sent when the presentity is offline? My quick google was not that succesful. Maybe Inaki has the specs more fresh indexed in memory and can help.
I based my assumption that the sip/simple presence server should not generate itself a presence/pidf document with status closed/offline since the pidf has a <tuple id="..."> node that is generated by presentity device.
Cheers, Daniel