DesignBuddyList » History » Version 4
Adrian Georgescu, 07/09/2009 02:27 PM
1 | 2 | Adrian Georgescu | = Buddy list = |
---|---|---|---|
2 | |||
3 | [[TOC(Design*, depth=1)]] |
||
4 | 1 | Adrian Georgescu | |
5 | * Account |
||
6 | * Address-book |
||
7 | * Buddy list |
||
8 | * Watcher list |
||
9 | * Presence rules |
||
10 | |||
11 | 3 | Adrian Georgescu | [[Image(sipsimple-buddy-list-design.png,width=600)]] |
12 | 1 | Adrian Georgescu | == Account == |
13 | |||
14 | * GET XCAP documents xcap-caps, pres-rules, resource-lists, pidf-manipulation, rls-services |
||
15 | * Sends Publish for event presence |
||
16 | * Maintains a '''Presentity''' attributed that is sent as body to Publish |
||
17 | * Sends Subscribe for event presence.info |
||
18 | * Sends Subscribe for event presence with Supported=eventlist |
||
19 | |||
20 | == Buddy lists == |
||
21 | |||
22 | 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 | |||
24 | 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 | |||
26 | == Watcher lists == |
||
27 | |||
28 | Built based on the body of NOTIFY for event=presence.winfo. |
||
29 | |||
30 | == Presence rules == |
||
31 | |||
32 | 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 | == Icon storage == |
||
35 | |||
36 | http://xcap.example.com/xcap-root/icon/users/sip:alice@example.com/icon.png |
||
37 | |||
38 | Public access: Anyone can do GET without 401. |
||
39 | |||
40 | Write access: PUT is 401-ed |