| 1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
<scenario name="UAS answer with multiple formats in early media"> |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
<recv request="INVITE" crlf="true"> |
| 27 |
</recv> |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
<send> |
| 41 |
<![CDATA[ |
| 42 |
|
| 43 |
SIP/2.0 180 Ringing |
| 44 |
[last_Via:] |
| 45 |
[last_From:] |
| 46 |
[last_To:];tag=[call_number] |
| 47 |
[last_Call-ID:] |
| 48 |
[last_CSeq:] |
| 49 |
Contact: sip:sipp@[local_ip]:[local_port] |
| 50 |
Content-Type: application/sdp |
| 51 |
Content-Length: [len] |
| 52 |
|
| 53 |
v=0 |
| 54 |
o=- 3441953879 3441953879 IN IP4 192.168.0.15 |
| 55 |
s=pjmedia |
| 56 |
c=IN IP4 192.168.0.15 |
| 57 |
t=0 0 |
| 58 |
m=audio 4004 RTP/AVP 0 8 3 111 |
| 59 |
a=rtpmap:0 PCMU/8000 |
| 60 |
a=rtpmap:8 PCMA/8000 |
| 61 |
a=rtpmap:3 GSM/8000 |
| 62 |
a=rtpmap:111 telephone-event/8000 |
| 63 |
a=fmtp:111 0-15 |
| 64 |
|
| 65 |
]]> |
| 66 |
</send> |
| 67 |
|
| 68 |
<pause milliseconds="2000"/> |
| 69 |
|
| 70 |
<send retrans="500"> |
| 71 |
<![CDATA[ |
| 72 |
|
| 73 |
SIP/2.0 200 OK |
| 74 |
[last_Via:] |
| 75 |
[last_From:] |
| 76 |
[last_To:];tag=[call_number] |
| 77 |
[last_Call-ID:] |
| 78 |
[last_CSeq:] |
| 79 |
Contact: sip:sipp@[local_ip]:[local_port] |
| 80 |
Content-Type: application/sdp |
| 81 |
Content-Length: [len] |
| 82 |
|
| 83 |
v=0 |
| 84 |
o=- 3441953879 3441953879 IN IP4 192.168.0.15 |
| 85 |
s=pjmedia |
| 86 |
c=IN IP4 192.168.0.15 |
| 87 |
t=0 0 |
| 88 |
m=audio 4004 RTP/AVP 0 8 3 111 |
| 89 |
a=rtpmap:0 PCMU/8000 |
| 90 |
a=rtpmap:8 PCMA/8000 |
| 91 |
a=rtpmap:3 GSM/8000 |
| 92 |
a=rtpmap:111 telephone-event/8000 |
| 93 |
a=fmtp:111 0-15 |
| 94 |
|
| 95 |
]]> |
| 96 |
</send> |
| 97 |
|
| 98 |
<recv request="ACK" crlf="true"> |
| 99 |
</recv> |
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
<recv request="INVITE" crlf="true"> |
| 104 |
<action> |
| 105 |
<ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/> |
| 106 |
<ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/> |
| 107 |
<assign assign_to="4" variable="5" /> |
| 108 |
</action> |
| 109 |
</recv> |
| 110 |
|
| 111 |
<send retrans="500"> |
| 112 |
<![CDATA[ |
| 113 |
|
| 114 |
SIP/2.0 200 OK |
| 115 |
[last_Via:] |
| 116 |
[last_From:] |
| 117 |
[last_To:];tag=[call_number] |
| 118 |
[last_Call-ID:] |
| 119 |
[last_CSeq:] |
| 120 |
Contact: sip:sipp@[local_ip]:[local_port] |
| 121 |
Content-Type: application/sdp |
| 122 |
Content-Length: [len] |
| 123 |
|
| 124 |
v=0 |
| 125 |
o=- 3441953879 3441953879 IN IP4 192.168.0.15 |
| 126 |
s=pjmedia |
| 127 |
c=IN IP4 192.168.0.15 |
| 128 |
t=0 0 |
| 129 |
m=audio 4004 RTP/AVP 0 111 |
| 130 |
a=rtpmap:0 PCMU/8000 |
| 131 |
a=rtpmap:111 telephone-event/8000 |
| 132 |
a=fmtp:111 0-15 |
| 133 |
|
| 134 |
]]> |
| 135 |
</send> |
| 136 |
|
| 137 |
<recv request="ACK" crlf="true"> |
| 138 |
</recv> |
| 139 |
|
| 140 |
|
| 141 |
<pause milliseconds="2000"/> |
| 142 |
|
| 143 |
|
| 144 |
<send retrans="500"> |
| 145 |
<![CDATA[ |
| 146 |
|
| 147 |
BYE sip:[$5] SIP/2.0 |
| 148 |
Via: SIP/2.0/[transport] [local_ip]:[local_port] |
| 149 |
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] |
| 150 |
To[$3] |
| 151 |
Call-ID: [call_id] |
| 152 |
Cseq: 1 BYE |
| 153 |
Contact: sip:sipp@[local_ip]:[local_port] |
| 154 |
Max-Forwards: 70 |
| 155 |
Content-Length: 0 |
| 156 |
|
| 157 |
]]> |
| 158 |
</send> |
| 159 |
|
| 160 |
<recv response="200"> |
| 161 |
</recv> |
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> |
| 166 |
|
| 167 |
|
| 168 |
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> |
| 169 |
|
| 170 |
</scenario> |
| 171 |
|