blob: 2c984bedd463c76915d5b7fce619078ae9205d5d [file] [log] [blame]
Alexandre Lision8af73cb2013-12-10 14:11:20 -05001<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!DOCTYPE scenario SYSTEM "sipp.dtd">
3
4<scenario name="Basic UAS responder">
5 <recv request="REGISTER" crlf="true">
6 </recv>
7
8 <send>
9 <![CDATA[
10 SIP/2.0 100 Trying
11 [last_Via:];received=1.1.1.1;rport=1111
12 [last_From:]
13 [last_To:];tag=[call_number]
14 [last_Call-ID:]
15 [last_CSeq:]
16 WWW-Authenticate: digest realm="test"
17 Content-Length: 0
18 ]]>
19 </send>
20
21 <pause milliseconds="2000"/>
22
23 <send>
24 <![CDATA[
25 SIP/2.0 401 Unauthorized
26 [last_Via:];received=2.2.2.2;rport=2222
27 [last_From:]
28 [last_To:];tag=[call_number]
29 [last_Call-ID:]
30 [last_CSeq:]
31 WWW-Authenticate: digest realm="test"
32 Content-Length: 0
33 ]]>
34 </send>
35
36 <recv request="REGISTER" crlf="true">
37 </recv>
38
39 <send>
40 <![CDATA[
41 SIP/2.0 401 Unauthorized again
42 [last_Via:];received=3.3.3.3;rport=3333
43 [last_From:]
44 [last_To:];tag=[call_number]
45 [last_Call-ID:]
46 [last_CSeq:]
47 [last_Contact:]
48 WWW-Authenticate: digest realm="test", stale=true
49 Content-Length: 0
50 ]]>
51 </send>
52
53
54 <recv request="REGISTER" crlf="true">
55 </recv>
56
57 <send>
58 <![CDATA[
59 SIP/2.0 200 OK
60 [last_Via:];received=4.4.4.4;rport=4444
61 [last_From:]
62 [last_To:];tag=[call_number]
63 [last_Call-ID:]
64 [last_CSeq:]
65 [last_Contact:]
66 Content-Length: 0
67 ]]>
68 </send>
69
70 <!-- IP CHANGE FOR 200/OK -->
71
72 <recv request="REGISTER" crlf="true">
73 </recv>
74
75 <send>
76 <![CDATA[
77 SIP/2.0 401 Unauthorized
78 [last_Via:];received=5.5.5.5;rport=5555
79 [last_From:]
80 [last_To:];tag=[call_number]
81 [last_Call-ID:]
82 [last_CSeq:]
83 [last_Contact:]
84 WWW-Authenticate: digest realm="test"
85 Content-Length: 0
86 ]]>
87 </send>
88
89 <recv request="REGISTER" crlf="true">
90 </recv>
91
92 <send>
93 <![CDATA[
94 SIP/2.0 401 Nasty Unauthorized
95 [last_Via:];received=6.6.6.6;rport=6666
96 [last_From:]
97 [last_To:];tag=[call_number]
98 [last_Call-ID:]
99 [last_CSeq:]
100 [last_Contact:]
101 WWW-Authenticate: digest realm="test", stale=true
102 Content-Length: 0
103 ]]>
104 </send>
105
106 <recv request="REGISTER" crlf="true">
107 </recv>
108
109 <send>
110 <![CDATA[
111 SIP/2.0 200 OK
112 [last_Via:];received=8.8.8.8;rport=8888
113 [last_From:]
114 [last_To:];tag=[call_number]
115 [last_Call-ID:]
116 [last_CSeq:]
117 [last_Contact:]
118 Content-Length: 0
119 ]]>
120 </send>
121
122 <recv request="REGISTER" crlf="true">
123 </recv>
124
125 <send>
126 <![CDATA[
127 SIP/2.0 200 OK
128 [last_Via:];received=8.8.8.8;rport=8888
129 [last_From:]
130 [last_To:];tag=[call_number]
131 [last_Call-ID:]
132 [last_CSeq:]
133 [last_Contact:]
134 Content-Length: 0
135 ]]>
136 </send>
137
138 <!-- definition of the response time repartition table (unit is ms) -->
139 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
140
141 <!-- definition of the call length repartition table (unit is ms) -->
142 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
143
144</scenario>
145