Hi, I am trying to use TCP on OpenSIPS 1.6 (with PJSIP as client). Client successfully registers and sends keep-alives to keep the TCP connection open. However, all call attempts (or any other request) fail with a '477 Send Failed'. The logs show this -
Dec 8 06:58:18 ip-208-109-177-46 /usr/local/sbin/opensips[15463]: ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s Dec 8 06:58:18 ip-208-109-177-46 /usr/local/sbin/opensips[15463]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed Dec 8 06:58:18 ip-208-109-177-46 /usr/local/sbin/opensips[15463]: ERROR:core:tcp_send: connect failed Dec 8 06:58:18 ip-208-109-177-46 /usr/local/sbin/opensips[15463]: ERROR:tm:msg_send: tcp_send failed Client is behind a NAT so registers with contact containing the private IP address. It seems that OpenSIPS is trying to connect to the private IP address contained in the REGISTER request rather than reusing the connection the request arrived on. Is this a bug? Or is there a way to configure it to use the established connection? Thanks, Anshuman
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
