Project

General

Profile

Sip subscribe xcap diff » History » Version 3

Adrian Georgescu, 05/20/2010 01:13 PM

1 1 Adrian Georgescu
2 3 Adrian Georgescu
h2. sip-subscribe-xcap-diff
3 1 Adrian Georgescu
4
5
6 3 Adrian Georgescu
7
> This script is available in _sipclients_ package that must be installed separately from SIP SIMPLe client SDK package.
8
9
10
h3. Description
11
12
13 1 Adrian Georgescu
This script subscribes to the xcap-diff event package for the given SIP
14
account. The program will un-SUBSCRIBE and quit when CTRL+D is pressed.
15
16
This script implements sending SUBSCRIBE to a Presence Agent and receiving NOTIFY messages from it when an XCAP document has changed.
17
18 3 Adrian Georgescu
<pre>
19 1 Adrian Georgescu
adigeo@h1:~$sip-subscribe-xcap-diff -h
20
using _sigchld
21
Usage: sip-subscribe-xcap-diff [options]
22
23
This script subscribes to the xcap-diff event package for the given SIP
24
account. The program will un-SUBSCRIBE and quit when CTRL+D is pressed.
25
26
Options:
27
  -h, --help            show this help message and exit
28
  -a ACCOUNT_NAME, --account-name=ACCOUNT_NAME
29
                        The name of the account to use.
30
  -s, --trace-sip       Dump the raw contents of incoming and outgoing SIP
31
                        messages (disabled by default).
32
  -j, --trace-pjsip     Print PJSIP logging output (disabled by default).
33
  -n, --trace-notifications
34
                        Print all notifications (disabled by default).
35
36 3 Adrian Georgescu
</pre>