<div dir="ltr">Any thought? it works with other SIP clients but not Opensips UAC :(<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 9:16 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>But if i configure same account on my SIP phone it works! why it is misbehaving with Opensips? <br><br></div>SIP provide will argue if it works with SIP phone then it should work with all devices. <br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 6:39 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You need to tell your provider to fix this.</p>
<p dir="ltr">Regards,<br>
Ovidiu Sas</p><div><div>
<div class="gmail_quote">On Sep 12, 2014 4:49 PM, "Satish Patel" <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What is the solution? do i need to tell my SIP provide or i should do something at Opensips side? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 4:47 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">The contact header is malformed:<span><br>
Contact: <<sip:73757799@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=98;received="sip:182.xx.xx.xx.xx:5060", <<sip:7777@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=300;received="sip:182.xx.xx.xx.xx:5060"</span></p>
<p dir="ltr">See the double '<'.</p>
<p dir="ltr">Regards,<br>
Ovidiu Sas</p><div><div>
<div class="gmail_quote">On Sep 12, 2014 4:37 PM, "Satish Patel" <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here is the trace, so where is the problem?<br><br>#<br>U 182.xx.xx.xx.xx:5060 -> 216.xx.xx.xx.xx:5060<br>REGISTER sip:<a href="http://sip.example.com:5060" target="_blank">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" target="_blank">sip:73757799@sip.example.com:5060</a>.<br>From: <<a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a>>;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: <sip:7777@182.xx.xx.xx.xx>transport=UDP;expires=300.<br>Authorization: Digest username="73757799", realm="<a href="http://sip.example.com" target="_blank">sip.example.com</a>", nonce="VBNMPFQTSxBkZqUtsDCom023iuZ2evbn", uri="sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a>", qop=auth, nc=00000001, cnonce="220797507", response="8149149a7b11826e409d2954a35939d1", algorithm=MD5.<br>.<br><br>#<br>U 216.xx.xx.xx.xx:5060 -> 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: <<a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a>>;tag=40aeb.<br>CSeq: 2 REGISTER.<br>Call-ID: e6a44cb93fd53890295e3cecfed.<br>Contact: <<sip:73757799@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=98;received="sip:182.xx.xx.xx.xx:5060", <<sip:7777@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=300;received="sip:182.xx.xx.xx.xx:5060".<br>Content-Length: 0.<br><br>#<br>U 216.xx.xx.xx.xx:5060 -> 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: <sip:216.xx.xx.xx.xx;lr>.<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: <sip:216.xx.xx.xx.xx;lr;received='sip:182.xx.xx.xx.xx:5060'>.<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 -> 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"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></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><br>
<br>
On Fri, Sep 12, 2014 at 3:03 PM, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br>
> In logs i am getting this error<br>
><br>
> ERROR:uac_registrant:run_reg_tm_cback: failed to parse Contact body<br>
><br>
> AOR:: <a href="http://sip:9999@sip.example.com:5060" target="_blank">sip:9999@sip.example.com:5060</a> expires=300<br>
> state:: INTERNAL_ERROR_STATE<br>
> last_register_sent:: Sat Sep 13 00:30:28 2014<br>
> registration_t_out:: Sat Sep 13 00:35:28 2014<br>
> registrar:: sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a><br>
> binding:: sip:9999@182.xxx.xxx.xxx:5060<br>
> dst_IP:: IPv4 ip=<a href="http://sip.example.com" target="_blank">sip.example.com</a><br>
><br>
><br>
> I have one more gateway which is asterisk one working fine, what is the<br>
> binding_URI?<br>
><br>
><br>
</div></div>> _______________________________________________<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>
<span><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" 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>
</font></span></blockquote></div><br></div>
<br>_______________________________________________<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></blockquote></div>
</div></div><br>_______________________________________________<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></blockquote></div><br></div>
<br>_______________________________________________<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></blockquote></div>
</div></div><br>_______________________________________________<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></blockquote></div><br></div>
</div></div></blockquote></div><br></div>