From 512346a738b7d1ed96fc1a79614e29aed5afec88 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Sat, 8 May 2021 08:51:38 +0200 Subject: [PATCH] TT#116100 scenarios_lnp/incoming_peer_unallocated_authoritative Change-Id: I0fd60fe49d6d2cb2ab791d6571844619621da89c --- .../0001_test.yml.tt2 | 28 +++++++++---------- .../0002_test.yml.tt2 | 6 ++-- .../cdr_test.yml.tt2 | 12 ++++---- .../lnp.yml | 9 ------ .../lnp.yml.tt2 | 9 ++++++ .../peer.yml | 14 +++++----- .../{prefs.json => prefs.json.tt2} | 2 +- .../scenario.yml | 20 ++++++++----- 8 files changed, 53 insertions(+), 47 deletions(-) delete mode 100644 scenarios_lnp/incoming_peer_unallocated_authoritative/lnp.yml create mode 100644 scenarios_lnp/incoming_peer_unallocated_authoritative/lnp.yml.tt2 rename scenarios_lnp/incoming_peer_unallocated_authoritative/{prefs.json => prefs.json.tt2} (68%) diff --git a/scenarios_lnp/incoming_peer_unallocated_authoritative/0001_test.yml.tt2 b/scenarios_lnp/incoming_peer_unallocated_authoritative/0001_test.yml.tt2 index b1cfed6d..89b22a19 100644 --- a/scenarios_lnp/incoming_peer_unallocated_authoritative/0001_test.yml.tt2 +++ b/scenarios_lnp/incoming_peer_unallocated_authoritative/0001_test.yml.tt2 @@ -23,7 +23,7 @@ flow: - start|ROUTE_DLG_MANAGE: - return|ROUTE_DLG_MANAGE: - return|ROUTE_LOAD_PEER_IN_PREF: - $avp(lua_dlg_profile): ["peer:[% peer_00_host0.id %]", "total"] + $avp(lua_dlg_profile): ["peer:[% peer_incoming_peer_ua_00_host0.id %]", "total"] - return|ROUTE_FIND_CALLER: - start|ROUTE_APPLY_HEADER_RULES: - return|ROUTE_APPLY_HEADER_RULES: @@ -73,35 +73,35 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - '^INVITE sip:4321001@' - - 'From: ' - - 'To: ' + - 'To: ', - 'To: ', + 'To: ', - 'To: ', + 'To: ;ip=127.0.2.1;port=\d+', - 'P-NGCP-Callee-Info: ;ip=spce.test;port=5060', + 'P-NGCP-Auth-IP: [% scenarios.0.ip %]', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]', + 'P-NGCP-Callee-Info: ;ip=incoming-peer-unallocated-authoritative.scenarios-lnp.test;port=5060', 'Content-Length:\s+0' ] diff --git a/scenarios_lnp/incoming_peer_unallocated_authoritative/0002_test.yml.tt2 b/scenarios_lnp/incoming_peer_unallocated_authoritative/0002_test.yml.tt2 index ac01d897..20e95462 100644 --- a/scenarios_lnp/incoming_peer_unallocated_authoritative/0002_test.yml.tt2 +++ b/scenarios_lnp/incoming_peer_unallocated_authoritative/0002_test.yml.tt2 @@ -12,9 +12,9 @@ flow: - start|ROUTE_LOCAL: - return|ROUTE_LOCAL: sip_in: - - '^ACK sip:4321001@' - - 'From: ' - - 'To: ' + - 'To: