Hi,<br><br>Have you seen my cfg file ? I have tried fix_nat_contact() and fix_nat_register also...:(<br><br>Am i missing anything ?<br><br>/* uncomment the next line to disable TCP (default on) */<br>disable_tcp=no<br>tcp_children=10 <br>
tcp_connect_timeout=1<br>tcp_send_timeout=3<br>tcp_accept_aliases=1<br><br># ----- registrar params -----<br>/* uncomment the next line not to allow more than 10 contacts per AOR */<br>#modparam(&quot;registrar&quot;, &quot;max_contacts&quot;, 10)<br>
modparam(&quot;registrar&quot;,&quot;tcp_persistent_flag&quot;,7)<br>modparam(&quot;registrar&quot;, &quot;received_avp&quot;, &quot;$avp(s:rcv)&quot;)<br><br>#-------nathelper params ------<br>modparam(&quot;nathelper&quot;, &quot;received_avp&quot;, &quot;$avp(s:rcv)&quot;)<br>
<br>Routing Logic: <br><br>if (client_nat_test(&quot;3&quot;)) {<br>        xlog(&quot;CLIENT BEHIND NAT\n&quot;);<br>        if (method==&quot;SUBSCRIBE&quot;)<br>        nat_keepalive();<br>        if (!has_totag()) {<br>
        if (method==&quot;REGISTER&quot;) {<br>        if (proto==UDP)<br>        nat_keepalive();<br>        else<br>        setflag(7);<br>        $avp(s:regrcv) = $source_uri;<br>        fix_nated_register();<br>        }<br>
        else if (method==&quot;INVITE&quot;) {<br>         nat_keepalive();<br>        fix_nated_contact();<br>        fix_nated_sdp(&quot;3&quot;);<br>        }<br>        }<br>        }<br><br>if (is_method(&quot;REGISTER&quot;))<br>
        {<br>                xlog(&quot;REGISTER MESSAGE\n&quot;);<br>                xlog(&quot;$mb\n&quot;);<br>                # authenticate the REGISTER requests (uncomment to enable auth)<br>                if (!www_authorize(&quot;xxxxxxx&quot;, &quot;subscriber&quot;))<br>
                {<br>                        www_challenge(&quot;xxxxxx&quot;, &quot;0&quot;);<br>                        exit;<br>                }<br>                   <br>    ###TCP ENABLED CLIENTS<br>                 if(proto==TCP)<br>
                 {<br>                       xlog(&quot;the SIP message was received over TCP\n&quot;);<br>                       xlog(&quot;$(tu{uri.user})\n&quot;);<br>                       force_tcp_alias();<br>                 }<br>
<br><br>Thanks,<br>Prem<br><br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 2:44 PM, Premalatha Kuppan <span dir="ltr">&lt;<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</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;">Yes, i have checked. Have you seen my config file. Probably can you guide me where its going wrong ?<br>
<br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jul 28, 2010 at 2:36 PM, Anca Vamanu <span dir="ltr">&lt;<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">


  

<div text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Have you  checked all the things that I told you in the first reply?
Probably one of that is not matched and this is why it is not working.<div><br>
<br>
Regards,<br>
<pre cols="72">-- 
Anca Vamanu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a></pre>
<br>
<br></div><div><div></div><div>
On 07/28/2010 10:01 AM, Premalatha Kuppan wrote:
<blockquote type="cite">Can anyone please help me...<br>
  <br>
  <div class="gmail_quote">On Wed, Jul 28, 2010 at 11:16 AM, Premalatha
Kuppan <span dir="ltr">&lt;<a href="mailto:premalatha@ngintech.com" target="_blank">premalatha@ngintech.com</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;">Sorry
forgot to attach the cfg file..attached now.
    <div>
    <div><br>
    <br>
    <div class="gmail_quote">On Wed, Jul 28, 2010 at 11:15 AM,
Premalatha Kuppan <span dir="ltr">&lt;<a href="mailto:premalatha@ngintech.com" target="_blank">premalatha@ngintech.com</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;">Still
call fails to TC P enabled clients.<br>
      <br>
Please find my config file attached. I dono where iam doing mistake
:(..please help<br>
      <br>
      <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER
MESSAGE <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC
IP</a>SIP/2. From: &lt;<a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>&gt;;tag=14097453-6b37-4f1d-bb14-43
Authorization: Digest username=&quot;4081112222&quot;, realm=&quot;PUBLIC IP&quot;,
nonce=&quot;4c4fbe85000000013046f7331a315fdc29e6f14851cbedd9&quot;, uri=&quot;sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC
IP:5061</a>&quot;, response=&quot;64375192e261bc5f3213bc6f56  ontent-Length:  0<br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: ---- contact
expire=&lt;null&gt; ;  header expire =300; contact
uri=<a>sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:57086;transport=tls</a> 
      <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: ----This is
register, parsing values - 588aa6e4-2af1-4fc0-ad67-6e5c16681e771000; <a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>; 
      <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]:
NORMAL-REGISTRATION  <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: CLIENT BEHIND
NAT <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: contact
before update
&lt;<a>&lt;sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:47043;transport=tls&gt;</a>&gt;
      <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: via before
update &lt;SIP/2.0/TLS
10.11.11.181:57086;rport;branch=z9hG4bKPj48764d96-c980-4584-aba4-2af5c6273165&gt;<br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER
MESSAGE <br>
Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:<a href="http://204.12.57.221:5061" target="_blank">204.12.57.221:5061</a>
SIP/2. From: &lt;<a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>&gt;;tag=9428c49e-e3bb-4241-b3da-8e 
ontent-Length: 
<a href="mailto:0a6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:47043;transport=tls" target="_blank">0a6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:47043;transport=tls</a>&gt;<br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER
MESSAGE <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC
IP:5061</a> SIP/2. From: &lt;<a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>&gt;;tag=12a8089f-2955-480f-affb-6f 
ontent-Length: 
<a href="mailto:0a6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:57086;transport=tls" target="_blank">0a6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:57086;transport=tls</a>&gt;<br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER
MESSAGE <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC:IP</a>
SIP/2. From: &lt;<a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>&gt;;tag=9428c49e-e3bb-4241-b3da-8e
Authorization: Digest username=&quot;4081112222&quot;, realm=&quot;PUBLIC IP&quot;,
nonce=&quot;4c4fbe85000000025275d997ab9c99b5ab5e0eac036575d0&quot;, uri=&quot;sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC
IP</a>&quot;, response=&quot;a81e038b357fb069199bb83f32  ontent-Length:  0<br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: ---- contact
expire=&lt;null&gt; ;  header expire =0; contact
uri=<a>sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:47043;transport=tls</a> 
      <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: This is
de-registration<br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]:
----De-register DONE - 588aa6e4-2af1-4fc0-ad67-6e5c16681e771000 <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER
MESSAGE <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:<a href="http://204.12.57.221:5061" target="_blank">PUBLIC
IP:5061</a> SIP/2. From: &lt;<a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>&gt;;tag=12a8089f-2955-480f-affb-6f
Authorization: Digest username=&quot;4081112222&quot;, realm=&quot;PUBLIC IP&quot;,
nonce=&quot;4c4fbe86000000034f58d23302892e98458c1907863d4951&quot;, uri=&quot;sips:<a href="http://204.12.57.221:5061" target="_blank">204.12.57.221:5061</a>&quot;,
response=&quot;df102121f9df50a2e205cd144a  ontent-Length:  0<br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: ---- contact
expire=&lt;null&gt; ;  header expire =300; contact
uri=<a>sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@209.242.149.98:57086;transport=tls</a> 
      <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]: ----This is
