Sip session

Version 3 (Adrian Georgescu, 03/28/2009 12:41 pm)

1 2 Adrian Georgescu
== sip_session ==
2 1 Adrian Georgescu
3 2 Adrian Georgescu
[[TOC(SipTesting*, sip_*, depth=2)]]
4 2 Adrian Georgescu
5 2 Adrian Georgescu
To use this script you must to have a valid [wiki:SipSettingsAPI configuration].
6 1 Adrian Georgescu
7 1 Adrian Georgescu
{{{
8 1 Adrian Georgescu
Usage: sip_session [options] [target-user@target-domain.com]
9 1 Adrian Georgescu
10 1 Adrian Georgescu
This script will either sit idle waiting for an incoming MSRP session, or
11 1 Adrian Georgescu
start a MSRP session with the specified target SIP address. The program will
12 1 Adrian Georgescu
close the session and quit when CTRL+D is pressed.
13 1 Adrian Georgescu
14 1 Adrian Georgescu
Options:
15 1 Adrian Georgescu
  -h, --help            show this help message and exit
16 1 Adrian Georgescu
  -a ACCOUNT_ID, --account-id=ACCOUNT_ID
17 3 Adrian Georgescu
  -c [FILE], --config_file=[FILE]
18 3 Adrian Georgescu
                        The path to a configuration file to use. This
19 3 Adrian Georgescu
                        overrides the default location of the configuration
20 3 Adrian Georgescu
                        file.
21 3 Adrian Georgescu
  -S, --disable-sound   Disables initializing the sound card.
22 1 Adrian Georgescu
  -s, --trace-sip       Dump the raw contents of incoming and outgoing SIP
23 1 Adrian Georgescu
                        messages.
24 1 Adrian Georgescu
  -j, --trace-pjsip     Print PJSIP logging output.
25 1 Adrian Georgescu
  --trace-engine        Print core's events.
26 3 Adrian Georgescu
  -m, --trace-msrp      Log the raw contents of incoming and outgoing MSRP
27 3 Adrian Georgescu
                        messages.
28 3 Adrian Georgescu
  --no-relay            Don't use the MSRP relay.
29 3 Adrian Georgescu
  --msrp-tcp            Use TCP for MSRP connections.
30 1 Adrian Georgescu
}}}