diff --git a/scenarios_lnp/invite_ncos_black/0003_test.yml.tt2 b/scenarios_lnp/invite_ncos_black/0003_test.yml.tt2 index 736e0a6f..d6c921e0 100644 --- a/scenarios_lnp/invite_ncos_black/0003_test.yml.tt2 +++ b/scenarios_lnp/invite_ncos_black/0003_test.yml.tt2 @@ -17,12 +17,12 @@ flow: - start|ROUTE_FIND_CALLER: - start|ROUTE_AUTH: - start|ROUTE_AUTH_HELPER: - $x_hdr(From): spce.test - $var(realm_user): testuser1002 - $var(realm_domain): spce.test + $x_hdr(From): invite-ncos-black.scenarios-lnp.test + $var(realm_user): [% scenarios.0.username %] + $var(realm_domain): invite-ncos-black.scenarios-lnp.test - return|ROUTE_AUTH_HELPER: - $avp(orig_acc_caller_user): ['testuser1002'] - $avp(orig_acc_caller_domain): ['spce.test'] + $avp(orig_acc_caller_user): ['[% scenarios.0.username %]'] + $avp(orig_acc_caller_domain): ['invite-ncos-black.scenarios-lnp.test'] - start|ROUTE_ADD_CALLINFO_REPLY: - start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY: - return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY: @@ -98,25 +98,25 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - '^INVITE sip:43999100@' - - 'Contact: sip:testuser1002@' + - '^INVITE sip:[% extra_info.phone_numbers.2 %]@' + - 'Contact: sip:[% scenarios.0.username %]@' - 'CSeq: 2 INVITE' - 'Max-Forwards: 69' - 'Content-Type: application/sdp' - - 'Proxy-Authorization: Digest username="testuser1002"' + - 'Proxy-Authorization: Digest username="[% scenarios.0.username %]"' sip_out: - [ '^SIP/2.0 100 Trying', 'CSeq: 2 INVITE', - 'From: ', - 'P-Called-Party-ID: ', + 'P-Asserted-Identity: ', + 'P-Called-Party-ID: ', 'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no', 'P-App-Name: sbc', - 'P-NGCP-Caller-Info: ;ip=127.126.0.3;port=\d+', - 'P-NGCP-Callee-Info: ;ip=127.0.2.1;port=\d+', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.2.ip %];port=[% scenarios.2.port %]', + 'P-NGCP-Callee-Info: ;ip=[% scenarios.2.responders.0.ip %];port=[% scenarios.2.responders.0.port %]', 'P-D-Uri:' ] diff --git a/scenarios_lnp/invite_ncos_black/0013_test.yml.tt2 b/scenarios_lnp/invite_ncos_black/0013_test.yml.tt2 index 0e806795..0fb550ef 100644 --- a/scenarios_lnp/invite_ncos_black/0013_test.yml.tt2 +++ b/scenarios_lnp/invite_ncos_black/0013_test.yml.tt2 @@ -13,39 +13,39 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - 'INVITE sip:43999300@127.0.2.1:\d+;transport=udp SIP/2.0' - - 'From: ;tag=[\w-]+' - - 'To: ' + - 'INVITE sip:[% extra_info.phone_numbers.4 %]@[% scenarios.2.responders.0.ip %]:[% scenarios.2.responders.0.port %];transport=udp SIP/2.0' + - 'From: ;tag=[\w-]+' + - 'To: ' - 'CSeq: \d+ INVITE' - 'P-LB-Uptime: \d+' - - 'P-Asserted-Identity: ' - - 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]' - - 'P-NGCP-Caller-Info: ;ip=127.126.0.3;port=\d+;primary=4311002' - - 'P-NGCP-Callee-Info: ;ip=127.0.2.1;port=\d+' - - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:127.0.2.1:\d+%3blr%3btransport%3dudp' + - 'P-Asserted-Identity: ' + - 'P-Caller-UUID: [% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]' + - 'P-NGCP-Caller-Info: ;ip=[% scenarios.2.ip %];port=[% scenarios.2.port %];primary=[% invite_ncos_black_scenarios_lnp_test.testuser1002.phone_number %]' + - 'P-NGCP-Callee-Info: ;ip=[% scenarios.2.responders.0.ip %];port=[% scenarios.2.responders.0.port %]' + - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:[% scenarios.2.responders.0.ip %]:[% scenarios.2.responders.0.port %]%3blr%3btransport%3dudp' - 'Content-Type: application/sdp' - 'Contact: ' - 'Content-Length:\s+\d+' sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ - 'INVITE sip:43999300@127.0.2.1:\d+;transport=udp SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ', + 'INVITE sip:[% extra_info.phone_numbers.4 %]@[% scenarios.2.responders.0.ip %]:[% scenarios.2.responders.0.port %];transport=udp SIP/2.0', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', - 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]', - 'P-NGCP-Caller-Info: ;ip=127.126.0.3;port=\d+;primary=4311002', - 'P-NGCP-Callee-Info: ;ip=127.0.2.1;port=\d+', - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:127.0.2.1:\d+%3blr%3btransport%3dudp', + 'P-Asserted-Identity: ', + 'P-Caller-UUID: [% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.2.ip %];port=[% scenarios.2.port %];primary=[% invite_ncos_black_scenarios_lnp_test.testuser1002.phone_number %]', + 'P-NGCP-Callee-Info: ;ip=[% scenarios.2.responders.0.ip %];port=[% scenarios.2.responders.0.port %]', + 'P-D-Uri: sip:127.0.0.1:5060;received=sip:[% scenarios.2.responders.0.ip %]:[% scenarios.2.responders.0.port %]%3blr%3btransport%3dudp', 'Content-Type: application/sdp', 'Contact: ', 'Content-Length:\s+\d+', diff --git a/scenarios_lnp/invite_ncos_black/0016_test.yml.tt2 b/scenarios_lnp/invite_ncos_black/0016_test.yml.tt2 index fdd2246c..cfac44cc 100644 --- a/scenarios_lnp/invite_ncos_black/0016_test.yml.tt2 +++ b/scenarios_lnp/invite_ncos_black/0016_test.yml.tt2 @@ -7,17 +7,17 @@ flow: - return|ROUTE_APPLY_HEADER_RULES: $avp(lua_dlg_profile): [ "accountout:[% customer_test.id %]", - "userout:[% spce_test.testuser1002.uuid %]", + "userout:[% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]", "account:[% customer_test.id %]", - "user:[% spce_test.testuser1002.uuid %]", + "user:[% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]", "totalaccountout:[% customer_test.id %]", - "totaluserout:[% spce_test.testuser1002.uuid %]", + "totaluserout:[% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]", "totalaccount:[% customer_test.id %]", - "totaluser:[% spce_test.testuser1002.uuid %]", + "totaluser:[% invite_ncos_black_scenarios_lnp_test.testuser1002.uuid %]", "total", "relay", - "peerout:[% peer_00_host0.id %]", - "peer:[% peer_00_host0.id %]", + "peerout:[% peer_invite_ncos_black_lnp_host0.id %]", + "peer:[% peer_invite_ncos_black_lnp_host0.id %]", "outgoing" ] - start|ROUTE_PREPARE_UA: @@ -30,12 +30,12 @@ flow: sip_in: - '^SIP/2.0 180 Ringing' - 'CSeq: 2 INVITE' - - 'From: