Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uac-inv-retrans-after-ack.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <!DOCTYPE scenario SYSTEM "sipp.dtd">
3
4 <!-- This program is free software; you can redistribute it and/or -->
5 <!-- modify it under the terms of the GNU General Public License as -->
6 <!-- published by the Free Software Foundation; either version 2 of the -->
7 <!-- License, or (at your option) any later version. -->
8 <!-- -->
9 <!-- This program is distributed in the hope that it will be useful, -->
10 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
11 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
12 <!-- GNU General Public License for more details. -->
13 <!-- -->
14 <!-- You should have received a copy of the GNU General Public License -->
15 <!-- along with this program; if not, write to the -->
16 <!-- Free Software Foundation, Inc., -->
17 <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
18 <!-- -->
19 <!-- -->
20
21 <!-- INVITE retransmission after ACK must not be treated as a new call -->
22 <!-- pjsua must be run with param "--max-calls=1" (mod_sipp.py default) -->
23
24 <scenario name="INVITE retransmission after ACK must not be treated as a new call">
25
26 <!-- Send initial INVITE -->
27 <send>
28 <![CDATA[
29
30 INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
31 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
32 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
33 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
34 Call-ID: [call_id]
35 CSeq: 1 INVITE
36 Contact: sip:sipp@[local_ip]:[local_port]
37 Max-Forwards: 70
38 Subject: Performance Test
39 Content-Type: application/sdp
40 Content-Length: [len]
41
42 v=0
43 o=Tester 234 123 IN IP4 127.0.0.1
44 s=Tester
45 c=IN IP4 127.0.0.1
46 t=0 0
47 m=audio 17424 RTP/AVP 0 101
48 a=rtpmap:101 telephone-event/8000
49 a=sendrecv
50
51 ]]>
52 </send>
53
54 <recv response="100" optional="true">
55 </recv>
56
57 <recv response="180" optional="true">
58 </recv>
59
60 <recv response="200" rtd="true">
61 </recv>
62
63 <send>
64 <![CDATA[
65
66 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
67 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-2
68 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
69 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
70 Call-ID: [call_id]
71 CSeq: 1 ACK
72 Contact: sip:sipp@[local_ip]:[local_port]
73 Max-Forwards: 70
74 Subject: Performance Test
75 Content-Length: 0
76
77 ]]>
78 </send>
79
80 <pause milliseconds="500"/>
81
82 <!-- Retransmit INVITE to simulate late retransmission, should be responded with 200 retrans -->
83 <send>
84 <![CDATA[
85
86 INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
87 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
88 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
89 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
90 Call-ID: [call_id]
91 CSeq: 1 INVITE
92 Contact: sip:sipp@[local_ip]:[local_port]
93 Max-Forwards: 70
94 Subject: Performance Test
95 Content-Type: application/sdp
96 Content-Length: [len]
97
98 v=0
99 o=Tester 234 123 IN IP4 127.0.0.1
100 s=Tester
101 c=IN IP4 127.0.0.1
102 t=0 0
103 m=audio 17424 RTP/AVP 0 101
104 a=rtpmap:101 telephone-event/8000
105 a=sendrecv
106
107 ]]>
108 </send>
109
110 <recv response="200">
111 </recv>
112
113 <send>
114 <![CDATA[
115
116 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
117 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-2
118 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
119 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
120 Call-ID: [call_id]
121 CSeq: 1 ACK
122 Contact: sip:sipp@[local_ip]:[local_port]
123 Max-Forwards: 70
124 Subject: Performance Test
125 Content-Length: 0
126
127 ]]>
128 </send>
129
130 <pause milliseconds="500"/>
131
132 <!-- Send a re-INVITE (not a retransmission) to verify proper handling and ensure it is not rejected due to the lingering initial INVITE -->
133 <send>
134 <![CDATA[
135
136 INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
137 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
138 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
139 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
140 Call-ID: [call_id]
141 CSeq: [cseq] INVITE
142 Contact: sip:sipp@[local_ip]:[local_port]
143 Max-Forwards: 70
144 Subject: Performance Test
145 Content-Type: application/sdp
146 Content-Length: [len]
147
148 v=0
149 o=Tester 234 123 IN IP4 127.0.0.1
150 s=Tester
151 c=IN IP4 127.0.0.1
152 t=0 0
153 m=audio 17424 RTP/AVP 0 101
154 a=rtpmap:101 telephone-event/8000
155 a=sendrecv
156
157 ]]>
158 </send>
159
160 <recv response="100" optional="true">
161 </recv>
162
163 <recv response="180" optional="true">
164 </recv>
165
166 <recv response="200" rtd="true">
167 </recv>
168
169 <send>
170 <![CDATA[
171
172 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
173 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
174 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
175 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
176 Call-ID: [call_id]
177 CSeq: [cseq] ACK
178 Contact: sip:sipp@[local_ip]:[local_port]
179 Max-Forwards: 70
180 Subject: Performance Test
181 Content-Length: 0
182
183 ]]>
184 </send>
185
186 <pause milliseconds="500"/>
187
188 <send>
189 <![CDATA[
190
191 BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
192 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
193 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
194 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
195 Call-ID: [call_id]
196 CSeq: [cseq] BYE
197 Contact: sip:sipp@[local_ip]:[local_port]
198 Max-Forwards: 70
199 Subject: Performance Test
200 Content-Length: 0
201
202 ]]>
203 </send>
204
205 <recv response="200">
206 </recv>
207
208 <!-- definition of the response time repartition table (unit is ms) -->
209 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
210
211 <!-- definition of the call length repartition table (unit is ms) -->
212 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
213
214 </scenario>
215