Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uas-auth-two-algo.xml

raw symbols SCIP
1 <?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 Content-Length: 0
17 ]]>
18 </send>
19
20 <send>
21 <![CDATA[
22 SIP/2.0 401 Unauthorized
23 [last_Via:];received=1.1.1.1;rport=1111
24 [last_From:]
25 [last_To:];tag=[call_number]
26 [last_Call-ID:]
27 [last_CSeq:]
28 WWW-Authenticate: Digest realm="sip.linphone.org", nonce="PARV4gAAAADgw3asAADW8zsi5BEAAAAA", opaque="+GNywA==", algorithm=SHA-256, qop="auth"
29 WWW-Authenticate: Digest realm="sip.linphone.org", nonce="PARV4gAAAADgw3asAADW8zsi5BEAAAAA", opaque="+GNywA==", algorithm=MD5, qop="auth"
30 WWW-Authenticate: Digest realm="sip.linphone.org", nonce="PARV4gAAAADgw3asAADW8zsi5BEAAAAA", opaque="+GNywA==", algorithm=MD2, qop="auth"
31 Content-Length: 0
32 ]]>
33 </send>
34
35 <recv request="REGISTER" crlf="true">
36 <action>
37 <ereg regexp=".*"
38 search_in="hdr"
39 header="Authorization:"
40 assign_to="have_auth" />
41 </action>
42 </recv>
43
44 <nop next="resp_okay" test="have_auth" />
45
46 <send next="end">
47 <![CDATA[
48 SIP/2.0 403 no auth
49 [last_Via:];received=1.1.1.1;rport=1111
50 [last_From:]
51 [last_To:];tag=[call_number]
52 [last_Call-ID:]
53 [last_CSeq:]
54 [last_Contact:]
55 Content-Length: 0
56 ]]>
57 </send>
58
59 <label id="resp_okay" />
60
61 <send>
62 <![CDATA[
63 SIP/2.0 200 OK
64 [last_Via:];received=1.1.1.1;rport=1111
65 [last_From:]
66 [last_To:];tag=[call_number]
67 [last_Call-ID:]
68 [last_CSeq:]
69 [last_Contact:]
70 Content-Length: 0
71 ]]>
72 </send>
73
74 <label id="end" />
75
76 <!-- definition of the response time repartition table (unit is ms) -->
77 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
78
79 <!-- definition of the call length repartition table (unit is ms) -->
80 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
81
82 </scenario>
83