New scenario testing new location mapping forward feature Change-Id: Ib7ef486c4799c24053a2087f60d1f0b566975126mr10.4
parent
04f8874aa5
commit
c5b2ff5d9b
@ -0,0 +1,54 @@
|
||||
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_REG_REQUEST:
|
||||
- start|ROUTE_REG_HANDLE:
|
||||
- start|ROUTE_AUTH:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'REGISTER sip:testuser1001@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ REGISTER'
|
||||
- 'Contact: sip:testuser1001@10.20.29.2:51603;transport=UDP'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
- 'P-Sock-Info: udp:[% server_ip %]:5060'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-NGCP-Src-Nat: 1'
|
||||
- 'Path: <sip:lb@127.0.0.1;lr;received=sip:10.20.29.2:51603;socket=sip:[% server_ip %]:5060>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ REGISTER',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'SIP/2.0 401 Unauthorized',
|
||||
'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ REGISTER',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'WWW-Authenticate: Digest realm="invite-locmap-forward.scenarios.test", nonce=".+"',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,67 @@
|
||||
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_REG_REQUEST:
|
||||
- start|ROUTE_REG_HANDLE:
|
||||
- start|ROUTE_AUTH:
|
||||
- start|ROUTE_AUTH_HELPER:
|
||||
- return|ROUTE_AUTH_HELPER:
|
||||
- start|ROUTE_ADD_CALLINFO_REPLY:
|
||||
- return|ROUTE_ADD_CALLINFO_REPLY:
|
||||
- return|ROUTE_AUTH:
|
||||
- start|ROUTE_PREFERENCES:
|
||||
- start|ROUTE_CHECK_UA:
|
||||
- return|ROUTE_CHECK_UA:
|
||||
- return|ROUTE_PREFERENCES:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'REGISTER sip:testuser1001@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ REGISTER'
|
||||
- 'Authorization: Digest username="testuser1001",realm="invite-locmap-forward.scenarios.test",uri="sip:[% server_ip %]:5060",nonce=".+",response=".+",algorithm=MD5'
|
||||
- 'Contact: sip:testuser1001@10.20.29.2:51603;transport=UDP'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
- 'P-Sock-Info: udp:[% server_ip %]:5060'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-NGCP-Src-Nat: 1'
|
||||
- 'Path: <sip:lb@127.0.0.1;lr;received=sip:10.20.29.2:51603;socket=sip:[% server_ip %]:5060>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ REGISTER',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ REGISTER',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'P-NGCP-Authorization: testuser1001@invite-locmap-forward.scenarios.test',
|
||||
'P-NGCP-Authorized: 1',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'Contact: <sip:testuser1001@10.20.29.2:51603>;expires=\d+;received="sip:10.20.29.2:51603"',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,61 @@
|
||||
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_AUTH:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:testuser1001@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
- 'P-Sock-Info: udp:[% server_ip %]:5060'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-NGCP-Src-Nat: 1'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'SIP/2.0 407 Proxy Authentication Required',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Proxy-Authenticate: Digest realm="invite-locmap-forward.scenarios.test", nonce=".+"',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,9 @@
|
||||
flow:
|
||||
- start|sl:filtered-ack:
|
||||
sip_in:
|
||||
- 'ACK sip:testuser1001@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,272 @@
|
||||
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_AUTH:
|
||||
- start|ROUTE_AUTH_HELPER:
|
||||
- return|ROUTE_AUTH_HELPER:
|
||||
- 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_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_GET_CALLER_CLI:
|
||||
- return|ROUTE_GET_CALLER_CLI:
|
||||
- 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_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:
|
||||
- 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:
|
||||
- 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_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:
|
||||
- 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|ROUTE_ADD_AOC_HEADER:
|
||||
- return|ROUTE_ADD_AOC_HEADER:
|
||||
- start|BRANCH_ROUTE_SBC:
|
||||
- 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:
|
||||
- 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|ROUTE_APPEND_CF_HDRS:
|
||||
- start|ROUTE_ADD_DEVALIAS_HEADERS:
|
||||
- return|ROUTE_ADD_DEVALIAS_HEADERS:
|
||||
- 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_SBC:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:testuser1001@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>'
|
||||
- 'Proxy-Authorization: Digest username="testuser1000",realm="invite-locmap-forward.scenarios.test",uri="sip:[% server_ip %]:5060",nonce=".+",response=".+",algorithm=MD5'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
- 'P-Sock-Info: udp:[% server_ip %]:5060'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-NGCP-Src-Nat: 1'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'SIP/2.0 101 Connecting',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'P-NGCP-Authorization: testuser1000@invite-locmap-forward.scenarios.test',
|
||||
'P-NGCP-Authorized: 1',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:testuser1001@10.20.29.2:51603 SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'P-LB-Uptime: \d+',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]',
|
||||
'P-Callee-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'P-Called-Party-ID: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'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=\d+',
|
||||
'P-App-Name: sbc',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000',
|
||||
'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51603;primary=4311001',
|
||||
'P-D-Uri: sip:lb@127.0.0.1;lr;received=sip:10.20.29.2:51603;socket=sip:[% server_ip %]:5060',
|
||||
'P-Proxy-Uri: sip:127.0.0.1:5062',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:testuser1002@invite-locmap-forward.scenarios.test SIP/2.0',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'P-LB-Uptime: \d+',
|
||||
'P-App-Param: ;profile=ngcp_cf',
|
||||
'P-App-Name: sbc',
|
||||
'P-D-Uri: sip:127.0.0.1:5062',
|
||||
'P-NGCP-Sems-Instance: sbc',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'P-First-Caller-UPN: 4311000',
|
||||
'P-First-Caller-NPN: 4311000',
|
||||
'P-First-Caller-UPD: invite-locmap-forward.scenarios.test',
|
||||
'P-First-Caller-NPD: invite-locmap-forward.scenarios.test',
|
||||
'P-Acc-Caller-User: testuser1001',
|
||||
'P-Acc-Caller-Domain: invite-locmap-forward.scenarios.test',
|
||||
'P-Acc-State: cfu',
|
||||
'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',
|
||||
'P-First-Caller-UA-Mode: strip',
|
||||
'P-Callee-Ext-Subs-ID: ',
|
||||
'P-Callee-Ext-Contr-ID: ',
|
||||
'P-Callee-Account-ID: \d+',
|
||||
'P-Orig-Callee-Dialed: testuser1001',
|
||||
'P-Prev-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]',
|
||||
'P-First-Caller-RTP-Interface: ext',
|
||||
'P-First-Caller-RTP-Interface-Source: default',
|
||||
'P-NGCP-Alias-DevId: 0',
|
||||
'P-CF-LocMappingForward: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000',
|
||||
'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=4311001',
|
||||
]
|
||||
@ -0,0 +1,21 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,54 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_LEG_B:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:testuser1001@10.20.29.2:51603 SIP/2.0'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>'
|
||||
- 'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]'
|
||||
- 'P-Callee-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]'
|
||||
- 'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000'
|
||||
- 'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51603;primary=4311001'
|
||||
- 'P-D-Uri: sip:lb@127.0.0.1;lr;received=sip:10.20.29.2:51603;socket=sip:[% server_ip %]:5060'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:testuser1001@10.20.29.2:51603 SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-LB-Uptime: \d+',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]',
|
||||
'P-Callee-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000',
|
||||
'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51603;primary=4311001',
|
||||
'P-D-Uri: sip:lb@127.0.0.1;lr;received=sip:10.20.29.2:51603;socket=sip:[% server_ip %]:5060',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
]
|
||||
@ -0,0 +1,17 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_LEG_B:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,39 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_LEG_B:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE, MESSAGE'
|
||||
- 'Call-Info: <sip:invite-locmap-forward.scenarios.test>;appearance-index=1'
|
||||
- 'Allow-Events: talk,hold,conference,refer,check-sync'
|
||||
- 'Contact: <sip:10.20.29.2:51603;transport=UDP>'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 180 Ringing',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE, MESSAGE',
|
||||
'Call-Info: <sip:invite-locmap-forward.scenarios.test>;appearance-index=1',
|
||||
'Allow-Events: talk,hold,conference,refer,check-sync',
|
||||
'Contact: <sip:10.20.29.2:51603;transport=UDP>',
|
||||
'Content-Length: 0',
|
||||
'P-NGCP-Src-Ip: 10.20.29.2',
|
||||
'P-NGCP-Src-Port: \d+',
|
||||
'P-NGCP-Src-Proto: udp',
|
||||
'P-NGCP-Src-Af: 4',
|
||||
]
|
||||
@ -0,0 +1,35 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE, MESSAGE'
|
||||
- 'Call-Info: <sip:invite-locmap-forward.scenarios.test>;appearance-index=1'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 180 Ringing',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE, MESSAGE',
|
||||
'Call-Info: <sip:invite-locmap-forward.scenarios.test>;appearance-index=1',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'Content-Length: 0',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
]
|
||||
@ -0,0 +1,184 @@
|
||||
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:
|
||||
- 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_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_INVITE_TO_EXT:
|
||||
- start|ROUTE_PSTN:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_DLG_MANAGE:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- start|ROUTE_PSTN_SELECT_PEER:
|
||||
- start|ROUTE_CHECK_PEER_PROBE:
|
||||
- return|ROUTE_CHECK_PEER_PROBE:
|
||||
- start|ROUTE_CLEAR_PEER_OUT_PREF:
|
||||
- return|ROUTE_CLEAR_PEER_OUT_PREF:
|
||||
- start|ROUTE_LOAD_PEER_OUT_PREF:
|
||||
- return|ROUTE_LOAD_PEER_OUT_PREF:
|
||||
- return|ROUTE_PSTN_SELECT_PEER:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|ROUTE_SET_CALLER_DIALOG:
|
||||
- start|ROUTE_CNT_DLG_CHECK:
|
||||
- return|ROUTE_CNT_DLG_CHECK:
|
||||
- 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_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:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:testuser1002@invite-locmap-forward.scenarios.test SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-NGCP-Sems-Instance: sbc'
|
||||
- 'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]'
|
||||
- 'P-First-Caller-UPN: 4311000'
|
||||
- 'P-First-Caller-NPN: 4311000'
|
||||
- 'P-First-Caller-UPD: invite-locmap-forward.scenarios.test'
|
||||
- 'P-First-Caller-NPD: invite-locmap-forward.scenarios.test'
|
||||
- 'P-Acc-Caller-User: testuser1001'
|
||||
- 'P-Acc-Caller-Domain: invite-locmap-forward.scenarios.test'
|
||||
- 'P-Acc-State: cfu'
|
||||
- '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'
|
||||
- 'P-First-Caller-UA-Mode: strip'
|
||||
- 'P-Callee-Account-ID: \d+'
|
||||
- 'P-Orig-Callee-Dialed: testuser1001'
|
||||
- 'P-Prev-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]'
|
||||
- 'P-First-Caller-RTP-Interface: ext'
|
||||
- 'P-First-Caller-RTP-Interface-Source: default'
|
||||
- 'P-CF-LocMappingForward: [% invite_locmap_forward_scenarios_test.testuser1000.uuid %]'
|
||||
- 'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=10.20.29.2;port=51602;primary=4311000'
|
||||
- 'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=4311001'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:testuser1002@172.30.1.2:52602;transport=udp SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=4311001',
|
||||
'P-NGCP-Callee-Info: <sip:<null>@<null>>;ip=172.30.1.2;port=52602',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'P-Callee-UUID: 0',
|
||||
'P-Called-Party-ID: <sip:testuser1002@172.30.1.2>',
|
||||
'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=\d+',
|
||||
'P-App-Name: sbc',
|
||||
'P-D-Uri: sip:127.0.0.1:5060;received=sip:172.30.1.2:52602%3blr%3btransport%3dudp',
|
||||
'P-Proxy-Uri: sip:127.0.0.1:5062',
|
||||
]
|
||||
@ -0,0 +1,21 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,19 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,52 @@
|
||||
flow:
|
||||
- start|DEFAULT_ROUTE:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_LEG_B:
|
||||
- start|ROUTE_INITVARS:
|
||||
- return|ROUTE_INITVARS:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'INVITE sip:testuser1002@172.30.1.2:52602;transport=udp SIP/2.0'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]'
|
||||
- 'P-NGCP-Caller-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=4311001'
|
||||
- 'P-NGCP-Callee-Info: <sip:<null>@<null>>;ip=172.30.1.2;port=52602'
|
||||
- 'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>'
|
||||
- 'P-Callee-UUID: 0'
|
||||
- 'P-D-Uri: sip:127.0.0.1:5060;received=sip:172.30.1.2:52602%3blr%3btransport%3dudp'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'INVITE sip:testuser1002@172.30.1.2:52602;transport=udp SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'P-Caller-UUID: [% invite_locmap_forward_scenarios_test.testuser1001.uuid %]',
|
||||
'P-NGCP-Caller-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=4311001',
|
||||
'P-NGCP-Callee-Info: <sip:<null>@<null>>;ip=172.30.1.2;port=52602',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'P-Callee-UUID: 0',
|
||||
'P-D-Uri: sip:127.0.0.1:5060;received=sip:172.30.1.2:52602%3blr%3btransport%3dudp',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
]
|
||||
@ -0,0 +1,33 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_LEG_B:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:172.30.1.2:52602;transport=UDP>'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-NGCP-Src-Ip: 172.30.1.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 180 Ringing',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:172.30.1.2:52602;transport=UDP>',
|
||||
'Content-Length: 0',
|
||||
'P-NGCP-Src-Ip: 172.30.1.2',
|
||||
'P-NGCP-Src-Port: \d+',
|
||||
'P-NGCP-Src-Proto: udp',
|
||||
'P-NGCP-Src-Af: 4',
|
||||
]
|
||||
@ -0,0 +1,28 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 180 Ringing',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,31 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 180 Ringing'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 180 Ringing',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'Content-Length: 0',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
]
|
||||
@ -0,0 +1,37 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_LEG_B:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- start|dialog:start:
|
||||
- return|dialog:start:
|
||||
- return|dialog:start:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:172.30.1.2:52602;transport=UDP>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
- 'P-NGCP-Src-Ip: 172.30.1.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:172.30.1.2:52602;transport=UDP>',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'P-NGCP-Src-Ip: 172.30.1.2',
|
||||
'P-NGCP-Src-Port: \d+',
|
||||
'P-NGCP-Src-Proto: udp',
|
||||
'P-NGCP-Src-Af: 4',
|
||||
]
|
||||
@ -0,0 +1,38 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_CHECK_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_CHECK_TIMER_SUPP_REQ:
|
||||
- start|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- start|REPLY_ROUTE_RTPENGINE:
|
||||
- return|REPLY_ROUTE_RTPENGINE:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- start|dialog:start:
|
||||
- return|dialog:start:
|
||||
- return|dialog:start:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
]
|
||||
@ -0,0 +1,49 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_CHECK_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_CHECK_TIMER_SUPP_REQ:
|
||||
- start|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- return|ROUTE_REMOVE_TIMER_SUPP_REQ:
|
||||
- start|REPLY_ROUTE_RTPENGINE:
|
||||
- return|REPLY_ROUTE_RTPENGINE:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- start|dialog:start:
|
||||
- return|dialog:start:
|
||||
- return|dialog:start:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length:\s+\d+'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
'Content-Type: application/sdp',
|
||||
'Content-Length:\s+\d+',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
]
|
||||
- [
|
||||
'CANCEL sip:testuser1001@10.20.29.2:51603 SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ CANCEL',
|
||||
'Content-Length: 0',
|
||||
'Reason: SIP;cause=200;text="Call completed elsewhere"',
|
||||
]
|
||||
@ -0,0 +1,48 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_LEG_B:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
- start|FAILURE_ROUTE_LEG_B:
|
||||
- start|FAILURE_ROUTE_LEG_B:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
- start|dialog:failed:
|
||||
- return|dialog:failed:
|
||||
- return|dialog:failed:
|
||||
sip_in:
|
||||
- 'SIP/2.0 487 Request terminated'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Contact: <sip:10.20.29.2:51603;transport=UDP>'
|
||||
- 'Content-Length: \s+0'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
sip_out:
|
||||
- [
|
||||
'ACK sip:testuser1001@10.20.29.2:51603 SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ ACK',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'SIP/2.0 487 Request terminated',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
|
||||
'CSeq: \d+ INVITE',
|
||||
'Contact: <sip:10.20.29.2:51603;transport=UDP>',
|
||||
'Content-Length: \s+0',
|
||||
'P-NGCP-Src-Ip: 10.20.29.2',
|
||||
'P-NGCP-Src-Port: \d+',
|
||||
'P-NGCP-Src-Proto: udp',
|
||||
'P-NGCP-Src-Af: 4',
|
||||
]
|
||||
@ -0,0 +1,41 @@
|
||||
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_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- start|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- return|ROUTE_WITHINDLG_RTPENGINE:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'ACK sip:127.0.0.1:508[08];transport=udp SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'ACK sip:127.0.0.1:508[08];transport=udp SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ ACK',
|
||||
'Content-Length: 0',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
]
|
||||
@ -0,0 +1,20 @@
|
||||
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_LOCAL:
|
||||
- return|ROUTE_LOCAL:
|
||||
sip_in:
|
||||
- 'ACK sip:testuser1001@10.20.29.2:51603 SIP/2.0'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
sip_out: []
|
||||
@ -0,0 +1,37 @@
|
||||
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_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'ACK sip:172.30.1.2:52602;transport=UDP SIP/2.0'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
|
||||
sip_out:
|
||||
- [
|
||||
'ACK sip:172.30.1.2:52602;transport=UDP SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ ACK',
|
||||
'Content-Length: 0',
|
||||
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
|
||||
]
|
||||
@ -0,0 +1,64 @@
|
||||
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|dialog:end:
|
||||
- return|dialog:end:
|
||||
- return|dialog:end:
|
||||
- start|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'BYE sip:127.0.0.1:508[08];prxroute=1 SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>'
|
||||
- 'Content-Length: 0'
|
||||
- 'P-NGCP-Src-Ip: 10.20.29.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
- 'P-Sock-Info: udp:[% server_ip %]:5060'
|
||||
- 'P-LB-Uptime: \d+'
|
||||
- 'P-NGCP-Src-Nat: 1'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
'P-NGCP-Auth-IP: 10.20.29.2',
|
||||
'P-NGCP-Auth-UA: <null>',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'BYE sip:127.0.0.1:508[08];prxroute=1 SIP/2.0',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Contact: <sip:testuser1000@10.20.29.2:51602;alias=10.20.29.2~51602~1>',
|
||||
'Content-Length: 0',
|
||||
'P-LB-Uptime: \d+',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
]
|
||||
@ -0,0 +1,52 @@
|
||||
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|dialog:end:
|
||||
- return|dialog:end:
|
||||
- return|dialog:end:
|
||||
- start|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_RESTORE_CLUSTERSET:
|
||||
- return|ROUTE_STOP_RTPPROXY:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'BYE sip:127.0.0.1:508[08];transport=udp SIP/2.0'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'BYE sip:127.0.0.1:508[08];transport=udp SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,48 @@
|
||||
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|dialog:end:
|
||||
- return|dialog:end:
|
||||
- return|dialog:end:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|ROUTE_OUTBOUND:
|
||||
- start|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- exit|DEFAULT_SEND:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'BYE sip:172.30.1.2:52602;transport=UDP SIP/2.0'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 100 Trying',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Server: Sipwise NGCP Proxy',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
- [
|
||||
'BYE sip:172.30.1.2:52602;transport=UDP SIP/2.0',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,38 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Contact: <sip:172.30.1.2:52602;transport=UDP>'
|
||||
- 'Content-Length: \s+0'
|
||||
- 'P-NGCP-Src-Ip: 172.30.1.2'
|
||||
- 'P-NGCP-Src-Port: \d+'
|
||||
- 'P-NGCP-Src-Proto: udp'
|
||||
- 'P-NGCP-Src-Af: 4'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1002@172.30.1.2>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Contact: <sip:172.30.1.2:52602;transport=UDP>',
|
||||
'Content-Length: \s+0',
|
||||
'P-NGCP-Src-Ip: 172.30.1.2',
|
||||
'P-NGCP-Src-Port: \d+',
|
||||
'P-NGCP-Src-Proto: udp',
|
||||
'P-NGCP-Src-Af: 4',
|
||||
]
|
||||
@ -0,0 +1,28 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Content-Length: 0',
|
||||
]
|
||||
@ -0,0 +1,29 @@
|
||||
flow:
|
||||
- start|DEFAULT_ONREPLY:
|
||||
- start|REPLY_ROUTE_NAT:
|
||||
- start|ROUTE_ENTRY:
|
||||
- return|ROUTE_ENTRY:
|
||||
- start|ROUTE_APPLY_HEADER_RULES:
|
||||
- return|ROUTE_APPLY_HEADER_RULES:
|
||||
- start|ROUTE_PREPARE_UA:
|
||||
- return|ROUTE_PREPARE_UA:
|
||||
- start|REPLY_ROUTE_NAT_CONTINUE:
|
||||
- start|ROUTE_EXIT:
|
||||
- start|ROUTE_RUNTIME:
|
||||
- return|ROUTE_RUNTIME:
|
||||
- exit|ROUTE_EXIT:
|
||||
sip_in:
|
||||
- 'SIP/2.0 200 OK'
|
||||
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
sip_out:
|
||||
- [
|
||||
'SIP/2.0 200 OK',
|
||||
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
|
||||
'CSeq: \d+ BYE',
|
||||
'Content-Length: 0',
|
||||
'P-Out-Socket: udp:[% server_ip %]:5060',
|
||||
]
|
||||
@ -0,0 +1,21 @@
|
||||
cdr:
|
||||
- source_user: '[% scenarios.0.username %]'
|
||||
source_domain: 'invite-locmap-forward.scenarios.test'
|
||||
source_cli: '[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]'
|
||||
destination_user: '[% scenarios.0.responders.0.username %]'
|
||||
destination_domain: 'invite-locmap-forward.scenarios.test'
|
||||
destination_user_dialed: '[% scenarios.0.responders.0.username %]'
|
||||
destination_user_in: '[% scenarios.0.responders.0.username %]'
|
||||
call_type: 'call'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
||||
- source_user: '[% scenarios.0.responders.0.username %]'
|
||||
source_domain: 'invite-locmap-forward.scenarios.test'
|
||||
source_cli: '[% invite_locmap_forward_scenarios_test.testuser1001.phone_number %]'
|
||||
destination_user: '[% scenarios.0.responders.1.username %]'
|
||||
destination_domain: '[% scenarios.0.responders.1.ip %]'
|
||||
destination_user_dialed: '[% scenarios.0.responders.1.username %]'
|
||||
destination_user_in: ''
|
||||
call_type: 'cfu'
|
||||
call_status: 'ok'
|
||||
call_code: '200'
|
||||
@ -0,0 +1,7 @@
|
||||
---
|
||||
testuser1001@invite-locmap-forward.scenarios.test:
|
||||
- caller_pattern: .+
|
||||
callee_pattern: .+
|
||||
enabled: 1
|
||||
mode: forward
|
||||
to_username: testuser1002
|
||||
@ -0,0 +1 @@
|
||||
../media181sec.pcap
|
||||
@ -0,0 +1,27 @@
|
||||
---
|
||||
peer_invite_peerout:
|
||||
contact:
|
||||
company: peer_invite_peerout
|
||||
email: peer_00@host0.not
|
||||
contract:
|
||||
billing_profile_id: 1
|
||||
status: active
|
||||
type: sippeering
|
||||
groups:
|
||||
- name: peer_invite_peerout_group
|
||||
priority: 1
|
||||
description:
|
||||
rules:
|
||||
- group_id: peer_invite_peerout_group
|
||||
callee_prefix: ""
|
||||
callee_pattern: ''
|
||||
caller_pattern: '^sip:.+@invite-locmap-forward.scenarios.test'
|
||||
description: ""
|
||||
hosts:
|
||||
- group_id: peer_invite_peerout_group
|
||||
name: peer_invite_peerout_host0
|
||||
ip: 127.1.0.2
|
||||
port: 51602
|
||||
host:
|
||||
transport: 1
|
||||
weight: 1
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"@invite-locmap-forward.scenarios.test": {
|
||||
"nat_sipping": "no"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
---
|
||||
test_uuid: invite_locmap_forward
|
||||
domains:
|
||||
'invite-locmap-forward.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-locmap-forward.scenarios.test:
|
||||
testuser1001:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1001
|
||||
testuser1000:
|
||||
customer: 'customer.test'
|
||||
password: testuser
|
||||
cc: 43
|
||||
ac: 1
|
||||
sn: 1000
|
||||
alias_numbers:
|
||||
- cc: 34
|
||||
ac: 96
|
||||
sn: 5711942
|
||||
scenarios:
|
||||
- ip: 127.126.0.1
|
||||
username: testuser1000
|
||||
domain: invite-locmap-forward.scenarios.test
|
||||
responders:
|
||||
- ip: 127.1.0.1
|
||||
username: testuser1001
|
||||
domain: invite-locmap-forward.scenarios.test
|
||||
register: 'yes'
|
||||
- ip: 127.1.0.2
|
||||
username: "testuser1002"
|
||||
domain: invite-locmap-forward.scenarios.test
|
||||
peer_host: peer_invite_peerout_host0
|
||||
register: "no"
|
||||
@ -0,0 +1,138 @@
|
||||
<?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 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 response="180" optional="true"/>
|
||||
|
||||
<recv response="183" optional="true"/>
|
||||
|
||||
<recv response="200" rrs="true" rtd="3"/>
|
||||
|
||||
<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="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"]@[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 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 response="200" crlf="true" rtd="4"/>
|
||||
|
||||
<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,64 @@
|
||||
messages:
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Server: Sipwise NGCP LB'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 407 Proxy Authentication Required'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Proxy-Authenticate: Digest realm="invite-locmap-forward.scenarios.test", nonce="[^"]+"'
|
||||
- 'Server: Sipwise NGCP Proxy'
|
||||
- 'Content-Length: 0'
|
||||
- - 'SIP/2.0 100 Trying'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.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>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE, MESSAGE'
|
||||
- 'Call-Info: <sip:invite-locmap-forward.scenarios.test>;appearance-index=1'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- - 'SIP/2.0 180 Ringing'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- '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=[^;]+;did=[^;]+>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;nat=yes;socket=udp:[% server_ip %]:5060>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.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 53655765 2353687637 IN IP4 .+'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 .+'
|
||||
- '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 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>'
|
||||
- 'From: <sip:[% scenarios.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'Content-Length: 0'
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" crlf="true" rrs="true">
|
||||
<action>
|
||||
<ereg regexp=".*" search_in="hdr" header="CSeq:"
|
||||
check_it="true" assign_to="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:]
|
||||
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
|
||||
Call-Info: <sip:[field3 file="callee.csv" line=1]>;appearance-index=1
|
||||
Allow-Events: talk,hold,conference,refer,check-sync
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: 0
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<nop>
|
||||
<action>
|
||||
<assignstr assign_to="2" value="[last_Via:]"/>
|
||||
<assignstr assign_to="3" value="[last_Record-Route:]"/>
|
||||
</action>
|
||||
</nop>
|
||||
|
||||
<pause milliseconds="500"/>
|
||||
|
||||
<recv request="CANCEL">
|
||||
</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>
|
||||
|
||||
<send>
|
||||
<![CDATA[
|
||||
|
||||
SIP/2.0 487 Request terminated
|
||||
[$2]
|
||||
[last_From:]
|
||||
[last_To:]
|
||||
[last_Call-ID:]
|
||||
[$3]
|
||||
CSeq:[$1]
|
||||
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
|
||||
Content-Length: [len]
|
||||
|
||||
]]>
|
||||
</send>
|
||||
|
||||
<recv request="ACK">
|
||||
</recv>
|
||||
|
||||
</scenario>
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
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=[^;]+>'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@[% server_ip %]:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 53655765 2353687637 IN IP4 192.168.8.178'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 192.168.8.178'
|
||||
- 't=0 0'
|
||||
- 'm=audio \d+ RTP/AVP 8'
|
||||
- 'a=rtpmap:8 PCMA/8000'
|
||||
- 'a=sendrecv'
|
||||
- 'a=rtcp:\d+'
|
||||
- 'a=ptime:50'
|
||||
- - 'CANCEL sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ CANCEL'
|
||||
- 'Content-Length: 0'
|
||||
- 'Reason: SIP;cause=200;text="Call completed elsewhere"'
|
||||
- - 'ACK sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<scenario name="Sipwise NGCP Benchmark UAS Responder">
|
||||
|
||||
<recv request="INVITE" rtd="true"/>
|
||||
|
||||
<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"/>
|
||||
<recv request="BYE"/>
|
||||
|
||||
<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,40 @@
|
||||
messages:
|
||||
- - 'INVITE sip:[% scenarios.0.responders.1.username %]@[% 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>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+>'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]>'
|
||||
- 'CSeq: \d+ INVITE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'Content-Type: application/sdp'
|
||||
- 'Content-Length: \d+'
|
||||
- 'Contact: <sip:ngcp-lb@.+:5060;ngcpct=[^;]+>'
|
||||
- 'v=0'
|
||||
- 'o=user1 53655765 2353687637 IN IP4 .+'
|
||||
- 's=-'
|
||||
- 'c=IN IP4 .+'
|
||||
- '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:.+;r2=on;lr=on;ftag=[^;]+;ngcplb=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+>'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ ACK'
|
||||
- 'Content-Length: 0'
|
||||
- 'Contact: <sip:ngcp-lb@.+:5060;ngcpct=[^;]+>'
|
||||
- - 'BYE sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP SIP/2.0'
|
||||
- 'Record-Route: <sip:.+;r2=on;lr=on;ftag=[^;]+;ngcplb=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes>'
|
||||
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+>'
|
||||
- 'From: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
|
||||
- 'To: <sip:[% scenarios.0.responders.1.username %]@[% scenarios.0.responders.1.ip %]>;tag=[\w-]+'
|
||||
- 'CSeq: \d+ BYE'
|
||||
- 'P-Asserted-Identity: <sip:[% invite_locmap_forward_scenarios_test.testuser1000.phone_number %]@invite-locmap-forward.scenarios.test>'
|
||||
- 'Content-Length: 0'
|
||||
Loading…
Reference in new issue