Project

General

Profile

Actions

Xcap pres rules » History » Revision 9

« Previous | Revision 9/12 (diff) | Next »
Adrian Georgescu, 03/31/2009 03:09 PM


xcap_pres_rules

<abbr title="SipTesting*, sip_*, xcap*,depth=2">TOC</abbr>

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

=== Description ===

{{{
adigeo@ag-imac3:~$xcap_pres_rules -h
Usage: xcap_pres_rules [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 ACCOUNT_NAME, --account-name=ACCOUNT_NAME
The name of the account to use.
-s, --show-xml Show the presence rules XML whenever it is changed and
at start-up.
}}}

=== Example ===

{{{
adigeo@ag-imac3:~$xcap_pres_rules
Retrieving current presence rules from https://xcap.sipthor.net/xcap-root/
Allowed watchers:








Blocked watchers:

Polite-blocked watchers:
Press (a) to allow, (d) to deny, (p) to politely block a new watcher or (r) to remove a watcher from the rules.
(s) will show the presence rules xml.
a
watcher>
Watcher sip: is now authorized
}}}

Updated by Adrian Georgescu over 15 years ago · 9 revisions