<div dir="ltr">Here is the trace, so where is the problem?<br><br>#<br>U 182.xx.xx.xx.xx:5060 -&gt; 216.xx.xx.xx.xx:5060<br>REGISTER sip:<a href="http://sip.example.com:5060">sip.example.com:5060</a> SIP/2.0.<br>Via: SIP/2.0/UDP 182.xx.xx.xx.xx:5060;branch=z9hG4bK60e.9f8b83d3.0.<br>To: <a href="http://sip:73757799@sip.example.com:5060">sip:73757799@sip.example.com:5060</a>.<br>From: &lt;<a href="http://sip:73757799@sip.example.com:5060">sip:73757799@sip.example.com:5060</a>&gt;;tag=40aeb.<br>CSeq: 2 REGISTER.<br>Call-ID: e6a44cb93fd53890295e3cecfed.<br>Max-Forwards: 70.<br>Content-Length: 0.<br>User-Agent: OpenSIPS (1.12.0dev-notls (x86_64/linux)).<br>Contact: &lt;sip:7777@182.xx.xx.xx.xx&gt;transport=UDP;expires=300.<br>Authorization: Digest username=&quot;73757799&quot;, realm=&quot;<a href="http://sip.example.com">sip.example.com</a>&quot;, nonce=&quot;VBNMPFQTSxBkZqUtsDCom023iuZ2evbn&quot;, uri=&quot;sip:<a href="http://sip.example.com:5060">sip.example.com:5060</a>&quot;, qop=auth, nc=00000001, cnonce=&quot;220797507&quot;, response=&quot;8149149a7b11826e409d2954a35939d1&quot;, algorithm=MD5.<br>.<br><br>#<br>U 216.xx.xx.xx.xx:5060 -&gt; 182.xx.xx.xx.xx:5060<br>SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP 182.xx.xx.xx.xx:5060;branch=z9hG4bK60e.9f8b83d3.0.<br>To: sip:73757799@sip.example.com:5060;tag=28f708707fdbe632f4ca1ebbf5e1be15-5a71.<br>From: &lt;<a href="http://sip:73757799@sip.example.com:5060">sip:73757799@sip.example.com:5060</a>&gt;;tag=40aeb.<br>CSeq: 2 REGISTER.<br>Call-ID: e6a44cb93fd53890295e3cecfed.<br>Contact: &lt;&lt;sip:73757799@182.xx.xx.xx.xx:5060&gt;transport=UDP&gt;;q=1;expires=98;received=&quot;sip:182.xx.xx.xx.xx:5060&quot;, &lt;&lt;sip:7777@182.xx.xx.xx.xx:5060&gt;transport=UDP&gt;;q=1;expires=300;received=&quot;sip:182.xx.xx.xx.xx:5060&quot;.<br>Content-Length: 0.<br><br>#<br>U 216.xx.xx.xx.xx:5060 -&gt; 182.xx.xx.xx.xx:5060<br>OPTIONS sip:182.xx.xx.xx.xx:5060 SIP/2.0.<br>Max-Forwards: 10.<br>Record-Route: &lt;sip:216.xx.xx.xx.xx;lr&gt;.<br>Via: SIP/2.0/UDP 216.xx.xx.xx.xx;branch=z9hG4bK3e46.e72ab63026fa3572f78124328a048c26.0.<br>Via: SIP/2.0/UDP 70.xxx.xxx.xxx.xxx:5060;branch=0.<br>Route: &lt;sip:216.xx.xx.xx.xx;lr;received=&#39;sip:182.xx.xx.xx.xx:5060&#39;&gt;.<br>From: sip:ping@invalid;tag=5ba30f69.<br>To: sip:182.xx.xx.xx.xx:5060.<br>Call-ID: 0c26e475-b1d63378-dc72c58@70.xxx.xxx.xxx.xxx.<br>CSeq: 1 OPTIONS.<br>Content-Length: 0.<br>.<br><br>#<br>U 182.xx.xx.xx.xx:5060 -&gt; 216.xx.xx.xx.xx:5060<br>SIP/2.0 484 Address Incomplete.<br>Via: SIP/2.0/UDP 216.xx.xx.xx.xx;received=216.xx.xx.xx.xx;rport=5060;branch=z9hG4bK3e46.e72ab63026fa3572f78124328a048c26.0.<br>Via: SIP/2.0/UDP 70.xxx.xxx.xxx.xxx:5060;branch=0.<br>From: sip:ping@invalid;tag=5ba30f69.<br>To: sip:182.xx.xx.xx.xx:5060;tag=c223d9b6a566b5450d01aad8764c61fe.b26e.<br>Call-ID: 0c26e475-b1d63378-dc72c58@70.xxx.xxx.xxx.xxx.<br>CSeq: 1 OPTIONS.<br>Server: OpenSIPS (1.12.0dev-notls (x86_64/linux)).<br>Content-Length: 0.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 3:23 PM, Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Take a look at RFC3261:<br>
<a href="http://tools.ietf.org/html/rfc3261#section-10.2" target="_blank">http://tools.ietf.org/html/rfc3261#section-10.2</a><br>
  Contact: REGISTER requests MAY contain a Contact header field with<br>
zero or more values containing address bindings.<br>
<br>
The error that you have is related to the Contact header in the reply.<br>
Check the reply received from the registrar.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div class="h5"><br>
<br>
On Fri, Sep 12, 2014 at 3:03 PM, Satish Patel &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt; In logs i am getting this error<br>
&gt;<br>
&gt; ERROR:uac_registrant:run_reg_tm_cback: failed to parse Contact body<br>
&gt;<br>
&gt; AOR:: <a href="http://sip:9999@sip.example.com:5060" target="_blank">sip:9999@sip.example.com:5060</a> expires=300<br>
&gt;         state:: INTERNAL_ERROR_STATE<br>
&gt;         last_register_sent:: Sat Sep 13 00:30:28 2014<br>
&gt;         registration_t_out:: Sat Sep 13 00:35:28 2014<br>
&gt;         registrar:: sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a><br>
&gt;         binding:: sip:9999@182.xxx.xxx.xxx:5060<br>
&gt;         dst_IP:: IPv4 ip=<a href="http://sip.example.com" target="_blank">sip.example.com</a><br>
&gt;<br>
&gt;<br>
&gt; I have one more gateway which is asterisk one working fine, what is the<br>
&gt; binding_URI?<br>
&gt;<br>
&gt;<br>
</div></div>&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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><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>
</font></span></blockquote></div><br></div>