XCAP RLS services » History » Revision 2
Revision 1 (Anonymous, 04/19/2012 03:30 PM) → Revision 2/12 (Adrian Georgescu, 11/26/2008 11:05 PM)
== xcap_rls_services == To use this script you must to have a valid [wiki:configuration_file configuration file]. === Description === This script adds Parses and removed buddies in RLS document. Source code: [source:scripts/xcap_rls_services.py scripts/xcap_rls_services.py] {{{ adigeo@ag-oxygen:~$xcap_rls_services -h Usage: xcap_rls_services [options] [service URI] This example script will use the specified SIP account builds application/rls-services+xml documents according to manage rls services via XCAP. The program will quit when CTRL+D is pressed. You can specify the service URI as an argument (if domain name is not specified, the user's domain name will be used). If it is not specified, it defaults to username- buddies@domain. RFC4826. Options: -h, --help show this help message and exit -a NAME, --account-name=NAME The account name from which to read account settings. Corresponds to section Account_NAME in the configuration file. If not supplied, the section Account will be read. --sip-address=SIP_ADDRESS SIP address of the user in the form user@domain -p PASSWORD, --password=PASSWORD Password to use to authenticate the local account. This overrides the setting from the config file. -x XCAP_ROOT, --xcap-root=XCAP_ROOT The XCAP root to use to access the rls-services document to manage. -s, --show-xml Show the RLS services XML whenever it is changed and at start-up. }}}