Thanks Bogdan. My application is behind NAT. Do i need to change any configuration in opensips.cfg.<br><br><br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 7:53 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you run tcpdump on the opensips server, you will be able to see the<br>
address where opensips try to connect via TCP....and check if that is<br>
the real IP and port where pjsip is listening on...<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
Premalatha Kuppan wrote:<br>
</div><div class="im">> Thanks Bogdan for your reply. Yes Destination is supporting TCP; iam<br>
> using PJSIP. Registration is successful.<br>
><br>
> On Thu, Jul 22, 2010 at 8:19 PM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> Hi Premalatha,<br>
><br>
> That means opensips was not able to open a TCP connection to the<br>
> destiation address. I see this is an INVITE, so the question is -<br>
> is the<br>
> destination party supporting TCP ?<br>
><br>
> Regards.<br>
> Bogdan<br>
><br>
> Premalatha Kuppan wrote:<br>
> > Hi,<br>
> ><br>
> > Iam using opensips with TLS enabled. Iam trying to make a call via<br>
> > TCP; registration is successful.<br>
> ><br>
> > UDP works fine, but for TCP iam getting following error<br>
> ><br>
> > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
> > ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s<br>
> > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
> > ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>
> > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
> > ERROR:core:tcp_send: connect failed<br>
> > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
> > ERROR:tm:msg_send: tcp_send failed<br>
> > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
> > ERROR:tm:t_forward_nonack: sending request failed<br>
> ><br>
> ><br>
> > SIP/2.0 477 Send failed (477/TM)<br>
> > Via: SIP/2.0/UDP ASTERISK:5070;branch=z9hG4bK4a4c0fee;rport=5070<br>
> > From: "user1" <sip:user1@ASTERISK:5070>;tag=as06435674<br>
> > To:<br>
> <sip:user2@OPENSIPS:5060>;tag=24e512da0179608b69beef65168adaa1-0387<br>
> > Call-ID: <a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a><br>
> <mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a>><br>
> > <mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a><br>
> <mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a>>><br>
> > CSeq: 102 INVITE<br>
> > Server: OpenSIPS (1.6.2-tls (x86_64/linux))<br>
> > Content-Length: 0<br>
> ><br>
> > Any insight ?<br>
> ><br>
> > Thanks,<br>
> > Prem<br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</div></div>> > <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
><br>
><br>
> --<br>
> Bogdan-Andrei Iancu<br>
> OpenSIPS Bootcamp<br>
> 20 - 24 September 2010, Frankfurt, Germany<br>
</div>> <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> <<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div><div></div><div class="h5">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>