Sip session

Version 2 (Adrian Georgescu, 03/25/2009 10:19 am)

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
adigeo@ag-imac3:~$sip_session --help
9 1 Adrian Georgescu
Usage: sip_session [options] [target-user@target-domain.com]
10 1 Adrian Georgescu
11 1 Adrian Georgescu
This script will either sit idle waiting for an incoming MSRP session, or
12 1 Adrian Georgescu
start a MSRP session with the specified target SIP address. The program will
13 1 Adrian Georgescu
close the session and quit when CTRL+D is pressed.
14 1 Adrian Georgescu
15 1 Adrian Georgescu
Options:
16 1 Adrian Georgescu
  -h, --help            show this help message and exit
17 1 Adrian Georgescu
  -a ACCOUNT_ID, --account-id=ACCOUNT_ID
18 1 Adrian Georgescu
  --no-register         Bypass registration
19 1 Adrian Georgescu
  -m, --trace-msrp      Dump the raw contents of incoming and outgoing MSRP
20 1 Adrian Georgescu
                        messages.
21 1 Adrian Georgescu
  -s, --trace-sip       Dump the raw contents of incoming and outgoing SIP
22 1 Adrian Georgescu
                        messages.
23 1 Adrian Georgescu
  -j, --trace-pjsip     Print PJSIP logging output.
24 1 Adrian Georgescu
  --trace-engine        Print core's events.
25 1 Adrian Georgescu
26 1 Adrian Georgescu
}}}