Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uas-answer-183-wrong-codec.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 incompatible codec">
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=audio [media_port] RTP/AVP 109 105
77 a=rtpmap:109 EVS/16000
78 a=fmtp:109 br=5.9-24.4; bw=nb-wb; max-red=220
79 a=rtpmap:105 telephone-event/16000
80 a=fmtp:105 0-15
81 a=sendrecv
82
83 ]]>
84 </send>
85
86 <!-- Wait for CANCEL -->
87 <recv request="CANCEL" crlf="true">
88 </recv>
89
90 <send>
91 <![CDATA[
92 SIP/2.0 200 OK
93 [last_Via:]
94 [last_From:]
95 [last_To:]
96 [last_Call-ID:]
97 [last_CSeq:]
98 Content-Length: 0
99
100 ]]>
101 </send>
102
103 <send>
104 <![CDATA[
105
106 SIP/2.0 487 Request Terminated
107 [last_Via:]
108 [last_From:]
109 [last_To:];tag=[call_number]
110 [last_Call-ID:]
111 CSeq: [cseq] INVITE
112 Contact: <sip:sipp@[local_ip]:[local_port]>
113 Content-Length: 0
114 ]]>
115 </send>
116
117 <!-- Wait for CANCEL -->
118 <recv request="ACK" crlf="true">
119 </recv>
120
121 <!-- definition of the response time repartition table (unit is ms) -->
122 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
123
124 <!-- definition of the call length repartition table (unit is ms) -->
125 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
126
127 </scenario>
128