diff --git a/etc/test-server_pro.yaml.tt2 b/etc/test-server_pro.yaml.tt2 index 154382e..a500d40 100644 --- a/etc/test-server_pro.yaml.tt2 +++ b/etc/test-server_pro.yaml.tt2 @@ -19,6 +19,16 @@ PROCESS '/usr/lib/ngcp-ngcpcfg/has_role'; is_rtp = out -%] +[% argv.host=hostname; argv.type='sip_ext'; + PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips_for_host'; + sip_ext_ips = out +-%] +[% IF !sip_ext_ips.size -%] +[% argv.host=hostname; argv.type='sip_ext'; + PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips_for_host'; + sip_ext_ips = out; +-%] +[% END -%] disk-free: /: max-used : 80% @@ -110,8 +120,9 @@ open-ports: [% END -%] [% IF is_proxy -%] 5062: kamailio - 5222: prosody - 5269: prosody + 5280: prosody + 5281: prosody + 5582: prosody 8090: ngcp-sems 4569/udp: asterisk 5040/udp: ngcp-sems @@ -140,6 +151,11 @@ open-ports: 3306: mysql [% IF is_rtp || is_proxy || is_db -%] 6379: redis-server +[% END -%] +[% IF is_proxy -%] + [% sip_ext_ips.0 -%]: + 5222: prosody + 5269: prosody [% END -%] deb.sipwise.com: 80: http