Scenario invite_hm extended, it now dials a second call with P-Asserted-Identity header so that the corresponding HM will reject the call with a 456 error message. Change-Id: Ie71666ad4478b47aebc3ceac851aff439ef4ac84mr13.0
parent
e2484798b4
commit
8be7577812
@ -0,0 +1,108 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
|
|
||||||
|
<scenario name="Sipwise NGCP Benchmark UAC Caller">
|
||||||
|
<send start_rtd="1" start_rtd="2">
|
||||||
|
<![CDATA[
|
||||||
|
|
||||||
|
INVITE sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
|
||||||
|
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||||
|
From: <sip:[field0 file="caller.csv" line=1]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||||
|
To: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
|
||||||
|
Call-ID: NGCP%[field4 file="callee.csv" line=1]%///[call_id]
|
||||||
|
CSeq: 1 INVITE
|
||||||
|
Contact: <sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port]>
|
||||||
|
Max-Forwards: 70
|
||||||
|
Content-Type: application/sdp
|
||||||
|
Content-Length: [len]
|
||||||
|
|
||||||
|
v=0
|
||||||
|
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
|
||||||
|
s=-
|
||||||
|
c=IN IP[media_ip_type] [media_ip]
|
||||||
|
t=0 0
|
||||||
|
m=audio [media_port] RTP/AVP 8
|
||||||
|
a=rtpmap:8 PCMA/8000
|
||||||
|
a=ptime:50
|
||||||
|
|
||||||
|
]]>
|
||||||
|
</send>
|
||||||
|
|
||||||
|
<recv response="100" rtd="1" optional="true">
|
||||||
|
</recv>
|
||||||
|
|
||||||
|
<recv response="407" rtd="2" auth="true"/>
|
||||||
|
|
||||||
|
<send>
|
||||||
|
<![CDATA[
|
||||||
|
|
||||||
|
ACK sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]:[remote_port] SIP/2.0
|
||||||
|
[last_Via:]
|
||||||
|
From: <sip:[field0 file="caller.csv" line=1]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||||
|
To: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>[peer_tag_param]
|
||||||
|
Call-ID: NGCP%[field4 file="callee.csv" line=1]%///[call_id]
|
||||||
|
CSeq: 1 ACK
|
||||||
|
Contact: <sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port]>
|
||||||
|
Max-Forwards: 70
|
||||||
|
Content-Length: 0
|
||||||
|
|
||||||
|
]]>
|
||||||
|
</send>
|
||||||
|
|
||||||
|
<pause milliseconds="500"/>
|
||||||
|
|
||||||
|
<send start_rtd="3">
|
||||||
|
<![CDATA[
|
||||||
|
|
||||||
|
INVITE sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
|
||||||
|
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||||
|
From: <sip:[field0 file="caller.csv" line=1]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||||
|
To: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
|
||||||
|
Call-ID: NGCP%[field4 file="callee.csv" line=1]%///[call_id]
|
||||||
|
CSeq: 2 INVITE
|
||||||
|
Contact: <sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port]>
|
||||||
|
P-Asserted-Identity: <sip:112@[field2 file="caller.csv"]>
|
||||||
|
Max-Forwards: 70
|
||||||
|
[field1 file="caller.csv" line=1]
|
||||||
|
Content-Type: application/sdp
|
||||||
|
Content-Length: [len]
|
||||||
|
|
||||||
|
v=0
|
||||||
|
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
|
||||||
|
s=-
|
||||||
|
c=IN IP[media_ip_type] [media_ip]
|
||||||
|
t=0 0
|
||||||
|
m=audio [media_port] RTP/AVP 8
|
||||||
|
a=rtpmap:8 PCMA/8000
|
||||||
|
a=ptime:50
|
||||||
|
|
||||||
|
]]>
|
||||||
|
</send>
|
||||||
|
|
||||||
|
<recv response="100" rtd="1" optional="true">
|
||||||
|
</recv>
|
||||||
|
|
||||||
|
<recv response="456" rtd="3">
|
||||||
|
</recv>
|
||||||
|
|
||||||
|
<send>
|
||||||
|
<![CDATA[
|
||||||
|
|
||||||
|
ACK sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]:[remote_port] SIP/2.0
|
||||||
|
[last_Via:]
|
||||||
|
From: <sip:[field0 file="caller.csv" line=1]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||||
|
To: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>[peer_tag_param]
|
||||||
|
Call-ID: NGCP%[field4 file="callee.csv" line=1]%///[call_id]
|
||||||
|
CSeq: 2 ACK
|
||||||
|
Max-Forwards: 70
|
||||||
|
Content-Length: 0
|
||||||
|
|
||||||
|
]]>
|
||||||
|
</send>
|
||||||
|
|
||||||
|
|
||||||
|
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200, 500, 1000"/>
|
||||||
|
|
||||||
|
<!-- <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> -->
|
||||||
|
|
||||||
|
</scenario>
|
||||||
|
|
||||||
Loading…
Reference in new issue