<div dir="ltr"><div><div><div><div>Thank you very much for your response <span class="" style="" id=":lqv.1" tabindex="-1">Bogdan</span>. Probably is a bug in <span class="" style="" id=":lqv.2" tabindex="-1">Grandstream</span> Firmware.<br><br></div>I will work with the manufacturer about this, but I was not completely sure if there was a corner case where this could be possible.<br><br></div>Thanks for your confirmation.<br><br></div>Thanks and regards,<br><br></div>Carlos <span class="" style="" id=":lqv.3" tabindex="-1">Oliva</span><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div>
<br><div class="gmail_quote">2017-07-04 18:21 GMT+02:00 <span class="" style="" id=":lqv.4" tabindex="-1">Bogdan</span>-Andrei <span class="" style="" id=":lqv.5" tabindex="-1">Iancu</span> <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank"><span class="" style="" id=":lqv.6" tabindex="-1">bogdan</span>@<span class="" style="" id=":lqv.7" tabindex="-1">opensips</span>.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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="m_3659810862353184668moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="m_3659810862353184668moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="m_3659810862353184668moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html" target="_blank">http://opensips.org/training/<wbr>OpenSIPS_Bootcamp_2017.html</a>
</pre><div><div class="h5">
    <div class="m_3659810862353184668moz-cite-prefix">On 07/04/2017 01:44 PM, Carlos Oliva
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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=<wbr>z9hG4bK1519166325;rport;alias
            <br>
            <br>
            Contact:
<a class="m_3659810862353184668moz-txt-link-rfc2396E"><sip:MASKED-USERNAME@0.0.0.0:<wbr>30201;transport=tls></a>;reg-id=1;<wbr>+sip.instance="<urn:uuid:<wbr>00000000-0000-1000-8000-<wbr>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="m_3659810862353184668gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <table cellspacing="0" cellpadding="0" border="0" width="600" height="15">
                                <tbody>
                                  <tr>
                                    <td width="1%" valign="top"><br>
                                    </td>
                                    <td width="33%" valign="top" align="center"><br>
                                    </td>
                                    <td width="2%" valign="top" align="left"><br>
                                    </td>
                                    <td width="71%" valign="top"><br>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_3659810862353184668mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_3659810862353184668moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_3659810862353184668moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>