Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uac-upd-sdp-decline.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 <!-- Sipp 'uac' scenario with pcap (rtp) play -->
20 <!-- -->
21
22 <scenario name="UAC sending UPDATE with unacceptable SDP offer (#3135)">
23 <send retrans="500">
24 <![CDATA[
25
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=[pid]SIPpTag09[call_number]
29 To: [service] <sip:[service]@[remote_ip]:[remote_port]>
30 Call-ID: [call_id]
31 CSeq: [cseq] INVITE
32 Contact: sip:sipp@[local_ip]:[local_port]
33 Max-Forwards: 70
34 Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGE
35 Supported: 100rel, precondition
36 Content-Type: application/sdp
37 Content-Length: [len]
38
39 v=0
40 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
41 s=-
42 c=IN IP[local_ip_type] [local_ip]
43 t=0 0
44 m=audio [media_port] RTP/AVP 8 101
45 a=rtpmap:8 PCMA/8000
46 a=rtpmap:101 telephone-event/8000
47 a=sendrecv
48 a=fmtp:101 0-11,16
49
50 ]]>
51 </send>
52
53 <recv response="100" optional="true">
54 </recv>
55
56 <recv response="183">
57 <action>
58 <ereg regexp=".*"
59 search_in="hdr"
60 header="RSeq:"
61 assign_to="1"/>
62 <ereg regexp=".*"
63 search_in="hdr"
64 header="CSeq:"
65 assign_to="2"/>
66 </action>
67 </recv>
68
69 <send>
70 <![CDATA[
71
72 PRACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
73 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
74 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
75 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
76 Call-ID: [call_id]
77 CSeq: [cseq] PRACK
78 Contact: sip:sipp@[local_ip]:[local_port]
79 Max-Forwards: 70
80 Subject: Performance Test
81 RAck:[$1][$2]
82 Content-Type: application/sdp
83 Content-Length: 0
84
85 ]]>
86 </send>
87
88 <recv response="200" rtd="true" crlf="true">
89 </recv>
90
91 <send>
92 <![CDATA[
93
94 UPDATE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
95 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
96 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
97 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
98 Call-ID: [call_id]
99 CSeq: [cseq] UPDATE
100 Contact: sip:sipp@[local_ip]:[local_port]
101 Max-Forwards: 70
102 Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGE
103 Supported: 100rel, precondition
104 Content-Type: application/sdp
105 Content-Length: [len]
106
107 v=0
108 o=user1 53655765 2353687638 IN IP[local_ip_type] [local_ip]
109 s=-
110 c=IN IP[local_ip_type] [local_ip]
111 t=0 0
112 m=audio [media_port] RTP/AVP 109 105
113 a=rtpmap:109 EVS/16000
114 a=fmtp:109 br=5.9-24.4; bw=nb-wb; max-red=220
115 a=rtpmap:105 telephone-event/16000
116 a=fmtp:105 0-15
117 a=sendrecv
118
119 ]]>
120 </send>
121
122 <recv response="488" rtd="true" crlf="true">
123 </recv>
124
125 <recv response="200" rtd="true" crlf="true">
126 </recv>
127
128 <send>
129 <![CDATA[
130
131 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
132 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
133 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
134 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
135 Call-ID: [call_id]
136 CSeq: 1 ACK
137 Contact: sip:sipp@[local_ip]:[local_port]
138 Max-Forwards: 70
139 Subject: Performance Test
140 Content-Length: 0
141
142 ]]>
143 </send>
144
145 <send retrans="500">
146 <![CDATA[
147
148 BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
149 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
150 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
151 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
152 Call-ID: [call_id]
153 CSeq: 2 BYE
154 Contact: sip:sipp@[local_ip]:[local_port]
155 Max-Forwards: 70
156 Subject: Performance Test
157 Content-Length: 0
158
159 ]]>
160 </send>
161
162 <recv response="200" crlf="true">
163 </recv>
164
165 <!-- definition of the response time repartition table (unit is ms) -->
166 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
167
168 <!-- definition of the call length repartition table (unit is ms) -->
169 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
170
171 </scenario>