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