Sip session

Version 2 (Adrian Georgescu, 03/25/2009 10:19 am) → Version 3/44 (Adrian Georgescu, 03/28/2009 12:41 pm)

== sip_session ==

[[TOC(SipTesting*, sip_*, depth=2)]]

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

{{{
adigeo@ag-imac3:~$sip_session --help
Usage: sip_session [options] [target-user@target-domain.com]

This script will either sit idle waiting for an incoming MSRP session, or
start a MSRP session with the specified target SIP address. The program will
close the session and quit when CTRL+D is pressed.

Options:
-h, --help show this help message and exit
-a ACCOUNT_ID, --account-id=ACCOUNT_ID
-c [FILE], --config_file=[FILE]
The path to a configuration file to use. This
overrides
--no-register Bypass registration
-m, --trace-msrp Dump
the default location raw contents of the configuration incoming and outgoing MSRP
file. messages.
-S, --disable-sound Disables initializing the sound card.
-s, --trace-sip Dump the raw contents of incoming and outgoing SIP
messages.
-j, --trace-pjsip Print PJSIP logging output.
--trace-engine Print core's events.
-m, --trace-msrp Log the raw contents of incoming and outgoing MSRP
messages.
--no-relay Don't use the MSRP relay.
--msrp-tcp Use TCP for MSRP connections.


}}}