<div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Thanks Razvan.<br>I'm still trying to troubleshoot this problem, i've seen that in the opensips logs, when i place a call, there are the following error messeges:<br><br><div><span>Apr 15 21:21:31 sip-lab /usr/local/opensips110/sbin/opensips[14226]: INFO:core:probe_max_sock_buff: using snd buffer of 255 kb<br>Apr 15 21:21:31 sip-lab /usr/local/opensips110/sbin/opensips[14226]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket<br>Apr 15 21:21:32 sip-lab /usr/local/opensips110/sbin/opensips[14225]: ERROR:nathelper:msg_send: tcp_send failed<br>Apr 15 21:21:32 sip-lab /usr/local/opensips110/sbin/opensips[14225]: ERROR:nathelper:nh_timer: sip msg_send failed!<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:core:tcp_blocking_connect: timeout 10 s elapsed
 from 10 s<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:core:tcp_send: connect failed<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:tm:msg_send: tcp_send failed<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:tm:t_forward_nonack: sending request failed<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: incoming reply<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body<br>Apr 15 21:21:41 sip-lab /usr/local/opensips110/sbin/opensips[14226]: incoming reply<br>Apr 15 21:21:42 sip-lab
 /usr/local/opensips110/sbin/opensips[14225]: ERROR:nathelper:msg_send: tcp_send failed<br>Apr 15 21:21:42 sip-lab /usr/local/opensips110/sbin/opensips[14225]: ERROR:nathelper:nh_timer: sip msg_send failed!<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I didn't reply before because i was serching in the forum but i didn'n find any helpfull topic.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Do you still think that is a network issue? Do those error
 logs have a meaning?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">If you see, form the call placing to the incoming replay there are 10 secs.<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Thanks a lot,</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Leo.<br><span></span></div><div style="display: block;"
 class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> Il Lunedì 14 Aprile 2014 10:26, Razvan Crainea-3 [via OpenSIPS (Open SIP Server)] &lt;<a href="/user/SendEmail.jtp?type=node&node=7590757&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; ha scritto:<br> </font> </div>  <div class="y_msg_container"><div id="yiv9645901050"><div>

        Hi, Leo!
<br clear="none"><br clear="none">This doesn't seem to be related to OpenSIPS. My suggestion is to trace 
<br clear="none">this at the network layer and check if and why the TCP/TLS connection is 
<br clear="none">taking 15-20 seconds.
<br clear="none"><br clear="none">Best regards,
<br clear="none"><br clear="none">Razvan Crainea
<br clear="none">OpenSIPS Core Developer
<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/" link="external">http://www.opensips-solutions.com</a><br clear="none"><br clear="none">On 04/14/2014 01:17 AM, leo wrote:
<div class="yiv9645901050shrinkable-quote"><div class='shrinkable-quote'><br clear="none">&gt; Hello:
<br clear="none">&gt;
<br clear="none">&gt; I'm using opensips 1.10 in a simple single domain scenario.
<br clear="none">&gt; The UA are normally NATted.
<br clear="none">&gt; The problem i'm having is that the call establishment using UDP is 1 or 2
<br clear="none">&gt; sec while when i use TCP or TLS the call is taking 15-20 sec.
<br clear="none">&gt; Is this normal? How could i have the same performance for TCP/TLS like with
<br clear="none">&gt; UDP?
<br clear="none">&gt; Thanks a lot.
<br clear="none">&gt;
<br clear="none">&gt; Leo.
<br clear="none">&gt;
<br clear="none">&gt;
<br clear="none">&gt;
<br clear="none">&gt; --
<br clear="none">&gt; View this message in context: <a rel="nofollow" shape="rect" target="_blank" href="http://opensips-open-sip-server.1449251.n2.nabble.com/UDP-vs-TCP-TLS-tp7590719.html" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/UDP-vs-TCP-TLS-tp7590719.html</a><br clear="none">&gt; Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
<br clear="none">&gt;
<br clear="none">&gt; _______________________________________________
<br clear="none">&gt; Users mailing list
<br clear="none">&gt; <a href="" rel="nofollow" shape="rect" target="_top" link="external">[hidden email]</a>
<br clear="none">&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">&gt;
</div></div>_______________________________________________
<br clear="none">Users mailing list
<br clear="none"><a href="" rel="nofollow" shape="rect" target="_top" link="external">[hidden email]</a>
<div class="yiv9645901050yqt4899910508" id="yiv9645901050yqtfd39286"><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div><br clear="none">

        
        
        
        <br clear="none">
        <br clear="none">
        <hr noshade="" size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma, geneva, helvetica, arial, sans-serif;">
                <div style="font-weight:bold;">If you reply to this email, your message will be added to the discussion below:</div>
                <a rel="nofollow" shape="rect" target="_blank" href="http://opensips-open-sip-server.1449251.n2.nabble.com/UDP-vs-TCP-TLS-tp7590719p7590723.html" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/UDP-vs-TCP-TLS-tp7590719p7590723.html</a>
        </div>
        <div style="color:#666;font:11px tahoma, geneva, helvetica, arial, sans-serif;margin-top:.4em;line-height:1.5em;">
                
                To unsubscribe from UDP vs TCP/TLS, <a rel="nofollow" shape="rect" target="_blank" href="" link="external">click here</a>.<br clear="none">
                <a rel="nofollow" shape="rect" target="_blank" href="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif;" link="external">NAML</a><div class="yiv9645901050yqt4899910508" id="yiv9645901050yqtfd06197">
        </div></div></div></div><br><br></div>  </div> </div>  </div> </div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/UDP-vs-TCP-TLS-tp7590719p7590757.html">Re: UDP vs TCP/TLS</a><br/>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br/>