Project

General

Profile

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