Version 1/12 - Next ยป - Current version
Adrian Georgescu, 10/26/2008 04:37 pm


xcap_pres_rules

To use this script you must to have a valid [wiki:configuration_file configuration file].

=== Description ===

{{{
adigeo@ag-imac3:~/work/pypjua/scripts$./xcap_pres_rules.py -h
Usage: xcap_pres_rules.py [options]

This example script will use the specified SIP account to manage presence
rules via XCAP. The program will quit when CTRL+D is pressed.

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.
-n DISPLAY_NAME, --display-name=DISPLAY_NAME
Display name to use for 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 pres-rules document
for authorizing subscriptions to presence.
}}}