1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE scenario SYSTEM "sipp.dtd">
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. -->
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. -->
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 -->
21
<scenario name="UAC with bad ACK">
22
<!-- UAC with bad ACK causes assertion with pjsip 1.4 -->
26
INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
27
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
28
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
29
To: sut <sip:[service]@[remote_ip]:[remote_port]>
32
Contact: sip:sipp@[local_ip]:[local_port]
34
Subject: Performance Test
35
Content-Type: application/sdp
39
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
41
c=IN IP[media_ip_type] [media_ip]
43
m=audio [media_port] RTP/AVP 0
53
<recv response="180" optional="true">
56
<!-- By adding rrs="true" (Record Route Sets), the route sets -->
57
<!-- are saved and used for following messages sent. Useful to test -->
58
<!-- against stateful SIP proxies/B2BUAs. -->
59
<recv response="200" rtd="true">
62
<!-- Packet lost can be simulated in any send/recv message by -->
63
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
67
ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
68
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
69
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
70
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
73
Contact: sip:sipp@[local_ip]:[local_port]
75
Subject: Performance Test
81
<!-- This delay can be customized by the -d command-line option -->
82
<!-- or by adding a 'milliseconds = "value"' option here. -->
85
<!-- The 'crlf' option inserts a blank line in the statistics report. -->
89
BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
90
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-1
91
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
92
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
95
Contact: sip:sipp@[local_ip]:[local_port]
97
Subject: Performance Test
103
<recv response="200" crlf="true">
106
<pause milliseconds="2000"/>
111
ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
112
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-1
113
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
114
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
117
Contact: sip:sipp@[local_ip]:[local_port]
119
Subject: Performance Test
125
<!-- definition of the response time repartition table (unit is ms) -->
126
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
128
<!-- definition of the call length repartition table (unit is ms) -->
129
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>