Thank you Jon.<div><br><div>Setting the network interface to bind:</div><div><div># ngcp-network --set-interface=eth0 --ip=auto --netmask=auto</div><div>and</div><div># ngcp-network --move-from=lo --move-to=eth0 --type=web_ext --type=sip_ext --type=rtp_ext --type=ssh_ext</div>
</div><div><br></div><div>and applying changes :</div><div># ngcpcfg apply<br></div><div><br></div><div>now it is solved:</div><div><div># grep "listen" /etc/kamailio/lb/kamailio.cfg</div><div>listen=udp:<a href="http://192.168.2.40:5060">192.168.2.40:5060</a></div>
<div>listen=tcp:<a href="http://192.168.2.40:5060">192.168.2.40:5060</a></div><div>listen=tls:<a href="http://192.168.2.40:5061">192.168.2.40:5061</a></div><div># additional sockets to listen on, if any</div><div>listen=udp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a></div>
<div>listen=tcp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a></div></div><div><br></div><div><br></div><div>I am going to continue testing of this platform.</div><div>Thank you.</div></div><div><br></div><div>Gonzalo</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/8 Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El Tue, 8 Jan 2013 16:47:43 +0100<br>
Gonzalo Marcote Peña <<a href="mailto:gonzalo@3vases.com">gonzalo@3vases.com</a>> escribió:<br>
<div><div class="h5"><br>
> Hello.<br>
> I have installed sip provider in ip 192.168.2.40<br>
> I can not register any softphone in the same local network. I get 408<br>
> timeout<br>
> Kamailio is runnig ok:<br>
><br>
> ps -ef | grep proxy<br>
> root 2093 1 0 13:50 ? 00:00:33 /usr/sbin/mediaproxy-ng<br>
> --ip=127.0.0.1 --listen-udp=<a href="http://127.0.0.1:12222" target="_blank">127.0.0.1:12222</a> --timeout=60<br>
> --silent-timeout=3600 --pidfile=/var/run/ngcp-mediaproxy-ng-daemon.pid<br>
> --tos=184 --port-min=30000 --port-max=40000 --ip6=::1 --b2b-url=<br>
> <a href="http://127.0.0.1:8090/" target="_blank">http://127.0.0.1:8090/</a> --table=0<br>
> kamailio 2269 1 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2277 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2278 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2279 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2280 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2281 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2283 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2284 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2287 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2289 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2291 2269 0 13:50 ? 00:00:03 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2296 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2297 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2298 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2302 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2303 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2307 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> kamailio 2309 2269 0 13:50 ? 00:00:00 /usr/sbin/kamailio -f<br>
> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m<br>
> 31 -M 16 -u kamailio -g kamailio<br>
> root 20873 20798 0 16:11 pts/0 00:00:00 grep proxy<br>
><br>
><br>
> This is my /etc/ngcp-config/network.yml<br>
><br>
> ---<br>
> hosts:<br>
> self:<br>
> eth0:<br>
> ip: 192.168.2.40<br>
> netmask: 255.255.255.0<br>
> type:<br>
> - web_ext<br>
> - sip_ext<br>
> - rtp_ext<br>
> - ssh_ext<br>
> interfaces:<br>
> - lo<br>
> - eth0<br>
> lo:<br>
> ip: 127.0.0.1<br>
> netmask: 255.255.255.0<br>
> shared_ip: []<br>
> shared_v6ip: []<br>
> type:<br>
> - sip_int<br>
> - ha_int<br>
> - web_int<br>
> v6ip: '::1'<br>
> role:<br>
> - proxy<br>
> - lb<br>
> - mgmt<br>
><br>
><br>
><br>
> and is listening in localhost:<br>
><br>
> netstat -tulnp | grep kamailio<br>
> tcp 0 0 <a href="http://0.0.0.0:8000" target="_blank">0.0.0.0:8000</a> 0.0.0.0:* LISTEN<br>
> 2302/kamailio<br>
> tcp 0 0 <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> 0.0.0.0:* LISTEN<br>
> 1598/kamailio<br>
> tcp 0 0 <a href="http://127.0.0.1:5061" target="_blank">127.0.0.1:5061</a> 0.0.0.0:* LISTEN<br>
> 1598/kamailio<br>
> tcp 0 0 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> 0.0.0.0:* LISTEN<br>
> 2309/kamailio<br>
> udp 0 0 <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> 0.0.0.0:*<br>
> 1577/kamailio<br>
> udp 0 0 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> 0.0.0.0:*<br>
> 2269/kamailio<br>
><br>
><br>
> I think the problem should be here... It should be 192.168.2.40 in<br>
> " /etc/ngcp-config/network.yml " intead of localhost address (127.0.0.1),<br>
> no? (I think that none of this is explained in the howto Handbok 2.7 before<br>
> chapter 6).<br>
> How I reload ngcp. It is one standard kamialiio? (service kamailio restart)<br>
><br>
> Thank you for your Help<br>
><br>
> Gonzalo<br>
><br>
<br>
<br>
<br>
</div></div>Yes looks like. Could you plase do the following:<br>
<br>
grep "listen" /etc/kamailio/lb/kamailio.cfg<br>
ngcpcfg apply<br>
grep "listen" /etc/kamailio/lb/kamailio.cfg<br>
netstat -tulnp |grep kamailio<br>
<br>
<br>
<br>
thanks<br>
<br>
Jon<br>
<br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><div>Gonzalo Marcote Peña</div><div>3VASES</div><div>Phone: +34 620 644 248</div><div>Email: <a href="mailto:gonzalo@3vases.com" target="_blank">gonzalo@3vases.com</a></div>
</div><div><br></div><div><a href="http://service.yodial.com/services/mail/?idYodi=D70D63E118CAC376C16B7B2B23E1D9DC" target="_blank"><img src="http://service.yodial.com/services/?src=849&idYodi=D70D63E118CAC376C16B7B2B23E1D9DC"></a></div>
</div><div><br></div>
</div>