Hi Anshuman,
do "fix_nated_register()" at registration time (before save("location"))
if uac_nat_test() function returns true (if nat was detected) - see the
nathelper module for more details:
http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html
Regards,
Bogdan
Anshuman S. Rawat wrote:
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
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users