Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 | <!DOCTYPE scenario SYSTEM "sipp.dtd"> |
| 3 | |
| 4 | <scenario name="Early BYE"> |
| 5 | <recv request="INVITE" crlf="true"> |
| 6 | <action> |
| 7 | <ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/> |
| 8 | <ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/> |
| 9 | <assign assign_to="4" variable="5" /> |
| 10 | </action> |
| 11 | </recv> |
| 12 | |
| 13 | <send> |
| 14 | <![CDATA[ |
| 15 | SIP/2.0 100 Trying |
| 16 | [last_Via:] |
| 17 | [last_From:] |
| 18 | [last_To:] |
| 19 | [last_Call-ID:] |
| 20 | [last_CSeq:] |
| 21 | Content-Length: 0 |
| 22 | |
| 23 | ]]> |
| 24 | </send> |
| 25 | |
| 26 | <send> |
| 27 | <![CDATA[ |
| 28 | |
| 29 | SIP/2.0 180 Ringing |
| 30 | [last_Via:] |
| 31 | [last_From:] |
| 32 | [last_To:];tag=[call_number] |
| 33 | [last_Call-ID:] |
| 34 | [last_CSeq:] |
| 35 | Contact: sip:sipp@[local_ip]:[local_port] |
| 36 | Content-Length: 0 |
| 37 | |
| 38 | ]]> |
| 39 | </send> |
| 40 | |
| 41 | <send retrans="500"> |
| 42 | <![CDATA[ |
| 43 | |
| 44 | BYE sip:[$5] SIP/2.0 |
| 45 | Via: SIP/2.0/[transport] [local_ip]:[local_port] |
| 46 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] |
| 47 | To[$3] |
| 48 | Call-ID: [call_id] |
| 49 | Cseq: 1 BYE |
| 50 | Contact: sip:sipp@[local_ip]:[local_port] |
| 51 | Max-Forwards: 70 |
| 52 | Content-Length: 0 |
| 53 | |
| 54 | ]]> |
| 55 | </send> |
| 56 | |
| 57 | <recv response="200"> |
| 58 | </recv> |
| 59 | |
| 60 | |
| 61 | <!-- definition of the response time repartition table (unit is ms) --> |
| 62 | <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> |
| 63 | |
| 64 | <!-- definition of the call length repartition table (unit is ms) --> |
| 65 | <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> |
| 66 | |
| 67 | </scenario> |
| 68 | |