Presence

Version 7 (Adrian Georgescu, 09/18/2012 03:06 pm)

1 1 Adrian Georgescu
h1. Presence
2 1 Adrian Georgescu
3 1 Adrian Georgescu
h2. Subscriptions
4 1 Adrian Georgescu
5 1 Adrian Georgescu
Contacts have two properties that can changed in Edit Contact Panel Subscriptions section:
6 1 Adrian Georgescu
7 1 Adrian Georgescu
 1. Subscribe to Contact's Presence Information
8 1 Adrian Georgescu
 1. Allow Contact to see my Presence Information
9 1 Adrian Georgescu
10 4 Adrian Georgescu
h2. Watcher Information
11 4 Adrian Georgescu
12 6 Adrian Georgescu
Using standard SIP SUBSCRIBE for presence.winfo event package, Blink keeps track of presence watchers and their status.
13 6 Adrian Georgescu
 
14 4 Adrian Georgescu
 * Contacts that have subscribed to our presence are rendered in the 'New Contact Requests' group that is rendered on top of the contacts list. Right click or dragging the contact can be used to allow or deny the request. Blocked contacts are displayed in the Blocked group.
15 4 Adrian Georgescu
 * Active watchers are shown in Status -> People Watching  My Presence Activity menu
16 4 Adrian Georgescu
17 6 Adrian Georgescu
h2. Published Presence
18 1 Adrian Georgescu
19 6 Adrian Georgescu
Using standard SIP PUBLISH method for presence event package, the following information is published by Blink:
20 1 Adrian Georgescu
21 1 Adrian Georgescu
<pre>
22 1 Adrian Georgescu
Internet address: sip:tijmen@test.sip2sip.info
23 1 Adrian Georgescu
  Service: SID-040aafba-3bb5-4209-b6ad-27f513726e8a
24 1 Adrian Georgescu
      Timestamp: 2012-09-18T14:47:53.535157+02:00
25 1 Adrian Georgescu
      Note: I am happy
26 1 Adrian Georgescu
      Basic status: Open
27 1 Adrian Georgescu
      Extended status: Available
28 1 Adrian Georgescu
      Location: Netherlands/Meppel
29 1 Adrian Georgescu
      Contact: user@test.sip2sip.info
30 1 Adrian Georgescu
      Icon: https://xcap.test.sipthor.net/xcap-root/org.openmobilealliance.pres-content/users/sip:user@test.sip2sip.info/oma_status-icon/index
31 1 Adrian Georgescu
      Media capabilities: Audio, Chat, File Transfer, Screen Sharing
32 1 Adrian Georgescu
      Device: 040aafba-3bb5-4209-b6ad-27f513726e8a (Majoor)
33 1 Adrian Georgescu
          Hostname: Majoor
34 1 Adrian Georgescu
          User Agent: Blink Pro 2.0.0 (MacOSX)
35 1 Adrian Georgescu
          Current time: 14:48 (UTC+2)
36 1 Adrian Georgescu
      Device is active
37 1 Adrian Georgescu
          Idle threshold: 600 seconds
38 1 Adrian Georgescu
</pre>
39 1 Adrian Georgescu
40 7 Adrian Georgescu
h3. Basic Status
41 7 Adrian Georgescu
42 7 Adrian Georgescu
Open or closed.
43 7 Adrian Georgescu
44 7 Adrian Georgescu
h3. Extended status
45 7 Adrian Georgescu
46 7 Adrian Georgescu
Status uses an extension for indicating the extented status compatible with XMPP. 
47 7 Adrian Georgescu
48 6 Adrian Georgescu
h3. Location
49 1 Adrian Georgescu
50 6 Adrian Georgescu
Location is based on CIPID map extension. Location can be disabled per account in Presence section of account preferences.
51 6 Adrian Georgescu
52 6 Adrian Georgescu
h3. Homepage
53 6 Adrian Georgescu
54 6 Adrian Georgescu
A home page can be entered in Presence section of account preferences. Homepage is based on CIPID homepage extension.
55 1 Adrian Georgescu
56 3 Adrian Georgescu
h3. Note
57 6 Adrian Georgescu
58 5 Adrian Georgescu
Presence note can be typed in the text area right to own icon in the main GUI window.
59 5 Adrian Georgescu
60 5 Adrian Georgescu
h3. Status
61 1 Adrian Georgescu
62 7 Adrian Georgescu
Presence status can be changed from the main GUI window and Status menu. Last combination of Presence state and note are saved in the history build at the end of the menu. 
63 5 Adrian Georgescu
64 5 Adrian Georgescu
h3. Icon
65 1 Adrian Georgescu
66 1 Adrian Georgescu
User icon is uploaded to XCAP server using OMA pres-content application, replicated among multiple Blink instances and location of icons storage URL on XCAP server is published in PIDF.
67 1 Adrian Georgescu
68 1 Adrian Georgescu
h3. Offline Presence
69 5 Adrian Georgescu
70 1 Adrian Georgescu
In status menu, one can change its presence state and also an offline state when Blink is offline. This is done using pidf-manipulation XCAP application.
71 7 Adrian Georgescu
72 7 Adrian Georgescu
h3. Media Capabilities
73 7 Adrian Georgescu
74 7 Adrian Georgescu
Type of media supported by the end-point.
75 7 Adrian Georgescu
76 7 Adrian Georgescu
h3. Device Information
77 7 Adrian Georgescu
78 7 Adrian Georgescu
The following information is published:
79 7 Adrian Georgescu
80 7 Adrian Georgescu
 * Hostname
81 7 Adrian Georgescu
 * Time offset
82 7 Adrian Georgescu
 * Idle status
83 7 Adrian Georgescu
84 5 Adrian Georgescu
85 6 Adrian Georgescu
h2. Subscribed Presence
86 3 Adrian Georgescu
87 6 Adrian Georgescu
Using SIP SUBSCRIBE for RLS, Bink subscribes to the SIP addrsses stored in rls-services document uploaded on the XCAP server by contacts management actions in the GUI (add/update/delete contacts).
88 6 Adrian Georgescu
 
89 6 Adrian Georgescu
Presence information received from the SIP URIs as RLMI notifications from the RLS server is used to update each contact in the contacts list with:
90 1 Adrian Georgescu
91 1 Adrian Georgescu
 * Status icon overlaid on botton right of user icon, indicating away, busy, extended-away or available
92 1 Adrian Georgescu
 * Rectangular presence indicator on right side of the tile to provide a quick overview about availability
93 1 Adrian Georgescu
 * Presence note is rendered on second line, multiple notes and pending authorizations are rotated every 10 seconds
94 1 Adrian Georgescu
 * User icon is retrieved and updated when necessary from URL advertised by user 
95 2 Adrian Georgescu
96 2 Adrian Georgescu
Selecting  Show Presence Information menu item from contextual contact menu show a panel with detailed information, not all information may have been rendered in the GUI.
97 1 Adrian Georgescu
98 1 Adrian Georgescu
h2. Sessions
99 1 Adrian Georgescu
100 1 Adrian Georgescu
 * When subscribed to Presence, if information is received, the contextual menu of each contact is updated with the possibility of starting a session to a specific device. This requires the remote device to use GRUU.