Sip session » History » Version 27
Adrian Georgescu, 09/07/2009 09:22 AM
1 | 2 | Adrian Georgescu | == sip_session == |
---|---|---|---|
2 | 1 | Adrian Georgescu | |
3 | 2 | Adrian Georgescu | [[TOC(SipTesting*, sip_*, depth=2)]] |
4 | |||
5 | 4 | Adrian Georgescu | === Description === |
6 | 5 | Adrian Georgescu | |
7 | 27 | Adrian Georgescu | This script can be used to establish SIP sessions with more than one media type. One can add and remove RTP audio and MSRP chat streams to the same SIP session using re-INVITEs. |
8 | 1 | Adrian Georgescu | |
9 | 27 | Adrian Georgescu | {{{ |
10 | adigeo@ag-imac3:~$sip_session |
||
11 | Using account 31208005169@ag-projects.com |
||
12 | Logging SIP trace to file "/Users/adigeo/Desktop/FileTransfers/sip_trace.txt" |
||
13 | Logging notifications trace to file "/Users/adigeo/Desktop/FileTransfers/notifications_trace.txt" |
||
14 | Available audio input devices: None, system_default, Built-in Input, Built-in Microphone, Logitech Wireless Headset |
||
15 | Available audio output devices: None, system_default, Built-in Output, Logitech Wireless Headset |
||
16 | Using audio input device: Logitech Wireless Headset |
||
17 | Using audio output device: Built-in Output |
||
18 | Using audio alert device: Built-in Output |
||
19 | Type /help to see a list of available commands. |
||
20 | 2009-09-07 09:20:48 Registered contact "sip:koincezd@192.168.1.6:54441" for sip:31208005169@ag-projects.com at 81.23.228.150:5060;transport=udp (expires in 600 seconds). |
||
21 | Other registered contacts: |
||
22 | sip:31208005169@192.168.1.123:5060 (expires in 176 seconds) |
||
23 | sip:31208005169@192.168.1.1;uniq=5B2860C44383A3D6705629A7E1FB8 (expires in 526 seconds) |
||
24 | 31208005169@ag-projects.com> /help |
||
25 | General commands: |
||
26 | /call {user[@domain]}: call the specified user using audio and chat |
||
27 | /audio {user[@domain]} [+chat]: call the specified user using audio and possibly chat |
||
28 | /chat {user[@domain]} [+audio]: call the specified user using chat and possibly audio |
||
29 | /next: select the next connected session |
||
30 | /prev: select the previous connected session |
||
31 | /sessions: show the list of connected sessions |
||
32 | /trace [[+|-]sip] [[+|-]pjsip] [[+|-]notifications]: toggle/set SIP trace on the console (ctrl-x s | ctrl-x j | ctrl-x n) |
||
33 | /rtp [on|off]: toggle/set printing RTP statistics on the console (ctrl-x p) |
||
34 | /mute [on|off]: mute the microphone (ctrl-x m) |
||
35 | /input [device]: change audio input device (ctrl-x i) |
||
36 | /output [device]: change audio output device (ctrl-x o) |
||
37 | /alert [device]: change audio alert device (ctrl-x a) |
||
38 | /echo [+|-][value]: adjust echo cancellation (ctrl-x < | ctrl-x >) |
||
39 | /quit: quit the program (ctrl-x q) |
||
40 | /help: display this help message (ctrl-x ?) |
||
41 | In call commands: |
||
42 | /hangup: hang-up the active session (ctrl-x h) |
||
43 | /record [on|off]: toggle/set audio recording (ctrl-x r) |
||
44 | /hold [on|off]: hold/unhold (ctrl-x SPACE) |
||
45 | /add {chat|audio}: add a stream to the current session |
||
46 | /remove {chat|audio}: remove a stream from the current session |
||
47 | Detected NAT type: Port Restricted |
||
48 | }}} |