[Spce-user] Prosody not listening the dummy iface
Alex Lutay
alutay at sipwise.com
Mon Aug 29 06:51:20 EDT 2016
Hi Jon,
Tnx for reporting it here.
Can you please check your configuration once again, as I can see
prosody template should properly use sip_int value from network.yml:
> [% argv.host=hostname; argv.type='sip_int';
> PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips_for_host';
> sip_proxy_ips = out
> -%]
> [% IF !sip_proxy_ips.size -%]
> [% argv.host=hostname; argv.type='sip_int';
> PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips_for_host';
> sip_proxy_ips = out;
> -%]
...
-- used by [sipwise_]admin_telnet
console_port = 5582
console_interface = "[% sip_proxy_ips.0 ? sip_proxy_ips.0 : "127.0.0.1"
-%]"
So, maybe sip_proxy_ips is empty for some reason in your case?
Did you add 'dummy' interface to the list of 'interfaces'?
Maybe prosody was not restarted by some reason, please check
console_interface value in generated prosody config?
Tnx!
On 08/26/2016 03:17 PM, Jon Bonilla (Manwe) wrote:
> I've installed a vmware container of mr4.4.1 and I've created a dummy iface for
> sip_int
>
> after apply, prosody is listening localhost port 5582 but in the xmlhosts table
> prosody has the dummy iface ip. This causes the known error when trying to
> provision the fist domain. "Failed to create domain. (A service could not be
> reached, "192.168.2.2", port 5582) [146E5C351BF34240]"
>
> root at spce:~# netstat -tulnp | grep 5582
> tcp 0 0 127.0.0.1:5582 0.0.0.0:* LISTEN
> 3677/lua5.1
--
Alex Lutay
More information about the Spce-user
mailing list