register, parsing values - 588aa6e4-2af1-4fc0-ad67-6e5c16681e771000; <a href="mailto:sip%3A588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181" target="_blank">sip:588aa6e4-2af1-4fc0-ad67-6e5c16681e771000@10.11.11.181</a>; 
      <br>
Jul 28 01:21:44 204548-4 /usr/local/sbin/opensips[21528]:
NORMAL-REGISTRATION  <br>
Jul 28 01:23:48 204548-4 /usr/local/sbin/opensips[21523]: new branch at
<a>sip:123450@209.242.149.98:1025;transport=TCP</a> <br>
Jul 28 01:23:49 204548-4 /usr/local/sbin/opensips[21523]:
ERROR:core:tcp_blocking_connect: timeout 1 s elapsed from 1 s <br>
Jul 28 01:23:49 204548-4 /usr/local/sbin/opensips[21523]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed <br>
Jul 28 01:23:49 204548-4 /usr/local/sbin/opensips[21523]:
ERROR:core:tcp_send: connect failed <br>
Jul 28 01:23:49 204548-4 /usr/local/sbin/opensips[21523]:
ERROR:tm:msg_send: tcp_send failed <br>
Jul 28 01:23:49 204548-4 /usr/local/sbin/opensips[21523]:
ERROR:tm:t_forward_nonack: sending request failed <br>
Jul 28 01:23:50 204548-4 /usr/local/sbin/opensips[21523]: ACC: call
missed:
timestamp=1280294630;method=INVITE;from_tag=588744142;to_tag=;call_id=<a href="mailto:77A4FDFA-2F28-69A0-4508-62C20778D044@122.183.196.26" target="_blank">77A4FDFA-2F28-69A0-4508-62C20778D044@122.183.196.26</a>;code=477;reason=Request
Failure <br>
    </blockquote>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
</blockquote>
</div></div></div>

<br></div></div><div class="im">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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></div></blockquote></div><br>
</blockquote></div><br>