[SR-Users] KAMAILIO tcp_send query, connection problem

Ed Todd ed.todd at comcast.net
Fri Apr 1 20:37:01 CEST 2016


KAMAILIO tcp_send query, connection problem
I have a KAMAILIO SIP server on a static IP from Comcast, using a modem/router Cisco DPC39412B.

I have a PC application server which is successfully signing on to the SIP server, via a LAN cable on the same network as the SIP server (Cisco). 

In my second test, the PC application server is connected to the internet via a ZTE Falcon Z-917. In a third test, the PC application server is connected to the internet via a Talk-Talk fiber broadband. The connection does not occur.

>From the log files, the successful connection says:

Apr  1 10:44:30 SIP-Server kamailio[7817]: DEBUG: <core> [tcp_main.c:2281]: tcpconn_send_put(): tcp_send: send from reader (7817 (14)), reusing fd

Apr  1 10:44:30 SIP-Server kamailio[7817]: DEBUG: <core> [tcp_main.c:2516]: tcpconn_do_send(): tcp_send: sending...

Apr  1 10:44:30 SIP-Server kamailio[7817]: DEBUG: <core> [tcp_main.c:2550]: tcpconn_do_send(): tcp_send: after real write: c= 0x7f6270b8a4a0 n=565 fd=1

On the failed connection:

Apr  1 09:41:23 SIP-Server kamailio[7816]: DEBUG: <core> [tcp_main.c:1818]: tcp_send(): tcp_send: no open tcp connection found, opening new one

Apr  1 09:41:23 SIP-Server kamailio[7816]: DEBUG: <core> [ip_addr.c:243]: print_ip(): tcpconn_new: new tcp connection: 192.168.0.146

Apr  1 09:41:23 SIP-Server kamailio[7816]: DEBUG: <core> [tcp_main.c:1073]: tcpconn_new(): tcpconn_new: on port 55133, type 3

Apr  1 09:41:23 SIP-Server kamailio[7816]: DEBUG: <core> [tcp_main.c:1382]: tcpconn_add(): tcpconn_add: hashes: 1776:802:0, 803

Apr  1 09:41:23 SIP-Server kamailio[7816]: DEBUG: tls [tls_server.c:184]: tls_complete_init(): Using TLS domain TLSc<default

A while later, I get:

Apr  1 09:41:37 SIP-Server kamailio[7804]: DEBUG: usrloc [urecord.c:357]: wb_timer(): Binding 'hvs_us_iphone','sip:hvs_us_iphone at 172.56.8.182:44341;transport=TLS;line=75dc89bd64369c7' has expired

Apr  1 09:41:38 SIP-Server kamailio[7820]: DEBUG: <core> [tcp_main.c:4320]: tcpconn_main_timeout(): tcp_main: entering timer for 0x7f6270b8a4a0 (ticks=862851529, timeout=862909176 (3602 s), wr_timeout=862851529 (0 s)), write queue: 197 bytes

Apr  1 09:41:38 SIP-Server kamailio[7820]: ERROR: <core> [tcp_main.c:4338]: tcpconn_main_timeout(): connect 192.168.0.146:55133 failed (timeout)

Apr  1 09:41:38 SIP-Server kamailio[7820]: DEBUG: <core> [tcp_main.c:4362]: tcpconn_main_timeout(): tcp_main: timeout for 0x7f6270b8a4a

Any clues or tips would be greatly appreciated!



Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160401/69588f5c/attachment.html>


More information about the sr-users mailing list