blob: 2a2ec8be41d5d4dc056eed35692ea87af5b52181 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!DOCTYPE scenario SYSTEM "sipp.dtd">
3
4
5<scenario name="Ticket #1148 (assertion when offering SDP media with port zero but answered with port non-zero)">
6 <send retrans="500">
7 <![CDATA[
8
9 INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
10 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
11 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
12 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
13 Call-ID: [call_id]
14 CSeq: 3 INVITE
15 Contact: sip:sipp@[local_ip]:[local_port]
16 Max-Forwards: 70
17 Subject: Performance Test
18 Content-Type: application/sdp
19 Content-Length: [len]
20
21 v=0
22 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
23 s=-
24 c=IN IP[media_ip_type] [media_ip]
25 t=0 0
26 m=audio 4000 RTP/AVP 0
27 m=video 5000 RTP/AVP 100
28 a=rtpmap:100 H261/90000
29
30 ]]>
31 </send>
32
33 <recv response="100" optional="true">
34 </recv>
35 <recv response="180" optional="true">
36 </recv>
37 <recv response="200" rtd="true">
38 </recv>
39
40 <send>
41 <![CDATA[
42
43 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
44 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
45 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
46 To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
47 Call-ID: [call_id]
48 CSeq: 3 ACK
49 Contact: sip:sipp@[local_ip]:[local_port]
50 Max-Forwards: 70
51 Subject: Performance Test
52 Content-Length: 0
53
54 ]]>
55 </send>
56
57 <!-- Waiting re-INVITE from pjsua -->
58
59 <recv request="INVITE" crlf="true">
60 </recv>
61
62 <send retrans="500">
63 <![CDATA[
64
65 SIP/2.0 200 OK
66 [last_Via:]
67 [last_From:]
68 [last_To:];tag=[call_number]
69 [last_Call-ID:]
70 [last_CSeq:]
71 Contact: sip:sipp@[local_ip]:[local_port]
72 Content-Type: application/sdp
73
74 v=0
75 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
76 s=-
77 c=IN IP[media_ip_type] [media_ip]
78 t=0 0
79 m=audio 4000 RTP/AVP 0
80 m=video 5000 RTP/AVP 100
81 a=rtpmap:100 H261/90000
82
83 ]]>
84 </send>
85
86 <!-- Expecting assertion here -->
87
88 <recv request="ACK" crlf="true">
89 </recv>
90
91 <!-- definition of the response time repartition table (unit is ms) -->
92 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
93
94 <!-- definition of the call length repartition table (unit is ms) -->
95 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
96
97</scenario>
98