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">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</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">&gt; Thanks Bogdan for your reply. Yes Destination is supporting TCP; iam<br>
&gt; using PJSIP. Registration is successful.<br>
&gt;<br>
&gt; On Thu, Jul 22, 2010 at 8:19 PM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Premalatha,<br>
&gt;<br>
&gt;     That means opensips was not able to open a TCP connection to the<br>
&gt;     destiation address. I see this is an INVITE, so the question is -<br>
&gt;     is the<br>
&gt;     destination party supporting TCP ?<br>
&gt;<br>
&gt;     Regards.<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     Premalatha Kuppan wrote:<br>
&gt;     &gt; Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; Iam using opensips with TLS enabled. Iam trying to make a call via<br>
&gt;     &gt; TCP; registration is successful.<br>
&gt;     &gt;<br>
&gt;     &gt; UDP works fine, but for TCP iam getting following error<br>
&gt;     &gt;<br>
&gt;     &gt; Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
&gt;     &gt; ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s<br>
&gt;     &gt; Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
&gt;     &gt; ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>
&gt;     &gt; Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
&gt;     &gt; ERROR:core:tcp_send: connect failed<br>
&gt;     &gt; Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
&gt;     &gt; ERROR:tm:msg_send: tcp_send failed<br>
&gt;     &gt; Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:<br>
&gt;     &gt; ERROR:tm:t_forward_nonack: sending request failed<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; SIP/2.0 477 Send failed (477/TM)<br>
&gt;     &gt; Via: SIP/2.0/UDP ASTERISK:5070;branch=z9hG4bK4a4c0fee;rport=5070<br>
&gt;     &gt; From: &quot;user1&quot; &lt;sip:user1@ASTERISK:5070&gt;;tag=as06435674<br>
&gt;     &gt; To:<br>
&gt;     &lt;sip:user2@OPENSIPS:5060&gt;;tag=24e512da0179608b69beef65168adaa1-0387<br>
&gt;     &gt; Call-ID: <a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a><br>
&gt;     &lt;mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a>&gt;<br>
&gt;     &gt; &lt;mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a><br>
&gt;     &lt;mailto:<a href="mailto:28ab65ff537a55fd786353e052dbf4c3@204.12.57.221">28ab65ff537a55fd786353e052dbf4c3@204.12.57.221</a>&gt;&gt;<br>
&gt;     &gt; CSeq: 102 INVITE<br>
&gt;     &gt; Server: OpenSIPS (1.6.2-tls (x86_64/linux))<br>
&gt;     &gt; Content-Length: 0<br>
&gt;     &gt;<br>
&gt;     &gt; Any insight ?<br>
&gt;     &gt;<br>
&gt;     &gt; Thanks,<br>
&gt;     &gt; Prem<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Users mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Bogdan-Andrei Iancu<br>
&gt;     OpenSIPS Bootcamp<br>
&gt;     20 - 24 September 2010, Frankfurt, Germany<br>
</div>&gt;     <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<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>