Project

General

Profile

Actions

sip-subscribe-xcap-diff

This script is available in sipclients package that must be installed separately from SIP SIMPLe client SDK package.

Description

This script subscribes to the xcap-diff event package for the given SIP
account. The program will un-SUBSCRIBE and quit when CTRL+D is pressed.

This script implements sending SUBSCRIBE to a Presence Agent and receiving NOTIFY messages from it when an XCAP document has changed.

adigeo@h1:~$sip-subscribe-xcap-diff -h
using _sigchld
Usage: sip-subscribe-xcap-diff [options]

This script subscribes to the xcap-diff event package for the given SIP
account. The program will un-SUBSCRIBE and 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, --trace-sip       Dump the raw contents of incoming and outgoing SIP
                        messages (disabled by default).
  -j, --trace-pjsip     Print PJSIP logging output (disabled by default).
  -n, --trace-notifications
                        Print all notifications (disabled by default).

Updated by Adrian Georgescu over 14 years ago ยท 3 revisions