Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uac-prack-sdp-offer.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 PRACK with SDP offer (#2967)">
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=inactive
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: [len]
84
85 v=0
86 o=user1 53655765 2353687638 IN IP[local_ip_type] [local_ip]
87 s=-
88 c=IN IP[local_ip_type] [local_ip]
89 t=0 0
90 m=audio [media_port] RTP/AVP 8 101
91 a=rtpmap:8 PCMA/8000
92 a=rtpmap:101 telephone-event/8000
93 a=sendrecv
94 a=fmtp:101 0-11,16
95
96 ]]>
97 </send>
98
99 <recv response="200" rtd="true" crlf="true">
100 </recv>
101
102 <recv response="200" rtd="true" crlf="true">
103 </recv>
104
105 <send>
106 <![CDATA[
107
108 ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
109 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
110 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
111 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
112 Call-ID: [call_id]
113 CSeq: 1 ACK
114 Contact: sip:sipp@[local_ip]:[local_port]
115 Max-Forwards: 70
116 Subject: Performance Test
117 Content-Length: 0
118
119 ]]>
120 </send>
121
122 <!-- The 'crlf' option inserts a blank line in the statistics report. -->
123 <send retrans="500">
124 <![CDATA[
125
126 BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
127 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
128 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
129 To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
130 Call-ID: [call_id]
131 CSeq: 2 BYE
132 Contact: sip:sipp@[local_ip]:[local_port]
133 Max-Forwards: 70
134 Subject: Performance Test
135 Content-Length: 0
136
137 ]]>
138 </send>
139
140 <recv response="200" crlf="true">
141 </recv>
142
143 <!-- definition of the response time repartition table (unit is ms) -->
144 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
145
146 <!-- definition of the call length repartition table (unit is ms) -->
147 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
148
149 </scenario>