[OpenSIPS-Users] 477 send failed with TCP
Anshuman S. Rawat
arawat at 3clogic.com
Wed Dec 8 15:04:35 CET 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101208/38cb8f0f/attachment.htm>
More information about the Users
mailing list