blob: a1392dfd9f884d8209f57346f68cd1b10c93c379 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001<?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 401 Unauthorized
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 <recv request="REGISTER" crlf="true">
22 </recv>
23
24 <send>
25 <![CDATA[
26 SIP/2.0 200 OK
27 [last_Via:];received=1.1.1.1;rport=1111
28 [last_From:]
29 [last_To:];tag=[call_number]
30 [last_Call-ID:]
31 [last_CSeq:]
32 [last_Contact:]
33 Content-Length: 0
34 ]]>
35 </send>
36
37 <!-- REREGISTER -->
38 <recv request="REGISTER" crlf="true">
39 </recv>
40
41 <send>
42 <![CDATA[
43 SIP/2.0 200 OK
44 [last_Via:];received=1.1.1.1;rport=1111
45 [last_From:]
46 [last_To:];tag=[call_number]
47 [last_Call-ID:]
48 [last_CSeq:]
49 [last_Contact:]
50 Subject: Reregister due to IP change, this has two Contacts
51 Content-Length: 0
52 ]]>
53 </send>
54
55
56 <!-- REFRESH, GOT IP CHANGE AGAIN -->
57 <recv request="REGISTER" crlf="true">
58 </recv>
59
60 <send>
61 <![CDATA[
62 SIP/2.0 200 OK
63 [last_Via:];received=1.1.1.1;rport=2222
64 [last_From:]
65 [last_To:];tag=[call_number]
66 [last_Call-ID:]
67 [last_CSeq:]
68 [last_Contact:]
69 Subject: Refresh, got IP change again
70 Content-Length: 0
71 ]]>
72 </send>
73
74
75 <!-- REREGISTER -->
76 <recv request="REGISTER" crlf="true">
77 </recv>
78
79 <send>
80 <![CDATA[
81 SIP/2.0 200 OK
82 [last_Via:];received=1.1.1.1;rport=2222
83 [last_From:]
84 [last_To:];tag=[call_number]
85 [last_Call-ID:]
86 [last_CSeq:]
87 [last_Contact:]
88 Subject: Reregister due to port change, this has two Contacts
89 Content-Length: 0
90 ]]>
91 </send>
92
93
94 <!-- WHATEVER -->
95 <recv request="REGISTER" crlf="true">
96 </recv>
97
98 <send>
99 <![CDATA[
100 SIP/2.0 200 OK
101 [last_Via:];received=1.1.1.1;rport=2222
102 [last_From:]
103 [last_To:];tag=[call_number]
104 [last_Call-ID:]
105 [last_CSeq:]
106 [last_Contact:]
107 Subject: Whatever 1
108 Content-Length: 0
109 ]]>
110 </send>
111
112 <!-- WHATEVER -->
113 <recv request="REGISTER" crlf="true">
114 </recv>
115
116 <send>
117 <![CDATA[
118 SIP/2.0 200 OK
119 [last_Via:];received=1.1.1.1;rport=2222
120 [last_From:]
121 [last_To:];tag=[call_number]
122 [last_Call-ID:]
123 [last_CSeq:]
124 [last_Contact:]
125 Subject: Whatever 2
126 Content-Length: 0
127 ]]>
128 </send>
129
130 <!-- definition of the response time repartition table (unit is ms) -->
131 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
132
133 <!-- definition of the call length repartition table (unit is ms) -->
134 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
135
136</scenario>
137