1 <?xml version="1.0" encoding="ISO-8859-1" ?>
5 This is a scenario file for SIPP version 2.3. Invocation:
7 sipp -i [::1] -sf uas-passive.sipp
9 Replace ::1 with any IPv6 address to use for SIP and RTP.
11 It sits and waits for incoming Realtime Text SIP calls,
12 and starts the test utility from the local directory
13 when one comes in. The call ends when the remote end
14 takes the initiative to do so.
16 This is hardly a functional phone, it is just an RTP
17 wrapper for test purposes.
19 This file is part of 0cpm Firmerware.
21 0cpm Firmerware is Copyright (c)2011 Rick van Rein, OpenFortress.
23 0cpm Firmerware is free software: you can redistribute it and/or
24 modify it under the terms of the GNU General Public License as
25 published by the Free Software Foundation, version 3.
27 0cpm Firmerware is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
32 You should have received a copy of the GNU General Public License
33 along with 0cpm Firmerware. If not, see <http://www.gnu.org/licenses/>.
36 <scenario name="Passive RTT UAS">
38 <recv request="INVITE">
40 <ereg regexp="c=IN IP6 ([^\r\n]+)" search_in="body" check_it="true" assign_to="whole,remote_media_ip"/>
41 <ereg regexp="m=text ([0-9]+)" search_in="body" check_it="true" assign_to="whole,remote_media_port"/>
42 <log message="RTT remote_media=[$remote_media_ip]:[$remote_media_port]"/>
43 <exec command="echo > ./rtp-setup-pipe [local_ip] 13000 [$remote_media_ip] [$remote_media_port]"/>
51 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
52 From: <sip:[service]@[remote_ip]:[remote_port]>;[peer_tag_param]
53 To: <sip:rtt@[local_ip]:[local_port]>;tag=[call_number]
56 Contact: <sip:TODO@[remote_ip]:[remote_port]>
57 Server: SIPP testing RTT
59 Content-Type: application/sdp
63 o=user1 53655765 2353687637 IN IP6 [local_ip]
67 m=text 13000 RTP/AVP 98 100
83 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
84 From: <sip:[service]@[remote_ip]:[remote_port]>;[peer_tag_param]
85 To: <sip:rtt@[local_ip]:[local_port]>;tag=[call_number]
88 Contact: <sip:TODO@[remote_ip]:[remote_port]>
89 Server: SIPP testing RTT