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