* Adding tests for blind transfer (caller) * Adding tests for blind transfer (callee) Change-Id: Ia07993d5bebe8aee1fa203496d3f2b68a66261e4mr10.5.1
parent
fabaf3f7f9
commit
4c39965785
@ -1,7 +1,13 @@
|
||||
---
|
||||
b2b:
|
||||
sbc:
|
||||
xfer:
|
||||
blind_immediate_release: yes
|
||||
enable: yes
|
||||
kamailio:
|
||||
proxy:
|
||||
allow_refer_method: 'yes'
|
||||
allow_refer_method: yes
|
||||
presence:
|
||||
enable: 'yes'
|
||||
enable: yes
|
||||
pbx:
|
||||
enable: 'yes'
|
||||
enable: yes
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
cdr:
|
||||
- source_user: 'testuser1002'
|
||||
source_domain: 'invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test'
|
||||
source_cli: '[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]'
|
||||
destination_user: 'testuser1003'
|
||||
destination_domain: 'invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test'
|
||||
destination_user_dialed: '[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.phone_number %]'
|
||||
destination_user_in: '[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.phone_number %]'
|
||||
call_type: 'call'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
||||
@ -0,0 +1 @@
|
||||
../media181sec.pcap
|
||||
@ -0,0 +1,54 @@
|
||||
|
||||
test_uuid: invite_xfer_blind_callee_immediat_rel_immediat_rel
|
||||
domains:
|
||||
invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test:
|
||||
reseller_id: 1
|
||||
customers:
|
||||
'invite_xfer_blind_callee_immediat_rel.customerpbx.test':
|
||||
contacts:
|
||||
- email: "invite_xfer_blind_callee_immediat_rel.customerpbx.test@spce.test"
|
||||
reseller_id: 1
|
||||
details:
|
||||
status: 'active'
|
||||
type: 'pbxaccount'
|
||||
billing_profile_id: 1
|
||||
reseller_id: 1
|
||||
subscribers:
|
||||
invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test:
|
||||
testuser1002:
|
||||
customer: 'invite_xfer_blind_callee_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1002
|
||||
is_pbx_pilot: 1
|
||||
pbx_extension: 1002
|
||||
testuser1003:
|
||||
customer: 'invite_xfer_blind_callee_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1003
|
||||
is_pbx_pilot: 0
|
||||
pbx_extension: 1003
|
||||
testuser1004:
|
||||
customer: 'invite_xfer_blind_callee_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1004
|
||||
is_pbx_pilot: 0
|
||||
pbx_extension: 1004
|
||||
scenarios:
|
||||
- ip: 127.126.0.1
|
||||
username: testuser1002
|
||||
domain: invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test
|
||||
responders:
|
||||
- ip: 127.1.0.1
|
||||
username: testuser1003
|
||||
domain: invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test
|
||||
register: yes
|
||||
- ip: 127.1.0.2
|
||||
username: testuser1004
|
||||
domain: invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test
|
||||
register: yes
|
||||
@ -0,0 +1,222 @@
|
||||
<?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:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 1 INVITE
|
||||
Contact: sip:[field0 file="caller.csv"]@[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:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]:[remote_port] SIP/2.0
|
||||
[last_Via:]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 1 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send start_rtd="3">
|
||||
<![CDATA[
|
||||
|
||||
INVITE sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 2 INVITE
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
[field1 file="caller.csv"]
|
||||
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" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="180" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="183" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" rrs="true" rtd="3">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
ACK [next_url] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
[routes]
|
||||
CSeq: 2 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<!-- CALL IS UP -->
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Type: application/sdp
|
||||
Content-Length: [len]
|
||||
|
||||
v=0
|
||||
o=user1 53655766 2353687638 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
|
||||
a=recvonly
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK" crlf="true">
|
||||
</recv>
|
||||
|
||||
<!-- CALLER IS ON HOLD -->
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Type: application/sdp
|
||||
Content-Length: [len]
|
||||
|
||||
v=0
|
||||
o=user1 53655767 2353687639 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
|
||||
a=sendrecv
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK" crlf="true">
|
||||
</recv>
|
||||
|
||||
<!-- CALLER IS OFF HOLD -->
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="1500"/>
|
||||
|
||||
<!-- SEND BYE -->
|
||||
|
||||
<send start_rtd="4">
|
||||
<![CDATA[
|
||||
|
||||
BYE [next_url] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 3 BYE
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
[routes]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="100" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" crlf="true" rtd="4">
|
||||
</recv>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200, 500, 1000"/>
|
||||
|
||||
<!-- <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> -->
|
||||
|
||||
</scenario>
|
||||
|
||||
@ -0,0 +1,120 @@
|
||||
messages:
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 407 Proxy Authentication Required'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Proxy-Authenticate: Digest realm="invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test", nonce="[^"]+"'
|
||||
- 'Server: Sipwise NGCP Proxy'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 180 Ringing'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'INVITE sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendonly'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.ip %]:[% scenarios.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'INVITE sip:[% scenarios.0.ip %]:[% scenarios.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.ip %]:[% scenarios.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;vsf=[^;]+;rtpprx=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 180 Ringing
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK" crlf="true" rtd="true" rrs="true">
|
||||
<action>
|
||||
<ereg regexp=".*" search_in="hdr" header="From:" assign_to="1" />
|
||||
<ereg regexp=".*" search_in="hdr" header="To:" assign_to="2" />
|
||||
<ereg regexp="Contact: <(.*)>" search_in="msg" assign_to="3,4" />
|
||||
</action>
|
||||
</recv>
|
||||
|
||||
<!-- CALL IS UP -->
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<!-- PUT CALLER ON HOLD -->
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
INVITE [$4] SIP/2.0
|
||||
[last_Via:]
|
||||
From: [$2]
|
||||
To: [$1]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 5 INVITE
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Type: application/sdp
|
||||
Content-Length: [len]
|
||||
Test: [$3]
|
||||
|
||||
v=0
|
||||
o=user1 53655766 2353687638 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
|
||||
a=sendonly
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="100" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" rtd="true" rrs="true" rtd="3">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
ACK [next_url] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 5 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<!-- XFER START -->
|
||||
|
||||
<send start_rtd="4" start_rtd="5">
|
||||
|
||||
<![CDATA[
|
||||
|
||||
REFER [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 6 REFER
|
||||
Contact: sip:[field0 file="callee.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Refer-To: <sip:[field5 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
|
||||
Referred-By: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="202" rrs="true" rtd="4">
|
||||
</recv>
|
||||
|
||||
<!-- XFER COMPLETED -->
|
||||
|
||||
<recv request="BYE" rrs="true" rtd="5">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: [len]
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
@ -0,0 +1,73 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=recvonly'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'SIP/2.0 202 Accepted'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;xfer=yes;ice_caller=strip;ice_callee=strip;aset=\d+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ REFER'
|
||||
- 'Content-Length: 0'
|
||||
- - 'BYE sip:[% scenarios.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 180 Ringing
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK"
|
||||
crlf="true">
|
||||
</recv>
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK"
|
||||
crlf="true">
|
||||
</recv>
|
||||
|
||||
<recv request="BYE">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: [len]
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
|
||||
@ -0,0 +1,70 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'BYE sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_callee_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-callee-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Length: 0'
|
||||
@ -0,0 +1,11 @@
|
||||
cdr:
|
||||
- source_user: 'testuser1002'
|
||||
source_domain: 'invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test'
|
||||
source_cli: '[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]'
|
||||
destination_user: 'testuser1003'
|
||||
destination_domain: 'invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test'
|
||||
destination_user_dialed: '[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.phone_number %]'
|
||||
destination_user_in: '[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.phone_number %]'
|
||||
call_type: 'call'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
||||
@ -0,0 +1 @@
|
||||
../media181sec.pcap
|
||||
@ -0,0 +1,53 @@
|
||||
test_uuid: invite_xfer_blind_caller_immediat_rel_immediat_rel
|
||||
domains:
|
||||
invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test:
|
||||
reseller_id: 1
|
||||
customers:
|
||||
'invite_xfer_blind_caller_immediat_rel.customerpbx.test':
|
||||
contacts:
|
||||
- email: "invite_xfer_blind_caller_immediat_rel.customerpbx.test@spce.test"
|
||||
reseller_id: 1
|
||||
details:
|
||||
status: 'active'
|
||||
type: 'pbxaccount'
|
||||
billing_profile_id: 1
|
||||
reseller_id: 1
|
||||
subscribers:
|
||||
invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test:
|
||||
testuser1002:
|
||||
customer: 'invite_xfer_blind_caller_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1002
|
||||
is_pbx_pilot: 1
|
||||
pbx_extension: 1002
|
||||
testuser1003:
|
||||
customer: 'invite_xfer_blind_caller_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1003
|
||||
is_pbx_pilot: 0
|
||||
pbx_extension: 1003
|
||||
testuser1004:
|
||||
customer: 'invite_xfer_blind_caller_immediat_rel.customerpbx.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1004
|
||||
is_pbx_pilot: 0
|
||||
pbx_extension: 1004
|
||||
scenarios:
|
||||
- ip: 127.126.0.1
|
||||
username: testuser1002
|
||||
domain: invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test
|
||||
responders:
|
||||
- ip: 127.1.0.1
|
||||
username: testuser1003
|
||||
domain: invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test
|
||||
register: yes
|
||||
- ip: 127.1.0.2
|
||||
username: testuser1004
|
||||
domain: invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test
|
||||
register: yes
|
||||
@ -0,0 +1,225 @@
|
||||
<?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:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 1 INVITE
|
||||
Contact: sip:[field0 file="caller.csv"]@[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:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]:[remote_port] SIP/2.0
|
||||
[last_Via:]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 1 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send start_rtd="3">
|
||||
<![CDATA[
|
||||
|
||||
INVITE sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 2 INVITE
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
[field1 file="caller.csv"]
|
||||
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" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="180" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="183" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" rrs="true" rtd="3">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
ACK [next_url] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field5 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
[routes]
|
||||
CSeq: 2 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<!-- CALL IS UP -->
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="1000"/>
|
||||
|
||||
<!-- PUT CALLEE ON HOLD -->
|
||||
|
||||
<send start_rtd="4">
|
||||
<![CDATA[
|
||||
|
||||
INVITE [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
CSeq: 3 INVITE
|
||||
[routes]
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
[field1 file="caller.csv"]
|
||||
Content-Type: application/sdp
|
||||
Content-Length: [len]
|
||||
|
||||
v=0
|
||||
o=user1 53655766 2353687638 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
|
||||
a=sendonly
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="100" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" rrs="true" rtd="4">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
ACK [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 3 ACK
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<!-- XFER START -->
|
||||
|
||||
<send start_rtd="5" start_rtd="6">
|
||||
<![CDATA[
|
||||
|
||||
REFER [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 4 REFER
|
||||
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Refer-To: <sip:[field5 file="callee.csv" line=1]@[field3 file="callee.csv" line=0]>
|
||||
Referred-By: <sip:[field0 file="caller.csv"]@[field2 file="caller.csv"]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="202" rrs="true" rtd="5">
|
||||
</recv>
|
||||
|
||||
<!-- XFER COMPLETED -->
|
||||
|
||||
<recv request="BYE" rrs="true" rtd="6">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: [len]
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200, 500, 1000"/>
|
||||
|
||||
<!-- <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> -->
|
||||
|
||||
</scenario>
|
||||
|
||||
@ -0,0 +1,96 @@
|
||||
messages:
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 407 Proxy Authentication Required'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Proxy-Authenticate: Digest realm="invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test", nonce="[^"]+"'
|
||||
- 'Server: Sipwise NGCP Proxy'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 180 Ringing'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=recvonly'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'SIP/2.0 202 Accepted'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;vsf=[^;]+;rtpprx=yes;xfer=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ REFER'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- - 'BYE sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;vsf=[^;]+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-Asserted-Identity: "[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]" <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1003.pbx_extension %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 180 Ringing
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK" crlf="true" rtd="true" rrs="true">
|
||||
</recv>
|
||||
|
||||
<!-- CALL IS UP -->
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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
|
||||
a=recvonly
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK" crlf="true" rtd="true" rrs="true">
|
||||
</recv>
|
||||
|
||||
<!-- CALLEE IS ON HOLD -->
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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
|
||||
a=sendrecv
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK" crlf="true" rtd="true" rrs="true">
|
||||
<action>
|
||||
<ereg regexp=".*" search_in="hdr" header="From:" assign_to="1" />
|
||||
<ereg regexp=".*" search_in="hdr" header="To:" assign_to="2" />
|
||||
</action>
|
||||
</recv>
|
||||
|
||||
<!-- CALLEE IS OFF HOLD -->
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="1500"/>
|
||||
|
||||
<!-- SEND BYE -->
|
||||
|
||||
<send start_rtd="4">
|
||||
<![CDATA[
|
||||
|
||||
BYE [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
From: [$2]
|
||||
To: [$1]
|
||||
[last_Call-ID:]
|
||||
CSeq: 10 BYE
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
[routes]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv response="100" optional="true">
|
||||
</recv>
|
||||
|
||||
<recv response="200" crlf="true" rtd="4">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
ACK [next_url] SIP/2.0
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[routes]
|
||||
CSeq: 10 ACK
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
[routes]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
@ -0,0 +1,98 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'INVITE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendonly'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'INVITE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 180 Ringing
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK"
|
||||
crlf="true">
|
||||
</recv>
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
[last_Record-Route:]
|
||||
[last_Route:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
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 request="ACK" crlf="true">
|
||||
</recv>
|
||||
|
||||
<recv request="BYE">
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: [len]
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
|
||||
@ -0,0 +1,70 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %] SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 [% server_ip %]'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'ACK sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;rtpprx=yes;ice_callee=strip;ice_caller=strip;aset=\d+>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'BYE sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;rtpprx=yes>'
|
||||
- 'From: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_xfer_blind_caller_immediat_rel_scenarios_pbx_test.testuser1002.phone_number %]@invite-xfer-blind-caller-immediat-rel.scenarios-pbx.test>'
|
||||
- 'Content-Length: 0'
|
||||
Loading…
Reference in new issue