| 1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
<scenario name="UAS: verify norefersub in Supported header"> |
| 9 |
|
| 10 |
<recv request="INVITE" crlf="true"> |
| 11 |
<action> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<ereg regexp="norefersub" |
| 16 |
search_in="hdr" |
| 17 |
header="Supported:" |
| 18 |
assign_to="1"/> |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
<ereg regexp="tag=[^ ;,\r\n]+" |
| 23 |
search_in="hdr" |
| 24 |
header="From:" |
| 25 |
assign_to="2"/> |
| 26 |
</action> |
| 27 |
</recv> |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
<nop next="main" test="1"/> |
| 32 |
<nop> |
| 33 |
<action> |
| 34 |
<exec int_cmd="stop_now"/> |
| 35 |
</action> |
| 36 |
</nop> |
| 37 |
|
| 38 |
<label id="main"/> |
| 39 |
|
| 40 |
<send> |
| 41 |
<![CDATA[ |
| 42 |
|
| 43 |
SIP/2.0 100 Trying |
| 44 |
[last_Via:] |
| 45 |
[last_From:] |
| 46 |
[last_To:] |
| 47 |
[last_Call-ID:] |
| 48 |
[last_CSeq:] |
| 49 |
Content-Length: 0 |
| 50 |
|
| 51 |
]]> |
| 52 |
</send> |
| 53 |
|
| 54 |
<send retrans="500"> |
| 55 |
<![CDATA[ |
| 56 |
|
| 57 |
SIP/2.0 200 OK |
| 58 |
[last_Via:] |
| 59 |
[last_From:] |
| 60 |
[last_To:];tag=[call_number] |
| 61 |
[last_Call-ID:] |
| 62 |
[last_CSeq:] |
| 63 |
Contact: sip:sipp@[local_ip]:[local_port] |
| 64 |
Content-Type: application/sdp |
| 65 |
Content-Length: [len] |
| 66 |
|
| 67 |
v=0 |
| 68 |
o=- 1 1 IN IP4 [local_ip] |
| 69 |
s=pjmedia |
| 70 |
c=IN IP4 [local_ip] |
| 71 |
t=0 0 |
| 72 |
m=audio 4000 RTP/AVP 0 |
| 73 |
a=rtpmap:0 PCMU/8000 |
| 74 |
|
| 75 |
]]> |
| 76 |
</send> |
| 77 |
|
| 78 |
<recv request="ACK" crlf="true"> |
| 79 |
</recv> |
| 80 |
|
| 81 |
<pause milliseconds="1000"/> |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
<send retrans="500"> |
| 86 |
<![CDATA[ |
| 87 |
|
| 88 |
BYE sip:[remote_ip]:[remote_port] SIP/2.0 |
| 89 |
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] |
| 90 |
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] |
| 91 |
To: <sip:[remote_ip]:[remote_port]>;[$2] |
| 92 |
[last_Call-ID:] |
| 93 |
CSeq: 2 BYE |
| 94 |
Max-Forwards: 70 |
| 95 |
Content-Length: 0 |
| 96 |
|
| 97 |
]]> |
| 98 |
</send> |
| 99 |
|
| 100 |
<recv response="200"> |
| 101 |
</recv> |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> |
| 106 |
|
| 107 |
|
| 108 |
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> |
| 109 |
|
| 110 |
</scenario> |