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
mr9.0
Mykola Malkov 5 years ago
parent bac90e73dd
commit 550f2dc8ae

@ -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}}

Loading…
Cancel
Save