From 550f2dc8ae5803fb8d53d5156d75c4e97d2881fe Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Mon, 17 Aug 2020 16:26:53 +0300 Subject: [PATCH] TT#87502 Use the values from config instead of hardcode These ports can be redefined via config.yml so use the values from the file to check. Change-Id: If6c28a29d2bcd887efff8308019090f0c980f58f --- templates/821_network-ports-ngcp.yaml.tt2 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/821_network-ports-ngcp.yaml.tt2 b/templates/821_network-ports-ngcp.yaml.tt2 index ba45ae4..deb0e8d 100644 --- a/templates/821_network-ports-ngcp.yaml.tt2 +++ b/templates/821_network-ports-ngcp.yaml.tt2 @@ -161,7 +161,7 @@ port: ip: ["[% sip_int_ips.0 %]"] [% IF sems.enable == "yes" -%] # SEMS - tcp:8090: + tcp:[% sems.xmlrpcport %]: listening: {{.Vars.NODE_ACTIVE}} ip: ["[% sip_int_ips.0 %]"] @@ -171,17 +171,27 @@ port: ip: ["[% sip_int_ips.0 %]"] # SEMS - udp:5080: + udp:[% sems.bindport %]: listening: {{.Vars.NODE_ACTIVE}} ip: ["[% sip_int_ips.0 %]"] [% END -%] [% IF b2b.enable == "yes" -%] + # sems-pbx + udp:[% b2b.bindport %]: + listening: {{.Vars.NODE_ACTIVE}} + ip: ["[% sip_int_ips.0 %]"] + # sems-pbx tcp:5088: listening: {{.Vars.NODE_ACTIVE}} ip: ["[% sip_int_ips.0 %]"] + # sems-pbx + tcp:[% b2b.xmlrpcport %]: + listening: {{.Vars.NODE_ACTIVE}} + ip: ["[% sip_int_ips.0 %]"] + # sems-pbx tcp:8098: listening: {{.Vars.NODE_ACTIVE}}