Project

General

Profile

Presence » History » Version 17

Adrian Georgescu, 09/18/2012 03:28 PM

1 1 Adrian Georgescu
h1. Presence
2
3 15 Adrian Georgescu
h2. Design Principles
4
5 17 Adrian Georgescu
Blink should work with any server that supports the same standards. There is however no guaranty that this would work with other clients due to the freedom allowed by the standards.
6 1 Adrian Georgescu
7 17 Adrian Georgescu
There is nothing proprietary that would stop interoperability between two Blink clients using any properly configured SIP and XCAP server. Also there is nothing that would stop Blink interoperate with other client as far as SIP signaling is concerned. The only interoperability issues can be related to accessing the same XCAP documents by different clients.
8
9 1 Adrian Georgescu
h3. Interoperability
10
11 17 Adrian Georgescu
Presence is a complex issue and the mechanisms used internally by Blink may not necessarily work under your own server environment. If you want to troubleshot when things do not work as expected, 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 and analyze Blink behavior.
12 1 Adrian Georgescu
13 17 Adrian Georgescu
We can provide support, if you encounter interoperability issues with any the following products and services:
14 1 Adrian Georgescu
15 17 Adrian Georgescu
 * SIP2SIP.info (a public free SIP service)
16 16 Adrian Georgescu
 * Interoperability with any XMPP domain supported by SIP2SIP.info
17 17 Adrian Georgescu
 * OpenSIPS + OpenXCAP combinations (server software you can run on your premisses)
18 15 Adrian Georgescu
19
h3. Support
20
21 17 Adrian Georgescu
As presence require proper infrastructure that many SIP service providers simply lack today, do not complain to use when Presence does not work. 
22 15 Adrian Georgescu
23
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.
24
25 12 Adrian Georgescu
h2. Contacts
26 1 Adrian Georgescu
27 12 Adrian Georgescu
Contacts have two Presence related properties that can changed in Edit Contact Panel Subscriptions section:
28 1 Adrian Georgescu
29 8 Adrian Georgescu
 * Subscribe to Contact's Presence Information
30
 * Allow Contact to see my Presence Information
31 1 Adrian Georgescu
32 4 Adrian Georgescu
h2. Watcher Information
33
34 13 Adrian Georgescu
Using SUBSCRIBE for presence.winfo event package, Blink keeps track of presence watchers and their status.
35 6 Adrian Georgescu
 
36 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.
37
 * Active watchers are shown in Status -> People Watching  My Presence Activity menu
38
39 6 Adrian Georgescu
h2. Published Presence
40 1 Adrian Georgescu
41 13 Adrian Georgescu
Using PUBLISH method for presence event package, the following information is published by Blink:
42 1 Adrian Georgescu
43 7 Adrian Georgescu
h3. Basic Status
44
45
Open or closed.
46
47 14 Adrian Georgescu
h3. Extended Status
48 7 Adrian Georgescu
49 14 Adrian Georgescu
Blink uses a proprietary extension for indicating the extented status compatible with XMPP end-points. 
50 7 Adrian Georgescu
51 6 Adrian Georgescu
h3. Location
52 1 Adrian Georgescu
53 6 Adrian Georgescu
Location is based on CIPID map extension. Location can be disabled per account in Presence section of account preferences.
54
55
h3. Homepage
56
57
A home page can be entered in Presence section of account preferences. Homepage is based on CIPID homepage extension.
58 1 Adrian Georgescu
59 3 Adrian Georgescu
h3. Note
60 6 Adrian Georgescu
61 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.
62 5 Adrian Georgescu
63
h3. Status
64 1 Adrian Georgescu
65 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. 
66 1 Adrian Georgescu
67 5 Adrian Georgescu
h3. Icon
68 1 Adrian Georgescu
69
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.
70
71
h3. Offline Presence
72
73
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.
74
75
h3. Media Capabilities
76
77
Type of media supported by the end-point.
78
79
h3. Device Information
80
81
The following information is published:
82
83
 * Hostname
84
 * Time offset
85 9 Adrian Georgescu
 * Idle status
86 1 Adrian Georgescu
 * GRUU contact address
87 8 Adrian Georgescu
88 10 Adrian Georgescu
h2. Subscribe To Presence
89 3 Adrian Georgescu
90 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).
91 1 Adrian Georgescu
 
92 10 Adrian Georgescu
h3. Presence Notifications
93
94 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:
95 1 Adrian Georgescu
96
 * Status icon overlaid on botton right of user icon, indicating away, busy, extended-away or available
97
 * Rectangular presence indicator on right side of the tile to provide a quick overview about availability
98
 * Presence note is rendered on second line, multiple notes and pending authorizations are rotated every 10 seconds
99
 * User icon is retrieved and updated when necessary from URL advertised by user 
100 2 Adrian Georgescu
101
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.
102 1 Adrian Georgescu
103
h2. Sessions
104
105
 * 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.