DesignBuddyList
Version 8 (Adrian Georgescu, 07/09/2009 02:44 pm)
1 | 2 | Adrian Georgescu | = Buddy list = |
---|---|---|---|
2 | 2 | Adrian Georgescu | |
3 | 2 | Adrian Georgescu | [[TOC(Design*, depth=1)]] |
4 | 1 | Adrian Georgescu | |
5 | 1 | Adrian Georgescu | * Account |
6 | 1 | Adrian Georgescu | * Address-book |
7 | 1 | Adrian Georgescu | * Buddy list |
8 | 1 | Adrian Georgescu | * Watcher list |
9 | 1 | Adrian Georgescu | * Presence rules |
10 | 1 | Adrian Georgescu | |
11 | 3 | Adrian Georgescu | [[Image(sipsimple-buddy-list-design.png,width=600)]] |
12 | 1 | Adrian Georgescu | == Account == |
13 | 1 | Adrian Georgescu | |
14 | 1 | Adrian Georgescu | * GET XCAP documents xcap-caps, pres-rules, resource-lists, pidf-manipulation, rls-services |
15 | 1 | Adrian Georgescu | * Sends Publish for event presence |
16 | 1 | Adrian Georgescu | * Maintains a '''Presentity''' attributed that is sent as body to Publish |
17 | 1 | Adrian Georgescu | * Sends Subscribe for event presence.info |
18 | 1 | Adrian Georgescu | * Sends Subscribe for event presence with Supported=eventlist |
19 | 1 | Adrian Georgescu | |
20 | 1 | Adrian Georgescu | == Buddy lists == |
21 | 1 | Adrian Georgescu | |
22 | 1 | Adrian Georgescu | Contains list of buddies. The buddylist is indexed by SIP URIs. Additional one can store full name or other attributes. Based on NOTIFY for event=presence each buddy has a '''Presentity''' attribute that contains published information. GUI displays parts of it. |
23 | 1 | Adrian Georgescu | |
24 | 1 | Adrian Georgescu | Buddy list is stored in resource-lists XCAP document. If RLS is used, a RLS document that can contains a list of discrete SIP URIs is built and PUT on the server. |
25 | 1 | Adrian Georgescu | |
26 | 1 | Adrian Georgescu | == Watcher lists == |
27 | 1 | Adrian Georgescu | |
28 | 1 | Adrian Georgescu | Built based on the body of NOTIFY for event=presence.winfo. |
29 | 1 | Adrian Georgescu | |
30 | 1 | Adrian Georgescu | == Presence rules == |
31 | 1 | Adrian Georgescu | |
32 | 1 | Adrian Georgescu | Based on NOTIFY for event watcher.info we update the policy and PUT pres-rules document on the XCAP server. |
33 | 4 | Adrian Georgescu | |
34 | 4 | Adrian Georgescu | == Icon storage == |
35 | 4 | Adrian Georgescu | |
36 | 4 | Adrian Georgescu | http://xcap.example.com/xcap-root/icon/users/sip:alice@example.com/icon.png |
37 | 4 | Adrian Georgescu | |
38 | 8 | Adrian Georgescu | Any filename is possible. The format must be png at 256x256 pixels. |
39 | 8 | Adrian Georgescu | |
40 | 7 | Adrian Georgescu | Public access: Anyone can do GET without being challenged with 401. |
41 | 4 | Adrian Georgescu | |
42 | 5 | Adrian Georgescu | Write access: PUT is 401-ed, only the owner can write it. |
43 | 6 | Adrian Georgescu | |
44 | 6 | Adrian Georgescu | Use http://tools.ietf.org/html/rfc4482 to publish the link to it. |