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