TT#109104 Location mapping forward peer fix #3

Change-Id: I65bdbdf02f5bcc72d0f1f8481351a9fd5d8dce09
mr10.4
Alessio Garzi 4 years ago
parent f3361a2d34
commit 34264f784b

@ -18,16 +18,16 @@ sip_in:
- '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'
- 'Contact: sip:testuser1001@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 10.20.29.2'
- 'P-NGCP-Src-Ip: [% scenarios.0.ip %]'
- '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>'
- 'Path: <sip:lb@127.0.0.1;lr;received=sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];socket=sip:[% server_ip %]:5060>'
sip_out:
- [
'SIP/2.0 100 Trying',
@ -35,7 +35,7 @@ sip_out:
'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-IP: [% scenarios.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
@ -46,7 +46,7 @@ sip_out:
'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-IP: [% scenarios.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'WWW-Authenticate: Digest realm="invite-locmap-forward.scenarios.test", nonce=".+"',
'Server: Sipwise NGCP Proxy',

@ -28,7 +28,7 @@ sip_in:
- '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'
- 'Contact: sip:testuser1001@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 10.20.29.2'
- 'P-NGCP-Src-Port: \d+'
@ -37,7 +37,7 @@ sip_in:
- '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>'
- 'Path: <sip:lb@127.0.0.1;lr;received=sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];socket=sip:[% server_ip %]:5060>'
sip_out:
- [
'SIP/2.0 100 Trying',
@ -61,7 +61,7 @@ sip_out:
'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"',
'Contact: <sip:testuser1001@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %]>;expires=\d+;received="sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %]"',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]

@ -25,7 +25,7 @@ sip_in:
- '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>'
- 'Contact: <sip:testuser1000@[% scenarios.0.ip %]:[% scenarios.0.port %];alias=[% scenarios.0.ip %]~[% scenarios.0.port %]~1>'
- 'Content-Type: application/sdp'
- 'Content-Length:\s+\d+'
- 'P-NGCP-Src-Ip: 10.20.29.2'

@ -173,7 +173,7 @@ sip_in:
- '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>'
- 'Contact: <sip:testuser1000@[% scenarios.0.ip %]:[% scenarios.0.port %];alias=[% scenarios.0.ip %]~[% scenarios.0.port %]~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+'
@ -206,29 +206,29 @@ sip_out:
'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-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=\d+',
'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-]+',
'INVITE sip:testuser1001@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0',
'From: <sip:\d+@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>',
'Contact: <sip:testuser1000@[% scenarios.0.ip %]:[% scenarios.0.port %];alias=[% scenarios.0.ip %]~[% scenarios.0.port %]~1>',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
'P-LB-Uptime: \d+',
'P-Asserted-Identity: <sip:4311000@invite-locmap-forward.scenarios.test>',
'P-Asserted-Identity: <sip:\d+@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-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no;hold_alter_b2b_bleg=no;hold_alter_b2b_aleg=no;',
'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-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=\d+',
'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=[% scenarios.0.responders.0.ip %];port=[% scenarios.0.responders.0.port %];primary=\d+',
'P-D-Uri: sip:lb@127.0.0.1;lr;received=sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];socket=sip:[% server_ip %]:5060',
'P-Proxy-Uri: sip:127.0.0.1:5062',
]
- [
@ -236,7 +236,7 @@ sip_out:
'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>',
'Contact: <sip:testuser1000@[% scenarios.0.ip %]:[% scenarios.0.port %];alias=[% scenarios.0.ip %]~[% scenarios.0.port %]~1>',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
'P-LB-Uptime: \d+',
@ -245,8 +245,8 @@ sip_out:
'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-UPN: \d+',
'P-First-Caller-NPN: \d+',
'P-First-Caller-UPD: invite-locmap-forward.scenarios.test',
'P-First-Caller-NPD: invite-locmap-forward.scenarios.test',
'P-Acc-Caller-User: testuser1001',
@ -267,6 +267,6 @@ sip_out:
'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',
'P-NGCP-Caller-Info: <sip:testuser1000@invite-locmap-forward.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=\d+',
'P-NGCP-Callee-Info: <sip:testuser1001@invite-locmap-forward.scenarios.test>;ip=127.0.0.1;port=508[08];primary=\d+',
]

@ -1,21 +0,0 @@
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: []

@ -1,54 +0,0 @@
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>',
]

@ -1,17 +0,0 @@
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: []

@ -1,39 +0,0 @@
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',
]

@ -1,35 +0,0 @@
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',
]

@ -1,184 +0,0 @@
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',
]

@ -1,21 +0,0 @@
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: []

@ -1,19 +0,0 @@
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: []

@ -1,52 +0,0 @@
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>',
]

@ -1,33 +0,0 @@
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',
]

@ -1,28 +0,0 @@
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',
]

@ -1,31 +0,0 @@
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',
]

@ -1,37 +0,0 @@
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',
]

@ -1,38 +0,0 @@
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+',
]

@ -1,49 +0,0 @@
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"',
]

@ -1,20 +0,0 @@
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: []

@ -1,37 +0,0 @@
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>',
]

@ -1,64 +0,0 @@
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>',
]

@ -1,52 +0,0 @@
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',
]

@ -1,48 +0,0 @@
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',
]

@ -1,38 +0,0 @@
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',
]

@ -1,28 +0,0 @@
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',
]

@ -1,29 +0,0 @@
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',
]
Loading…
Cancel
Save