parent
0d07aa1aa6
commit
0c1d4e5763
@ -0,0 +1,253 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_CHECK_TEL_URI:
|
||||
- return|ROUTE_CHECK_TEL_URI:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_INVITE:
|
||||
- start|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
|
||||
- start|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
|
||||
- return|ROUTE_CLEAR_CALLEE_DOMAIN_PREF:
|
||||
- return|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
|
||||
- start|ROUTE_FIND_CALLER:
|
||||
- start|ROUTE_CONSUME_CF_HDRS:
|
||||
- start|ROUTE_RESTORE_DEVALIAS_HEADERS:
|
||||
- return|ROUTE_RESTORE_DEVALIAS_HEADERS:
|
||||
- return|ROUTE_CONSUME_CF_HDRS:
|
||||
- return|ROUTE_FIND_CALLER:
|
||||
$var(cf_loop): 1
|
||||
$dlg_var(cf_acc_state): "cft"
|
||||
$avp(cf_loop): [1]
|
||||
- start|ROUTE_LOAD_CALLER_PREF:
|
||||
- start|ROUTE_CLEAR_CALLER_PREF:
|
||||
- return|ROUTE_CLEAR_CALLER_PREF:
|
||||
- start|ROUTE_CHECK_UA:
|
||||
- return|ROUTE_CHECK_UA:
|
||||
- start|ROUTE_LOAD_CALLER_CONTRACT_PREF:
|
||||
- return|ROUTE_LOAD_CALLER_CONTRACT_PREF:
|
||||
- start|ROUTE_LOAD_CALLER_RESELLER_PREF:
|
||||
- return|ROUTE_LOAD_CALLER_RESELLER_PREF:
|
||||
- return|ROUTE_LOAD_CALLER_PREF:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_GET_FORWARDER_CLI:
|
||||
- return|ROUTE_GET_FORWARDER_CLI:
|
||||
- start|ROUTE_CLIR:
|
||||
- return|ROUTE_CLIR:
|
||||
- start|ROUTE_CALLER_BLOCK_CLI:
|
||||
- return|ROUTE_CALLER_BLOCK_CLI:
|
||||
- start|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_FIND_CALLEE:
|
||||
- start|ROUTE_DETECT_LOOP:
|
||||
- return|ROUTE_DETECT_LOOP:
|
||||
- start|ROUTE_CLEAR_CALLEE_PREF:
|
||||
- return|ROUTE_CLEAR_CALLEE_PREF:
|
||||
- start|ROUTE_LOAD_CALLEE_PREF:
|
||||
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
||||
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
||||
- start|ROUTE_LOAD_CALLEE_RESELLER_PREF:
|
||||
- return|ROUTE_LOAD_CALLEE_RESELLER_PREF:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG_BASE:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG_BASE:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG_TOTAL:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG_TOTAL:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG:
|
||||
- start|ROUTE_BLOCK_IN:
|
||||
- return|ROUTE_BLOCK_IN:
|
||||
- return|ROUTE_LOAD_CALLEE_PREF:
|
||||
- start|ROUTE_NCOS_CHECK:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_SET:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_SET:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_SET:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_SET:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_SET:
|
||||
- return|ROUTE_NCOS_CHECK:
|
||||
- start|ROUTE_BLOCK_OUT:
|
||||
- return|ROUTE_BLOCK_OUT:
|
||||
- start|ROUTE_CHECK_PBX:
|
||||
- return|ROUTE_CHECK_PBX:
|
||||
- start|ROUTE_CALLEE_DISPATCH:
|
||||
- start|ROUTE_INVITE_TO_INT:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_CF_CFU:
|
||||
- return|ROUTE_CF_CFU:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_CHECK_LOCATIONS:
|
||||
- start|ROUTE_LOOKUP_SUBSCRIBER_LOCATIONS:
|
||||
- return|ROUTE_LOOKUP_SUBSCRIBER_LOCATIONS:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|ROUTE_SET_CALLER_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_SET_CALLER_DIALOG_TOTAL:
|
||||
- return|ROUTE_SET_CALLER_DIALOG_TOTAL:
|
||||
- start|ROUTE_SET_CALLER_DIALOG_BASE:
|
||||
- return|ROUTE_SET_CALLER_DIALOG_BASE:
|
||||
- return|ROUTE_SET_CALLER_DIALOG:
|
||||
- start|ROUTE_ACC_CALLER:
|
||||
- start|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
||||
- return|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
||||
- return|ROUTE_ACC_CALLER:
|
||||
- start|ROUTE_ACC_CALLEE:
|
||||
- start|ROUTE_SET_ACC_CALLEE_CALL_COUNTERS:
|
||||
- return|ROUTE_SET_ACC_CALLEE_CALL_COUNTERS:
|
||||
- return|ROUTE_ACC_CALLEE:
|
||||
- start|BRANCH_ROUTE_SBC:
|
||||
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
||||
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
||||
- start|ROUTE_LOAD_CALLEE_RESELLER_PREF:
|
||||
- return|ROUTE_LOAD_CALLEE_RESELLER_PREF:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG_BASE:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG_BASE:
|
||||
- start|ROUTE_SET_CALLEE_DIALOG_TOTAL:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG_TOTAL:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG:
|
||||
- start|ROUTE_SET_BRANCH_HDRS:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_SET_BRANCH_HDRS:
|
||||
- start|ROUTE_SET_RUSER:
|
||||
- return|ROUTE_SET_RUSER:
|
||||
- start|ROUTE_BRANCH_ACC_RTP:
|
||||
- return|ROUTE_BRANCH_ACC_RTP:
|
||||
- start|ROUTE_FILTER_PRACK:
|
||||
- return|ROUTE_FILTER_PRACK:
|
||||
- start|ROUTE_PREPARE_SST:
|
||||
- start|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_PREPARE_SST:
|
||||
- start|ROUTE_PREPARE_MOH:
|
||||
- return|ROUTE_PREPARE_MOH:
|
||||
- start|ROUTE_SET_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- start|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_PREPARE_CALLER_CLI:
|
||||
- return|ROUTE_SET_CALLER_CLI:
|
||||
- start|ROUTE_SET_CALLEE:
|
||||
- return|ROUTE_SET_CALLEE:
|
||||
- start|ROUTE_ADD_CALLINFO:
|
||||
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
||||
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
||||
- start|ROUTE_ADD_CALLINFO_CALLEE_PRIMARY:
|
||||
- return|ROUTE_ADD_CALLINFO_CALLEE_PRIMARY:
|
||||
- return|ROUTE_ADD_CALLINFO:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|BRANCH_ROUTE_SBC:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-HIH-Cause: 408'
|
||||
- 'P-NGCP-Sems-Instance: sbc'
|
||||
- 'P-Caller-UUID: [% invite_callforward_timeout_scenarios_test.testuser1001.uuid %]'
|
||||
- 'P-First-Caller-UPN: [% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]'
|
||||
- 'P-First-Caller-NPN: [% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]'
|
||||
- 'P-First-Caller-UPD: invite-callforward-timeout.scenarios.test'
|
||||
- 'P-First-Caller-NPD: invite-callforward-timeout.scenarios.test'
|
||||
- 'P-Acc-Caller-User: testuser1001'
|
||||
- 'P-Acc-Caller-Domain: invite-callforward-timeout.scenarios.test'
|
||||
- 'P-Acc-State: cft'
|
||||
- 'P-From-Peer: 0'
|
||||
- 'P-First-V46-RTP: auto'
|
||||
- 'P-First-RTP: ice_strip_candidates'
|
||||
- 'P-First-RTP-Transport: RTP/AVP'
|
||||
- 'P-First-Caller-CLIR: 0;ignore=0'
|
||||
- 'P-CF-Depth: 1'
|
||||
- 'P-First-Caller-UA-Mode: strip'
|
||||
- 'P-Callee-Account-ID: 0'
|
||||
- 'P-Orig-Callee-Dialed: testuser1001'
|
||||
- 'P-Prev-Caller-UUID: [% invite_callforward_timeout_scenarios_test.testuser1002.uuid %]'
|
||||
- 'P-First-Caller-RTP-Interface: ext'
|
||||
- 'P-First-Caller-RTP-Interface-Source: default'
|
||||
- 'P-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]'
|
||||
- 'P-NGCP-Forward-Info: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;ip=127.0.0.1;port=5080;primary=[% invite_callforward_timeout_scenarios_test.testuser1001.phone_number %]'
|
||||
- 'P-NGCP-Callee-Info: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>;ip=127.0.0.1;port=5080'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:127.0.0.1:5080;transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length:\s+0',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %] SIP/2.0',
|
||||
'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>',
|
||||
'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Caller-UUID: [% invite_callforward_timeout_scenarios_test.testuser1001.uuid %]',
|
||||
'P-CF-Depth: 1',
|
||||
'P-NGCP-Caller-Info: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;ip=127.0.0.1;port=5080;primary=[% invite_callforward_timeout_scenarios_test.testuser1001.phone_number %]',
|
||||
'P-NGCP-Forward-Info: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;ip=127.0.0.1;port=5080;primary=[% invite_callforward_timeout_scenarios_test.testuser1001.phone_number %]',
|
||||
'P-NGCP-Callee-Info: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>;ip=[% scenarios.0.responders.1.ip %];port=[% scenarios.0.responders.1.port %];primary=[% invite_callforward_timeout_scenarios_test.testuser1003.phone_number %]',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'Contact: <sip:127.0.0.1:5080;transport=udp>',
|
||||
'P-Asserted-Identity: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>',
|
||||
'P-Callee-UUID: [% invite_callforward_timeout_scenarios_test.testuser1003.uuid %]',
|
||||
'P-Called-Party-ID: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>',
|
||||
'P-NGCP-Leg-A-Info: .*',
|
||||
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no;hold_alter_b2b_bleg=no;hold_alter_b2b_aleg=no;fast_ack=no;a_park_domain=[% customer_test.id %];b_park_domain=[% customer_test.id %]',
|
||||
'P-App-Name: sbc',
|
||||
'P-D-Uri: sip:lb@127.0.0.1;lr;received=sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];socket=sip:[% server_ip %]:5060',
|
||||
'P-Proxy-Uri: sip:127.0.0.1:5062',
|
||||
]
|
@ -0,0 +1,22 @@
|
||||
---
|
||||
testuser1001@invite-callforward-timeout.scenarios.test:
|
||||
destinations:
|
||||
destinations:
|
||||
- destination: sip:testuser1003@invite-callforward-timeout.scenarios.test
|
||||
priority: 0
|
||||
timeout: 5
|
||||
name: dest1001
|
||||
mappings:
|
||||
cft_ringtimeout: 3
|
||||
cft:
|
||||
- bnumberset: null
|
||||
destinationset: dest1001
|
||||
sourceset: null
|
||||
timeset: null
|
||||
enabled: true
|
||||
cfb: []
|
||||
cfna: []
|
||||
cfu: []
|
||||
cfs: []
|
||||
cfr: []
|
||||
cfo: []
|
@ -0,0 +1,19 @@
|
||||
cdr:
|
||||
- source_user: 'testuser1002'
|
||||
source_domain: 'invite-callforward-timeout.scenarios.test'
|
||||
source_cli: '4311001'
|
||||
destination_user: 'testuser1001'
|
||||
destination_domain: 'invite-callforward-timeout.scenarios.test'
|
||||
destination_user_dialed: 'testuser1001'
|
||||
call_type: 'call'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
||||
- source_user: 'testuser1001'
|
||||
source_domain: 'invite-callforward-timeout.scenarios.test'
|
||||
source_cli: '4311000'
|
||||
destination_user: 'testuser1003'
|
||||
destination_domain: 'invite-callforward-timeout.scenarios.test'
|
||||
destination_user_dialed: 'testuser1003'
|
||||
call_type: 'cft'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
{
|
||||
"@invite-callforward-timeout.scenarios.test": {
|
||||
"nat_sipping": "no"
|
||||
}
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
test_uuid: invite_callforward_timeout
|
||||
domains:
|
||||
invite-callforward-timeout.scenarios.test:
|
||||
reseller_id: 1
|
||||
customers:
|
||||
'customer.test':
|
||||
contacts:
|
||||
- email: "customer.test@spce.test"
|
||||
reseller_id: 1
|
||||
details:
|
||||
status: 'active'
|
||||
type: 'sipaccount'
|
||||
billing_profile_id: 1
|
||||
reseller_id: 1
|
||||
subscribers:
|
||||
invite-callforward-timeout.scenarios.test:
|
||||
testuser1003:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1003
|
||||
testuser1002:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1002
|
||||
testuser1001:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1001
|
||||
testuser1004:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1004
|
||||
testuser1005:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1005
|
||||
scenarios:
|
||||
- ip: 127.126.0.1
|
||||
username: testuser1002
|
||||
domain: invite-callforward-timeout.scenarios.test
|
||||
responders:
|
||||
- ip: 127.1.0.1
|
||||
username: testuser1001
|
||||
domain: invite-callforward-timeout.scenarios.test
|
||||
register: yes
|
||||
active: yes
|
||||
- ip: 127.1.0.3
|
||||
username: testuser1003
|
||||
domain: invite-callforward-timeout.scenarios.test
|
||||
register: yes
|
@ -0,0 +1,189 @@
|
||||
<?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=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" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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" line=0]@[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=0]@[field3 file="callee.csv" line=0]:[remote_port] SIP/2.0
|
||||
[last_Via:]
|
||||
From: <sip:[field0 file="caller.csv" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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" line=0]@[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=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" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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" line=0]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
[field1 file="caller.csv" line=0]
|
||||
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="180" rtd="3">
|
||||
<!--<action>
|
||||
<ereg regexp="branch=(.*)$" search_in="hdr" header="Via:" assign_to="1" />
|
||||
</action>-->
|
||||
</recv>
|
||||
|
||||
<recv response="180" rtd="3">
|
||||
</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" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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" line=0]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="4000"/>
|
||||
|
||||
<!--- <send>
|
||||
<![CDATA[
|
||||
|
||||
CANCEL sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];[$1]
|
||||
From: <sip:4311002@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 2 CANCEL
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
Alessio: [$1]
|
||||
]]>
|
||||
</send
|
||||
|
||||
<recv response="200" optional="false">
|
||||
</recv>
|
||||
|
||||
<recv response="487" rrs="true" optional="false">
|
||||
</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" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>-->
|
||||
|
||||
<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" line=0]@[field2 file="caller.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 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" line=0]@[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,46 @@
|
||||
messages:
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length:\s+0'
|
||||
- - 'SIP/2.0 407 Proxy Authentication Required'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Proxy-Authenticate: Digest realm="invite-callforward-timeout.scenarios.test", nonce="[^"]+"'
|
||||
- 'Server: Sipwise NGCP Proxy'
|
||||
- 'Content-Length:\s+0'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length:\s+0'
|
||||
- - 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length:\s+0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length:\s+0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,SUBSCRIBE,NOTIFY,MESSAGE,PUBLISH'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,SUBSCRIBE,NOTIFY,MESSAGE,PUBLISH'
|
||||
- 'Content-Length:\s+0'
|
@ -0,0 +1,146 @@
|
||||
<?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=2]@[field3 file="callee.csv" line=2] 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" line=1]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[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=2]@[field3 file="callee.csv" line=2]:[remote_port] SIP/2.0
|
||||
[last_Via:]
|
||||
From: <sip:[field0 file="caller.csv" line=1]@[field2 file="caller.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[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=2]@[field3 file="callee.csv" line=2] 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" line=1]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]>
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 2 INVITE
|
||||
Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port]
|
||||
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" 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" line=1]@[field2 file="caller.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
[routes]
|
||||
CSeq: 2 ACK
|
||||
Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port]
|
||||
Max-Forwards: 70
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
<nop>
|
||||
<action>
|
||||
<exec play_pcap_audio="media181sec.pcap"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="1000"/>
|
||||
|
||||
<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" line=1]@[field2 file="caller.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]>[peer_tag_param]
|
||||
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
|
||||
CSeq: 3 BYE
|
||||
Contact: sip:[field0 file="caller.csv" line=1]@[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,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rtd="true">
|
||||
<action>
|
||||
<ereg regexp=".*" search_in="hdr" header="CSeq:" assign_to="1" occurence="1" />
|
||||
<log message="Got INVITE with CSeq header [$1]"/>
|
||||
</action>
|
||||
</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
|
||||
]]>
|
||||
<action>
|
||||
<assignstr assign_to="invitevia" value="[last_Via:]" />
|
||||
<log message="Via of first invite: [$invitevia]"/>
|
||||
</action>
|
||||
</send>
|
||||
|
||||
<recv request="CANCEL" optional="false">
|
||||
<action>
|
||||
<log message="Got CANCEL caused by Kamailio CFT"/>
|
||||
</action>
|
||||
</recv>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 200 OK
|
||||
[last_Via:]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[last_CSeq:]
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 487 Request Terminated
|
||||
[$invitevia]
|
||||
[last_From:]
|
||||
[last_To:];tag=[pid]SIPpTag01[call_number]
|
||||
[last_Call-ID:]
|
||||
CSeq: [$1]
|
||||
Allow: ACK, BYE, CANCEL, INFO, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, PUBLISH, REFER, REGISTER, SUBSCRIBE, UPDATE
|
||||
Allow-Events: conference, refer, talk, hold
|
||||
Supported: 100rel, eventlist, join, replaces, sdp-anat, tdialog
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK"
|
||||
crlf="true">
|
||||
</recv>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
|
@ -0,0 +1,19 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'CANCEL sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ CANCEL'
|
||||
- 'Content-Length:\s+0'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length:\s+0'
|
@ -0,0 +1,78 @@
|
||||
<?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="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,21 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'ACK sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length:\s+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'
|
||||
- 'From: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-callforward-timeout.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_callforward_timeout_scenarios_test.testuser1002.phone_number %]@invite-callforward-timeout.scenarios.test>'
|
||||
- 'Content-Length:\s+0'
|
@ -0,0 +1,31 @@
|
||||
<?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 486 Busy Here
|
||||
[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>
|
||||
|
||||
<recv request="ACK"
|
||||
crlf="true">
|
||||
</recv>
|
||||
|
||||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
||||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
||||
|
||||
</scenario>
|
||||
|
@ -0,0 +1,78 @@
|
||||
<?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="600"/>
|
||||
|
||||
<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>
|
||||
|
Loading…
Reference in new issue