Change-Id: Ic830bfd7e0e9952c04bc75504798608e54168d57changes/56/14556/3
parent
ad3ae5c500
commit
dd25e4bbcb
@ -0,0 +1,35 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- 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_AUTH:
|
||||
- exit|ROUTE_AUTH:
|
||||
sip_in:
|
||||
- '^INVITE sip:testuser1001@'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
- 'CSeq: 1 INVITE'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Type: application/sdp'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 1 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^SIP/2.0 407 Proxy Authentication Required',
|
||||
'CSeq: 1 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
@ -0,0 +1,168 @@
|
||||
# INVITE_OFFLINE scenario
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- 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_AUTH:
|
||||
- start|ROUTE_AUTH_HELPER:
|
||||
$fd: spce.test
|
||||
$var(realm_user): testuser1002
|
||||
$var(realm_domain): spce.test
|
||||
- return|ROUTE_AUTH_HELPER:
|
||||
$avp(orig_acc_caller_user): ['testuser1002']
|
||||
$avp(orig_acc_caller_domain): ['spce.test']
|
||||
- start|ROUTE_ADD_CALLINFO_REPLY:
|
||||
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
||||
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
||||
- return|ROUTE_ADD_CALLINFO_REPLY:
|
||||
- return|ROUTE_AUTH:
|
||||
- return|ROUTE_FIND_CALLER:
|
||||
- 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:
|
||||
- return|ROUTE_LOAD_CALLER_PREF:
|
||||
- start|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_DLG_MANAGE:
|
||||
- start|ROUTE_GET_CALLER_CLI:
|
||||
- return|ROUTE_GET_CALLER_CLI:
|
||||
- start|ROUTE_GET_FORWARDER_CLI:
|
||||
- return|ROUTE_GET_FORWARDER_CLI:
|
||||
- start|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_CLI_ALLOWED:
|
||||
- return|ROUTE_CHECK_USERPROV_CLI:
|
||||
- start|ROUTE_CLIR:
|
||||
- return|ROUTE_CLIR:
|
||||
- start|ROUTE_FIND_CALLEE:
|
||||
- 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_SET_CALLEE_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_SET_CALLEE_DIALOG:
|
||||
$avp(lua_dlg_profile): [
|
||||
"totalaccount:[% customer_test.id %]",
|
||||
"totaluser:[% spce_test.testuser1001.uuid %]",
|
||||
"total",
|
||||
"account:[% customer_test.id %]",
|
||||
"user:[% spce_test.testuser1001.uuid %]"
|
||||
]
|
||||
- start|ROUTE_BLOCK_IN:
|
||||
- return|ROUTE_BLOCK_IN:
|
||||
- start|ROUTE_ORDER_CF_MAP_ID:
|
||||
- return|ROUTE_ORDER_CF_MAP_ID:
|
||||
- return|ROUTE_LOAD_CALLEE_PREF:
|
||||
- start|ROUTE_NCOS_CHECK:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- start|ROUTE_NCOS:
|
||||
- return|ROUTE_NCOS:
|
||||
- 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_CF_CFU:
|
||||
- start|ROUTE_LOAD_CF_MAP:
|
||||
- return|ROUTE_LOAD_CF_MAP:
|
||||
- start|ROUTE_CHECK_CF:
|
||||
- start|ROUTE_CHECK_CF_SOURCES:
|
||||
- return|ROUTE_CHECK_CF_SOURCES:
|
||||
- start|ROUTE_CHECK_CF_PERIOD:
|
||||
- return|ROUTE_CHECK_CF_PERIOD:
|
||||
- return|ROUTE_CHECK_CF:
|
||||
- start|ROUTE_ACC_CF:
|
||||
- start|ROUTE_ACC_CALLER:
|
||||
- return|ROUTE_ACC_CALLER:
|
||||
- start|ROUTE_ACC_CALLEE:
|
||||
- return|ROUTE_ACC_CALLEE:
|
||||
- return|ROUTE_ACC_CF:
|
||||
- start|ROUTE_EXECUTE_CF_LOOP:
|
||||
- start|ROUTE_SET_CALLER_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_SET_CALLER_DIALOG:
|
||||
$avp(lua_dlg_profile): [
|
||||
"accountout:[% customer_test.id %]",
|
||||
"userout:[% spce_test.testuser1002.uuid %]",
|
||||
"account:[% customer_test.id %]",
|
||||
"user:[% spce_test.testuser1002.uuid %]",
|
||||
"totalaccountout:[% customer_test.id %]",
|
||||
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
||||
"totalaccount:[% customer_test.id %]",
|
||||
"totaluser:[% spce_test.testuser1002.uuid %]",
|
||||
"totalaccount:[% customer_test.id %]",
|
||||
"totaluser:[% spce_test.testuser1001.uuid %]",
|
||||
"total",
|
||||
"account:[% customer_test.id %]",
|
||||
"user:[% spce_test.testuser1001.uuid %]"
|
||||
]
|
||||
- start|BRANCH_ROUTE_FWD_LOOP:
|
||||
- start|ROUTE_APPEND_CF_HDRS:
|
||||
- return|ROUTE_APPEND_CF_HDRS:
|
||||
- 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:
|
||||
- return|BRANCH_ROUTE_FWD_LOOP:
|
||||
# branch ??
|
||||
- return|BRANCH_ROUTE_FWD_LOOP:
|
||||
- exit|ROUTE_EXECUTE_CF_LOOP:
|
||||
sip_in:
|
||||
- '^INVITE'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- 'CSeq: 2 INVITE'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Proxy-Authorization: Digest username="testuser1002"'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^SIP/2.0 101 Connecting',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^INVITE sip:conf=4311001@conference.local SIP/2.0',
|
||||
'CSeq: 2 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@',
|
||||
'Content-Type: application/sdp',
|
||||
'P-Caller-UUID: \w+',
|
||||
'P-First-Caller-UPN: 4311002',
|
||||
'P-First-Caller-NPN: 4311002',
|
||||
'P-Acc-Caller-User: testuser1001',
|
||||
'P-Acc-State: cfu',
|
||||
'P-App-Param: ;profile=ngcp_cf',
|
||||
'P-App-Name: sbc'
|
||||
]
|
||||
@ -0,0 +1,127 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- 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:
|
||||
- return|ROUTE_CONSUME_CF_HDRS:
|
||||
- return|ROUTE_FIND_CALLER:
|
||||
- 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:
|
||||
- return|ROUTE_LOAD_CALLER_PREF:
|
||||
- start|ROUTE_GET_FORWARDER_CLI:
|
||||
- return|ROUTE_GET_FORWARDER_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_CLIR:
|
||||
- return|ROUTE_CLIR:
|
||||
- start|ROUTE_FIND_CALLEE:
|
||||
- start|ROUTE_CHECK_PBX:
|
||||
- return|ROUTE_CHECK_PBX:
|
||||
- start|ROUTE_TO_APPSRV:
|
||||
- start|ROUTE_LOAD_APPSRV:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_LOAD_APPSRV:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
$avp(lua_dlg_profile): ["peer:appsrv", "local"]
|
||||
- start|ROUTE_SET_CALLER_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_SET_CALLER_DIALOG:
|
||||
$avp(lua_dlg_profile): [
|
||||
"totalaccountout:[% customer_test.id %]",
|
||||
"totaluserout:[% spce_test.testuser1001.uuid %]",
|
||||
"totalaccount:[% customer_test.id %]",
|
||||
"totaluser:[% spce_test.testuser1001.uuid %]",
|
||||
"peer:appsrv",
|
||||
"local"
|
||||
]
|
||||
- start|ROUTE_ACC_CALLER:
|
||||
- return|ROUTE_ACC_CALLER:
|
||||
- start|ROUTE_ACC_CALLEE:
|
||||
- return|ROUTE_ACC_CALLEE:
|
||||
- start|BRANCH_ROUTE_NO_SBC:
|
||||
- start|ROUTE_BRANCH_ACC_RTP:
|
||||
- return|ROUTE_BRANCH_ACC_RTP:
|
||||
- start|ROUTE_SET_BRANCH_HDRS:
|
||||
- return|ROUTE_SET_BRANCH_HDRS:
|
||||
- start|ROUTE_FILTER_PRACK:
|
||||
- return|ROUTE_FILTER_PRACK:
|
||||
- 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:
|
||||
- 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:
|
||||
- return|BRANCH_ROUTE_NO_SBC:
|
||||
- return|BRANCH_ROUTE_NO_SBC:
|
||||
- exit|ROUTE_OUTBOUND:
|
||||
$avp(lua_dlg_profile): [
|
||||
"totalaccountout:[% customer_test.id %]",
|
||||
"totaluserout:[% spce_test.testuser1001.uuid %]",
|
||||
"totalaccount:[% customer_test.id %]",
|
||||
"totaluser:[% spce_test.testuser1001.uuid %]",
|
||||
"peer:appsrv",
|
||||
"local"
|
||||
]
|
||||
sip_in:
|
||||
- '^INVITE sip:conf=4311001@conference.local SIP/2.0'
|
||||
- 'Contact: <sip:127.0.0.1:5080(;transport=udp)?>'
|
||||
- 'CSeq: 10 INVITE'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'P-Caller-UUID: [% spce_test.testuser1001.uuid %]'
|
||||
- 'P-First-Caller-UPN: 4311002'
|
||||
- 'P-First-Caller-NPN: 4311002'
|
||||
- 'P-Acc-Caller-User: testuser1001'
|
||||
- 'P-Acc-State: cfu'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 10 INVITE',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^INVITE sip:conf=4311001@conference.local SIP/2.0',
|
||||
'CSeq: 10 INVITE',
|
||||
'From: <sip:4311002@',
|
||||
'To: <sip:testuser1001@',
|
||||
'Contact: <sip:127.0.0.1:5080(;transport=udp)?>',
|
||||
'Content-Type: application/sdp'
|
||||
]
|
||||
@ -0,0 +1,31 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- start|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- return|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- return|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- 'CSeq: 2 ACK'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
sip_out:
|
||||
- [
|
||||
'^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'CSeq: 2 ACK',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
@ -0,0 +1,39 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- start|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- return|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- exit|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^UPDATE sip:127.0.0.1:5080(;prxroute=1)?(;transport=udp)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- 'CSeq: 3 UPDATE'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 3 UPDATE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^UPDATE sip:127.0.0.1:5080(;prxroute=1)?(;transport=udp)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'CSeq: 3 UPDATE',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
@ -0,0 +1,33 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- exit|ROUTE_PRX_REQUEST:
|
||||
sip_in:
|
||||
[% IF PRO %]
|
||||
- '^UPDATE sip:conf=4311001@127.0.0.1:5080 SIP/2.0'
|
||||
[% ELSE %]
|
||||
- '^UPDATE sip:127.0.0.1:5080;transport=udp SIP/2.0'
|
||||
[% END %]
|
||||
- 'CSeq: 11 UPDATE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 11 UPDATE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 11 UPDATE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
@ -0,0 +1,41 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- 'start|dialog:end':
|
||||
- 'return|dialog:end':
|
||||
$avp(lua_dlg_profile): None
|
||||
- 'return|dialog:end':
|
||||
- start|ROUTE_STOP_RTPPROXY:
|
||||
- return|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- exit|ROUTE_OUTBOUND:
|
||||
sip_in:
|
||||
- '^BYE sip:127.0.0.1:5080(;prxroute=1)?(;transport=udp)? SIP/2.0'
|
||||
- 'Contact: sip:testuser1002@'
|
||||
- 'CSeq: 4 BYE'
|
||||
- 'Max-Forwards: 69'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 4 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^BYE sip:127.0.0.1:5080(;prxroute=1)?(;transport=udp)? SIP/2.0',
|
||||
'Contact: sip:testuser1002@',
|
||||
'CSeq: 4 BYE',
|
||||
'Max-Forwards: 68',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
@ -0,0 +1,62 @@
|
||||
flow:
|
||||
[% IF PRO %]
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
[% ELSE %]
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|dialog:end:
|
||||
- return|dialog:end:
|
||||
$avp(lua_dlg_profile): None
|
||||
- return|dialog:end:
|
||||
- start|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- exit|ROUTE_OUTBOUND:
|
||||
[% END %]
|
||||
sip_in:
|
||||
[% IF PRO %]
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 4 BYE'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'Content-Length: 0'
|
||||
- 'To: <sip:testuser1001@'
|
||||
[% ELSE %]
|
||||
- '^BYE sip:127.0.0.1:5080;transport=udp SIP/2.0'
|
||||
- 'CSeq: 12 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
[% END %]
|
||||
sip_out:
|
||||
[% IF PRO %]
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 4 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
[% ELSE %]
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 12 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^BYE sip:127.0.0.1:5080;transport=udp SIP/2.0',
|
||||
'CSeq: 12 BYE',
|
||||
'Max-Forwards: 69',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:4311002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
[% END %]
|
||||
@ -0,0 +1,62 @@
|
||||
flow:
|
||||
[% IF PRO %]
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_NET_INFO:
|
||||
- return|ROUTE_NET_INFO:
|
||||
- start|ROUTE_PRX_REQUEST:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|dialog:end:
|
||||
- return|dialog:end:
|
||||
$avp(lua_dlg_profile): None
|
||||
- return|dialog:end:
|
||||
- start|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- exit|ROUTE_OUTBOUND:
|
||||
[% ELSE %]
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- exit|REPLY_ROUTE_NAT:
|
||||
[% END %]
|
||||
sip_in:
|
||||
[% IF PRO %]
|
||||
- '^BYE sip:conf=4311001@127.0.0.1:5080 SIP/2.0'
|
||||
- 'CSeq: 12 BYE'
|
||||
- 'Content-Length: 0'
|
||||
- 'From: <sip:testuser1002@'
|
||||
- 'To: <sip:testuser1001@'
|
||||
[% ELSE %]
|
||||
- '^SIP/2.0 200 OK'
|
||||
- 'CSeq: 12 BYE'
|
||||
- 'From: <sip:4311002@'
|
||||
- 'Content-Length: 0'
|
||||
- 'To: <sip:testuser1001@'
|
||||
[% END %]
|
||||
sip_out:
|
||||
[% IF PRO %]
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'CSeq: 12 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
- [
|
||||
'^BYE sip:conf=4311001@127.0.0.1:5080 SIP/2.0',
|
||||
'CSeq: 12 BYE',
|
||||
'Max-Forwards: 70',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:4311002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
[% ELSE %]
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'CSeq: 12 BYE',
|
||||
'Content-Length: 0',
|
||||
'From: <sip:testuser1002@',
|
||||
'To: <sip:testuser1001@'
|
||||
]
|
||||
[% END %]
|
||||
@ -0,0 +1,7 @@
|
||||
---
|
||||
testuser1001@spce.test:
|
||||
cfu:
|
||||
destinations:
|
||||
- destination: conference
|
||||
priority: 0
|
||||
timeout: 2
|
||||
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
{
|
||||
"@spce.test": {
|
||||
"sound_set": "default_soundset"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
test_uuid: invite_conference_update
|
||||
domains:
|
||||
'spce.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:
|
||||
spce.test:
|
||||
testuser1001:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1001
|
||||
testuser1002:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1002
|
||||
scenarios:
|
||||
- ip: 127.126.0.1
|
||||
username: testuser1002
|
||||
domain: spce.test
|
||||
responders:
|
||||
- ip: 127.1.0.1
|
||||
username: testuser1001
|
||||
domain: spce.test
|
||||
register: no
|
||||
active: no
|
||||
@ -0,0 +1,172 @@
|
||||
<?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"]@[field2 file="caller.csv"]>;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"]@[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"]@[field2 file="caller.csv"]>;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"]@[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"]@[field2 file="caller.csv"]>;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"]@[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="102" 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:[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"]@[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="500"/>
|
||||
|
||||
<send start_rtd="4">
|
||||
<![CDATA[
|
||||
|
||||
UPDATE [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:[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 UPDATE
|
||||
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>
|
||||
|
||||
<send start_rtd="5">
|
||||
<![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:[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: 4 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="5">
|
||||
</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,22 @@
|
||||
soundsets:
|
||||
'default_soundset':
|
||||
reseller_id: 1
|
||||
sounds:
|
||||
conference_first:
|
||||
filename: sounds/conference_first.wav
|
||||
loopplay: 'false'
|
||||
conference_greeting:
|
||||
filename: sounds/conference_greeting.wav
|
||||
loopplay: 'false'
|
||||
conference_join:
|
||||
filename: sounds/conference_join.wav
|
||||
loopplay: 'false'
|
||||
conference_joined:
|
||||
filename: sounds/conference_joined.wav
|
||||
loopplay: 'false'
|
||||
conference_leave:
|
||||
filename: sounds/conference_leave.wav
|
||||
loopplay: 'false'
|
||||
conference_waiting_music:
|
||||
filename: sounds/conference_waiting_music.wav
|
||||
loopplay: 'false'
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue