| 1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
<scenario name="alt_pjsua UAC custom SDP: SIPp as UAS"> |
| 10 |
|
| 11 |
<recv request="INVITE" crlf="true"> |
| 12 |
<action> |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<ereg regexp="a=rtpmap:0 PCMU/8000" search_in="msg" |
| 18 |
check_it="true" assign_to="1"/> |
| 19 |
<ereg regexp="a=rtpmap:96 H263-1998/90000" search_in="msg" |
| 20 |
check_it="true" assign_to="2"/> |
| 21 |
</action> |
| 22 |
</recv> |
| 23 |
<nop condexec="1"></nop> |
| 24 |
<nop condexec="2"></nop> |
| 25 |
|
| 26 |
<send> |
| 27 |
<![CDATA[ |
| 28 |
|
| 29 |
SIP/2.0 100 Trying |
| 30 |
[last_Via:] |
| 31 |
[last_From:] |
| 32 |
[last_To:];tag=[call_number] |
| 33 |
[last_Call-ID:] |
| 34 |
[last_CSeq:] |
| 35 |
Content-Length: 0 |
| 36 |
|
| 37 |
]]> |
| 38 |
</send> |
| 39 |
|
| 40 |
<send retrans="500"> |
| 41 |
<![CDATA[ |
| 42 |
|
| 43 |
SIP/2.0 200 OK |
| 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=sipp 1234567890 1234567890 IN IP[local_ip_type] [local_ip] |
| 55 |
s=- |
| 56 |
c=IN IP[media_ip_type] [media_ip] |
| 57 |
t=0 0 |
| 58 |
m=audio [media_port] RTP/AVP 0 |
| 59 |
a=rtpmap:0 PCMU/8000 |
| 60 |
m=video [media_port+2] RTP/AVP 96 |
| 61 |
a=rtpmap:96 H263-1998/90000 |
| 62 |
|
| 63 |
]]> |
| 64 |
</send> |
| 65 |
|
| 66 |
<recv request="ACK" crlf="true"> |
| 67 |
</recv> |
| 68 |
|
| 69 |
<recv request="BYE" crlf="true"> |
| 70 |
</recv> |
| 71 |
|
| 72 |
<send> |
| 73 |
<![CDATA[ |
| 74 |
|
| 75 |
SIP/2.0 200 OK |
| 76 |
[last_Via:] |
| 77 |
[last_From:] |
| 78 |
[last_To:] |
| 79 |
[last_Call-ID:] |
| 80 |
[last_CSeq:] |
| 81 |
Content-Length: 0 |
| 82 |
|
| 83 |
]]> |
| 84 |
</send> |
| 85 |
|
| 86 |
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> |
| 87 |
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> |
| 88 |
|
| 89 |
</scenario> |