XCAP RLS services » History » Version 3
Adrian Georgescu, 11/26/2008 11:06 PM
| 1 | 2 | Adrian Georgescu | == xcap_rls_services == |
|---|---|---|---|
| 2 | |||
| 3 | To use this script you must to have a valid [wiki:configuration_file configuration file]. |
||
| 4 | |||
| 5 | === Description === |
||
| 6 | |||
| 7 | 3 | Adrian Georgescu | This script adds and removed buddies in the RLS services XCAP document. Can be used to prepare the buddy list prior to execute [source:scripts/sip_subscribe_rls.py scripts/sip_subscribe_rls.py] script. |
| 8 | 2 | Adrian Georgescu | |
| 9 | Source code: [source:scripts/xcap_rls_services.py scripts/xcap_rls_services.py] |
||
| 10 | |||
| 11 | {{{ |
||
| 12 | adigeo@ag-oxygen:~$xcap_rls_services -h |
||
| 13 | Usage: xcap_rls_services [options] [service URI] |
||
| 14 | |||
| 15 | This example script will use the specified SIP account to manage rls services |
||
| 16 | via XCAP. The program will quit when CTRL+D is pressed. You can specify the |
||
| 17 | service URI as an argument (if domain name is not specified, the user's domain |
||
| 18 | name will be used). If it is not specified, it defaults to username- |
||
| 19 | buddies@domain. |
||
| 20 | |||
| 21 | Options: |
||
| 22 | -h, --help show this help message and exit |
||
| 23 | -a NAME, --account-name=NAME |
||
| 24 | The account name from which to read account settings. |
||
| 25 | Corresponds to section Account_NAME in the |
||
| 26 | configuration file. If not supplied, the section |
||
| 27 | Account will be read. |
||
| 28 | --sip-address=SIP_ADDRESS |
||
| 29 | SIP address of the user in the form user@domain |
||
| 30 | -p PASSWORD, --password=PASSWORD |
||
| 31 | Password to use to authenticate the local account. |
||
| 32 | This overrides the setting from the config file. |
||
| 33 | -x XCAP_ROOT, --xcap-root=XCAP_ROOT |
||
| 34 | The XCAP root to use to access the rls-services |
||
| 35 | document to manage. |
||
| 36 | -s, --show-xml Show the RLS services XML whenever it is changed and |
||
| 37 | at start-up. |
||
| 38 | }}} |