Sip Message

This script is available in the Sip Clients package which must be installed separately from the SIP SIMPLE client SDK package.

Usage: sip-message [options] [user@domain]
This will either sit idle waiting for an incoming MESSAGE request, or send a
MESSAGE request to the specified SIP target. In outgoing mode the program will
read the contents of the messages to be sent from standard input, Ctrl+D
signalling EOF as usual. In listen mode the program will quit when Ctrl+D is
pressed.
Options:
-h, --help show this help message and exit
-a NAME, --account=NAME
The account name to use for any outgoing traffic. If
not supplied, the default account will be used.
-c FILE, --config-file=FILE
The path to a configuration file to use. This
overrides the default location of the configuration
file.
-s, --trace-sip Dump the raw contents of incoming and outgoing SIP
messages.
-j, --trace-pjsip Print PJSIP logging output.
-n, --trace-notifications
Print all notifications (disabled by default).
-b, --batch Run the program in batch mode: reading control input
from the console is disabled. This is particularly
useful when running this script in a non-interactive
environment.
-m MESSAGE, --message=MESSAGE
Contents of the message to send. This disables reading
the message from standard input.