Hello,
I am not sure what ESTABLISHED is meant by netstat for UDP sockets, because there is no connection defined for UDP (datagram socket is kind of shoot and forget) -- maybe it track that there was some traffic and remembers that for a while. Perhaps reading the manual of netstat will help to understand better.
Cheers,
Daniel
On 26/01/2017 22:03, Diego Nadares wrote:
Hi list,
Any help on this?
Cheers.
Diego.
2017-01-25 16:29 GMT-03:00 Diego Nadares <dnadares@gmail.com>:
Hi Guys,
We have two network interfaces. One public and one private. We had enabled mhomed and works great BUT if we do a netstat -naup | grep 5060 we see that some sockets keeps opened also when the call is finished. The source port in netstat it's not 5060 so I suppose that kamailio use another one for something else.
Is this the right behavior? How long does this sockets remain opened? Are we missing something in our cfg?
6 2017-01-25 15:52:04.986651 172.16.213.38 172.16.200.159 SIP/SDP 146 Request: INVITE sip:xxx@172.16.200.159:5060
34 2017-01-25 15:52:19.636895 172.16.213.38 172.16.200.159 SIP 716 Request: ACK sip:xxx@172.16.200.159:5060 |
37 2017-01-25 15:54:38.947831 172.16.208.111 172.16.213.38 SIP 736 Request: BYE sip:127.0.0.8:5060;line=sr-987jhlk* |
40 2017-01-25 15:54:38.950899 172.16.213.38 172.16.200.159 SIP 660 Request: BYE sip:172.16.208.111:5060 |
[root@dwrfsd01 kamailio]# netstat -naup | grep 5060
udp 0 0 172.16.213.38:56086 172.16.200.159:5060 ESTABLISHED 17015/kamailioudp 0 0 172.16.213.38:5060 0.0.0.0:* 17006/kamailio
Thanks in advance!
Diego.
_____________________________________________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/ cgi-bin/mailman/listinfo/sr- users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr- users