Xcap pres rules
Version 12 (Adrian Georgescu, 01/24/2010 03:41 pm)
1 | 1 | Adrian Georgescu | |
---|---|---|---|
2 | 12 | Adrian Georgescu | h2. xcap-pres-rules |
3 | 1 | Adrian Georgescu | |
4 | 1 | Adrian Georgescu | |
5 | 1 | Adrian Georgescu | |
6 | 12 | Adrian Georgescu | |
7 | 12 | Adrian Georgescu | > This script is available in _sipclients_ package that must be installed separately from SIP SIMPLe client SDK package. |
8 | 12 | Adrian Georgescu | |
9 | 12 | Adrian Georgescu | |
10 | 12 | Adrian Georgescu | h3. Description |
11 | 12 | Adrian Georgescu | |
12 | 12 | Adrian Georgescu | |
13 | 12 | Adrian Georgescu | <pre> |
14 | 11 | Adrian Georgescu | adigeo@ag-imac3:~$xcap-pres_rules -h |
15 | 11 | Adrian Georgescu | Usage: xcap-pres-rules [options] |
16 | 1 | Adrian Georgescu | |
17 | 1 | Adrian Georgescu | This example script will use the specified SIP account to manage presence |
18 | 1 | Adrian Georgescu | rules via XCAP. The program will quit when CTRL+D is pressed. |
19 | 9 | Adrian Georgescu | |
20 | 1 | Adrian Georgescu | Options: |
21 | 1 | Adrian Georgescu | -h, --help show this help message and exit |
22 | 1 | Adrian Georgescu | -a ACCOUNT_NAME, --account-name=ACCOUNT_NAME |
23 | 1 | Adrian Georgescu | The name of the account to use. |
24 | 1 | Adrian Georgescu | -s, --show-xml Show the presence rules XML whenever it is changed and |
25 | 9 | Adrian Georgescu | at start-up. |
26 | 12 | Adrian Georgescu | </pre> |
27 | 9 | Adrian Georgescu | |
28 | 2 | Adrian Georgescu | |
29 | 12 | Adrian Georgescu | h3. Example |
30 | 12 | Adrian Georgescu | |
31 | 12 | Adrian Georgescu | |
32 | 12 | Adrian Georgescu | <pre> |
33 | 11 | Adrian Georgescu | adigeo@ag-imac3:~$xcap-pres-rules |
34 | 2 | Adrian Georgescu | Retrieving current presence rules from https://xcap.sipthor.net/xcap-root/ |
35 | 2 | Adrian Georgescu | Allowed watchers: |
36 | 2 | Adrian Georgescu | 2233350608@sip2sip.info |
37 | 2 | Adrian Georgescu | 31208005163@ag-projects.com |
38 | 2 | Adrian Georgescu | 31208005166@ag-projects.com |
39 | 2 | Adrian Georgescu | 31208005167@ag-projects.com |
40 | 2 | Adrian Georgescu | adi@umts.ro |
41 | 2 | Adrian Georgescu | alice@example.com |
42 | 2 | Adrian Georgescu | 317105169@eurovoice.ro |
43 | 1 | Adrian Georgescu | bob@example.com |
44 | 2 | Adrian Georgescu | Blocked watchers: |
45 | 2 | Adrian Georgescu | test1@merge.net.nl |
46 | 2 | Adrian Georgescu | Polite-blocked watchers: |
47 | 3 | Adrian Georgescu | Press (a) to allow, (d) to deny, (p) to politely block a new watcher or (r) to remove a watcher from the rules. |
48 | 3 | Adrian Georgescu | (s) will show the presence rules xml. |
49 | 2 | Adrian Georgescu | a |
50 | 2 | Adrian Georgescu | watcher> abc@example.com |
51 | 2 | Adrian Georgescu | Watcher sip:abc@example.com is now authorized |
52 | 12 | Adrian Georgescu | </pre> |