<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Carlos,<br>
      <br>
      I do not claim to be SIP expert, but it has no sense in my
      opinion. Even more, I haven't seen anything like that. So I would
      say it is a bug. <br>
      <br>
      My first reaction was to point to an ALG (that's something I came
      across), but if you do TLS this is out of discussion.<br>
      <br>
      Shortly, I'm not aware of any legitimate case when an UAC should
      send 0.0.0.0 in VIA or Contact. <br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
    <div class="moz-cite-prefix">On 07/04/2017 01:44 PM, Carlos Oliva
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPsm+22OwHGh-OYp4WhEchVr7XUOztidK2ye8zr3My2DKLE6tw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi List:<br>
                <br>
              </div>
              This question is SIP related, I'm writing to the list just
              in case any SIP expert can help.<br>
              <br>
            </div>
            I'm facing random cases where some phones send to my
            OpenSips proxy a REGISTER with VIA and CONTACT host part
            with 0.0.0.0 address.<br>
            <br>
          </div>
          As far as I know this is not right, I can not see any similar
          in RFCs.<br>
          <br>
        </div>
        It happens mainly with Grandstream phones, but I saw this with
        3CX softphones the last week.<br>
        <div>
          <div><br>
          </div>
          <div>The headers look like:<br>
          </div>
          <div><br>
            Via: SIP/2.0/TLS
            0.0.0.0:30201;branch=z9hG4bK1519166325;rport;alias
            <br>
            <br>
            Contact:
<a class="moz-txt-link-rfc2396E" href="sip:MASKED-USERNAME@0.0.0.0:30201;transport=tls"><sip:MASKED-USERNAME@0.0.0.0:30201;transport=tls></a>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B828E658A>"<br>
            <br>
          </div>
          <div>The issue happens using UDP and TLS protocol, I can
            discard a firewall ALG<br>
            <br>
          </div>
          <div>The expires header is at configured value (1200 or 120
            seconds) and all other headers (from, to, callId, ... )
            seems to be OK<br>
          </div>
          <div><br>
          </div>
          <div>My questions is: This is right according RFC or is a bug
            on those phones? Maybe is right and I'm doing something
            wrong in my OpenSips config?<br>
            <br>
          </div>
          <div>Thanks for your help,<br>
            <br>
          </div>
          <div>Carlos Oliva<br>
          </div>
          <br>
          <div><br>
            <br>
          </div>
          <div><br>
          </div>
          <div><br>
            <div>
              <div>
                <div>
                  <div>
                    <div class="gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <table cellpadding="0" cellspacing="0"
                                border="0" height="15" width="600">
                                <tbody>
                                  <tr>
                                    <td valign="top" width="1%"><br>
                                    </td>
                                    <td align="center" valign="top"
                                      width="33%"><br>
                                    </td>
                                    <td align="left" valign="top"
                                      width="2%"><br>
                                    </td>
                                    <td valign="top" width="71%"><br>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>