Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uas-answer-183-wrong-media.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 <!-- Correct call cancellation on wrong SDP answer PR #3137 -->
20
21 <scenario name="UAS sending 183 with wrong media in SDP">
22 <!-- By adding rrs="true" (Record Route Sets), the route sets -->
23 <!-- are saved and used for following messages sent. Useful to test -->
24 <!-- against stateful SIP proxies/B2BUAs. -->
25
26 <recv request="INVITE" crlf="true">
27 </recv>
28
29 <send>
30 <![CDATA[
31
32 SIP/2.0 100 Trying
33 [last_Via:]
34 [last_From:]
35 [last_To:]
36 [last_Call-ID:]
37 [last_CSeq:]
38 Content-Length: 0
39
40 ]]>
41 </send>
42
43 <send>
44 <![CDATA[
45
46 SIP/2.0 180 Ringing
47 [last_Via:]
48 [last_From:]
49 [last_To:];tag=[call_number]
50 [last_Call-ID:]
51 [last_CSeq:]
52 Contact: sip:sipp@[local_ip]:[local_port]
53 Content-Length: 0
54
55 ]]>
56 </send>
57
58 <send retrans="500">
59 <![CDATA[
60
61 SIP/2.0 183 Session Progress
62 [last_Via:]
63 [last_From:]
64 [last_To:];tag=[call_number]
65 [last_Call-ID:]
66 [last_CSeq:]
67 Contact: sip:sipp@[local_ip]:[local_port]
68 Content-Type: application/sdp
69 Content-Length: [len]
70
71 v=0
72 o=- 3441953879 3441953879 IN IP[local_ip_type] [local_ip]
73 s=-
74 c=IN IP[media_ip_type] [media_ip]
75 t=0 0
76 m=video 11128 RTP/AVP 34 103 104
77 a=rtpmap:34 H263/90000
78 a=rtpmap:103 H263-1998/90000
79 a=rtpmap:104 H264/90000
80 a=sendrecv
81
82 ]]>
83 </send>
84
85 <!-- Wait for CANCEL -->
86 <recv request="CANCEL" crlf="true">
87 </recv>
88
89 <send>
90 <![CDATA[
91 SIP/2.0 200 OK
92 [last_Via:]
93 [last_From:]
94 [last_To:]
95 [last_Call-ID:]
96 [last_CSeq:]
97 Content-Length: 0
98
99 ]]>
100 </send>
101
102 <send>
103 <![CDATA[
104
105 SIP/2.0 487 Request Terminated
106 [last_Via:]
107 [last_From:]
108 [last_To:];tag=[call_number]
109 [last_Call-ID:]
110 CSeq: [cseq] INVITE
111 Contact: <sip:sipp@[local_ip]:[local_port]>
112 Content-Length: 0
113 ]]>
114 </send>
115
116 <!-- Wait for CANCEL -->
117 <recv request="ACK" crlf="true">
118 </recv>
119
120 <!-- definition of the response time repartition table (unit is ms) -->
121 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
122
123 <!-- definition of the call length repartition table (unit is ms) -->
124 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
125
126 </scenario>
127