diff --git a/debian/changelog b/debian/changelog index 8af1474..5a9b105 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ngcp-www-admin (3.5.2) unstable; urgency=low + + [ agranig ] + * Migrate IP infos in voipsniff config section to network.yml. + + -- Andrew Pogrebennyk Tue, 12 Mar 2013 11:38:01 +0100 + ngcp-www-admin (3.5.1) unstable; urgency=low [ agranig ] diff --git a/etc/admin.conf b/etc/admin.conf index 1ea0ce6..30abab5 100644 --- a/etc/admin.conf +++ b/etc/admin.conf @@ -1,4 +1,16 @@ [% TAGS [- -] %] +[% argv.role='lb'; argv.type='sip_ext'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips'; sip_ext_ips = out -%] +[% IF !sip_ext_ips.size -%] +[% argv.role='lb'; argv.type='sip_ext'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_ext_ips = out -%] +[% END -%] +[% argv.role='lb'; argv.type='sip_int'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips'; sip_int_ips = out -%] +[% IF !sip_int_ips.size -%] +[% argv.role='lb'; argv.type='sip_int'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_int_ips = out -%] +[% END -%] +[% argv.role='proxy'; argv.type='sip_int'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips'; sip_prx_ips = out -%] +[% IF !sip_prx_ips.size -%] +[% argv.role='proxy'; argv.type='sip_int'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_prx_ips = out -%] +[% END -%] [- IF PRO -] - [- END -]