Presence » History » Version 15
Adrian Georgescu, 09/18/2012 03:20 PM
1 | 1 | Adrian Georgescu | h1. Presence |
---|---|---|---|
2 | |||
3 | 15 | Adrian Georgescu | h2. Design Principles |
4 | |||
5 | Blink should work with any server that supports the same standards as Blink. Presence is a complex issue and the mechanism used internally by Blink may not necessarily work under your own environment. If you want to troubleshot when things do not work, first use the built-in Blink accounts that are designed to work with SIP2SIP domain. As full traces are available in the client you can easily access debug information. |
||
6 | |||
7 | h3. Support |
||
8 | |||
9 | As presence require proper infrastructure that many SIP service providers simply lack today, do not complain to use when Presence does not work. Use a SIP2SIP account instead or use OpenSIPS+ OpenXCAP server combination thatr has been used to develop all Blink features. |
||
10 | |||
11 | Contacts are stored on the XCAP server in the resource-lists document under a proprietary name space to avoid conflicts with other end-points that might use the same document as there is no common standard way for how to store a rich address book on a server. This means that different SIP user agents from different vendors cannot read or modify this data in a deterministic way. The contacts in the address-book are then used by standard OMA rls-services and pres-rules XCAP documents. The SIP and XCAP servers need to support OMA style XCAP documents in order to interoperate with Blink. |
||
12 | |||
13 | 12 | Adrian Georgescu | h2. Contacts |
14 | 1 | Adrian Georgescu | |
15 | 12 | Adrian Georgescu | Contacts have two Presence related properties that can changed in Edit Contact Panel Subscriptions section: |
16 | 1 | Adrian Georgescu | |
17 | 8 | Adrian Georgescu | * Subscribe to Contact's Presence Information |
18 | * Allow Contact to see my Presence Information |
||
19 | 1 | Adrian Georgescu | |
20 | 4 | Adrian Georgescu | h2. Watcher Information |
21 | |||
22 | 13 | Adrian Georgescu | Using SUBSCRIBE for presence.winfo event package, Blink keeps track of presence watchers and their status. |
23 | 6 | Adrian Georgescu | |
24 | 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. |
25 | * Active watchers are shown in Status -> People Watching My Presence Activity menu |
||
26 | |||
27 | 6 | Adrian Georgescu | h2. Published Presence |
28 | 1 | Adrian Georgescu | |
29 | 13 | Adrian Georgescu | Using PUBLISH method for presence event package, the following information is published by Blink: |
30 | 1 | Adrian Georgescu | |
31 | 7 | Adrian Georgescu | h3. Basic Status |
32 | |||
33 | Open or closed. |
||
34 | |||
35 | 14 | Adrian Georgescu | h3. Extended Status |
36 | 7 | Adrian Georgescu | |
37 | 14 | Adrian Georgescu | Blink uses a proprietary extension for indicating the extented status compatible with XMPP end-points. |
38 | 7 | Adrian Georgescu | |
39 | 6 | Adrian Georgescu | h3. Location |
40 | 1 | Adrian Georgescu | |
41 | 6 | Adrian Georgescu | Location is based on CIPID map extension. Location can be disabled per account in Presence section of account preferences. |
42 | |||
43 | h3. Homepage |
||
44 | |||
45 | A home page can be entered in Presence section of account preferences. Homepage is based on CIPID homepage extension. |
||
46 | 1 | Adrian Georgescu | |
47 | 3 | Adrian Georgescu | h3. Note |
48 | 6 | Adrian Georgescu | |
49 | 14 | Adrian Georgescu | Presence note can be typed in the text area right to own icon in the main GUI window. Note is attached to the service. |
50 | 5 | Adrian Georgescu | |
51 | h3. Status |
||
52 | 1 | Adrian Georgescu | |
53 | 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. |
54 | 1 | Adrian Georgescu | |
55 | 5 | Adrian Georgescu | h3. Icon |
56 | 1 | Adrian Georgescu | |
57 | 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. |
||
58 | |||
59 | h3. Offline Presence |
||
60 | |||
61 | 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. |
||
62 | |||
63 | h3. Media Capabilities |
||
64 | |||
65 | Type of media supported by the end-point. |
||
66 | |||
67 | h3. Device Information |
||
68 | |||
69 | The following information is published: |
||
70 | |||
71 | * Hostname |
||
72 | * Time offset |
||
73 | 9 | Adrian Georgescu | * Idle status |
74 | 1 | Adrian Georgescu | * GRUU contact address |
75 | 8 | Adrian Georgescu | |
76 | 10 | Adrian Georgescu | h2. Subscribe To Presence |
77 | 3 | Adrian Georgescu | |
78 | 8 | Adrian Georgescu | Using SIP SUBSCRIBE for RLS, Bink subscribes to the SIP addresses stored in rls-services document uploaded on the XCAP server by contacts management actions in the GUI (add/update/delete contacts). |
79 | 1 | Adrian Georgescu | |
80 | 10 | Adrian Georgescu | h3. Presence Notifications |
81 | |||
82 | 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: |
83 | 1 | Adrian Georgescu | |
84 | * Status icon overlaid on botton right of user icon, indicating away, busy, extended-away or available |
||
85 | * Rectangular presence indicator on right side of the tile to provide a quick overview about availability |
||
86 | * Presence note is rendered on second line, multiple notes and pending authorizations are rotated every 10 seconds |
||
87 | * User icon is retrieved and updated when necessary from URL advertised by user |
||
88 | 2 | Adrian Georgescu | |
89 | 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. |
||
90 | 1 | Adrian Georgescu | |
91 | h2. Sessions |
||
92 | |||
93 | * 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. |