[Spce-user] 408 timeout on sip accounts in fresh install

Gonzalo Marcote Peña gonzalo at 3vases.com
Tue Jan 8 13:43:17 EST 2013


Thank you Jon.

Setting the network interface to bind:
# ngcp-network --set-interface=eth0 --ip=auto --netmask=auto
and
# ngcp-network --move-from=lo --move-to=eth0 --type=web_ext --type=sip_ext
--type=rtp_ext --type=ssh_ext

and applying changes :
# ngcpcfg apply

now it is solved:
# grep "listen" /etc/kamailio/lb/kamailio.cfg
listen=udp:192.168.2.40:5060
listen=tcp:192.168.2.40:5060
listen=tls:192.168.2.40:5061
# additional sockets to listen on, if any
listen=udp:127.0.0.1:5060
listen=tcp:127.0.0.1:5060


I am going to continue testing of this platform.
Thank you.

Gonzalo


2013/1/8 Jon Bonilla <jbonilla at sipwise.com>

> El Tue, 8 Jan 2013 16:47:43 +0100
> Gonzalo Marcote Peña <gonzalo at 3vases.com> escribió:
>
> > Hello.
> > I have installed sip provider in ip 192.168.2.40
> > I can not register any softphone in the same local network. I get 408
> > timeout
> > Kamailio is runnig ok:
> >
> > ps -ef | grep proxy
> > root      2093     1  0 13:50 ?        00:00:33 /usr/sbin/mediaproxy-ng
> > --ip=127.0.0.1 --listen-udp=127.0.0.1:12222 --timeout=60
> > --silent-timeout=3600 --pidfile=/var/run/ngcp-mediaproxy-ng-daemon.pid
> > --tos=184 --port-min=30000 --port-max=40000 --ip6=::1 --b2b-url=
> > http://127.0.0.1:8090/ --table=0
> > kamailio  2269     1  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2277  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2278  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2279  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2280  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2281  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2283  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2284  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2287  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2289  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2291  2269  0 13:50 ?        00:00:03 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2296  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2297  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2298  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2302  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2303  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2307  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > kamailio  2309  2269  0 13:50 ?        00:00:00 /usr/sbin/kamailio -f
> > /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
> -m
> > 31 -M 16 -u kamailio -g kamailio
> > root     20873 20798  0 16:11 pts/0    00:00:00 grep proxy
> >
> >
> > This is my /etc/ngcp-config/network.yml
> >
> > ---
> > hosts:
> >   self:
> >     eth0:
> >       ip: 192.168.2.40
> >       netmask: 255.255.255.0
> >       type:
> >         - web_ext
> >         - sip_ext
> >         - rtp_ext
> >         - ssh_ext
> >     interfaces:
> >       - lo
> >       - eth0
> >     lo:
> >       ip: 127.0.0.1
> >       netmask: 255.255.255.0
> >       shared_ip: []
> >       shared_v6ip: []
> >       type:
> >         - sip_int
> >         - ha_int
> >         - web_int
> >       v6ip: '::1'
> >     role:
> >       - proxy
> >       - lb
> >       - mgmt
> >
> >
> >
> > and is listening in localhost:
> >
> > netstat -tulnp | grep kamailio
> > tcp        0      0 0.0.0.0:8000            0.0.0.0:*
> LISTEN
> >      2302/kamailio
> > tcp        0      0 127.0.0.1:5060          0.0.0.0:*
> LISTEN
> >      1598/kamailio
> > tcp        0      0 127.0.0.1:5061          0.0.0.0:*
> LISTEN
> >      1598/kamailio
> > tcp        0      0 127.0.0.1:5062          0.0.0.0:*
> LISTEN
> >      2309/kamailio
> > udp        0      0 127.0.0.1:5060          0.0.0.0:*
> >     1577/kamailio
> > udp        0      0 127.0.0.1:5062          0.0.0.0:*
> >     2269/kamailio
> >
> >
> > I think the problem should be here... It should be 192.168.2.40 in
> > " /etc/ngcp-config/network.yml " intead of localhost address (127.0.0.1),
> > no? (I think that none of this is explained in the howto Handbok 2.7
> before
> > chapter 6).
> > How I reload ngcp. It is one standard kamialiio? (service kamailio
> restart)
> >
> > Thank you for your Help
> >
> > Gonzalo
> >
>
>
>
> Yes looks like. Could you plase do the following:
>
> grep "listen" /etc/kamailio/lb/kamailio.cfg
> ngcpcfg apply
> grep "listen" /etc/kamailio/lb/kamailio.cfg
> netstat -tulnp |grep kamailio
>
>
>
> thanks
>
> Jon
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>



-- 
Gonzalo Marcote Peña
3VASES
Phone: +34 620 644 248
Email: gonzalo at 3vases.com

<http://service.yodial.com/services/mail/?idYodi=D70D63E118CAC376C16B7B2B23E1D9DC>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130108/ac7495a8/attachment-0001.html>


More information about the Spce-user mailing list