<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Dragomir,<br>
      <br>
      Do you have any idea if the "Via sent-by" reported by SIP.JS is
      actually about the "received" parameter returned in VIA by
      OpenSIPS ?<br>
      <br>
      Best 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/02/2017 10:20 PM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOK4CSZhqxNT0ai7Tujj8UFOvkCrnxvpToj=d9zzE0kVZA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I try to setup Registration proxy (opensips 2.3) like this
          article:</div>
        <div><a moz-do-not-send="true"
href="https://blog.opensips.org/2016/12/13/how-to-proxy-sip-registrations/">https://blog.opensips.org/2016/12/13/how-to-proxy-sip-registrations/</a><br>
        </div>
        <div><br>
        </div>
        <div>1. When use Zoiper all is OK<br>
          Zoiper <----> Opensips REGISTRATION Proxy <----->
          SBC<br>
          <br>
          2. I have problem when use WebRTC.</div>
        <div>(<b>Via sent-by in the response does not match UA Via host
            value. Dropping the response</b>):<br>
          <br>
          SIP.JS <----->Opensips REGISTRATION Proxy <----->
          SBC</div>
        <div><br>
        </div>
        <div>Here is WebSocket text messages:<br>
          <br>
          <div>REGISTER sip:<IP:Opensips> SIP/2.0</div>
          <div>Via: SIP/2.0/WSS 192.0.2.148;branch=z9hG4bK8881457</div>
          <div>Max-Forwards: 70</div>
          <div>To: "Tester" <<a class="moz-txt-link-freetext" href="sip:555999@">sip:555999@</a><IP:Opensips>></div>
          <div>From: "Tester"
            <<a class="moz-txt-link-freetext" href="sip:555999@">sip:555999@</a><IP:Opensips>>;tag=u6aro6a8mj</div>
          <div>Call-ID: k5uhq12e1bb93rg9igvpvv</div>
          <div>CSeq: 83 REGISTER</div>
          <div>Contact: <<a moz-do-not-send="true"
              href="mailto:sip%3Ar0f6p7so@192.0.2.148">sip:r0f6p7so@192.0.2.148</a>;transport=wss>;reg-id=1;+sip.instance="<urn:uuid:ed6914c3-65ee-4e9a-b6e8-3fcd74cb66ac>";expires=60</div>
          <div>Allow:
            ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER</div>
          <div>Supported: path, gruu, outbound</div>
          <div>User-Agent: SIP.js/0.7.8</div>
          <div>Content-Length: 0</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>sip-0.7.8.js:2900 Sun Jul 02 2017 18:41:19 GMT+0300 (FLE
            Daylight Time) | sip.transport | received WebSocket text
            message:</div>
          <div><br>
          </div>
          <div>SIP/2.0 401 Unauthorized</div>
          <div>Via: SIP/2.0/WSS
192.0.2.148:5060;rport=53162;received=<Sip.js_IP>;branch=z9hG4bK8881457</div>
          <div>From: "Tester"
            <<a class="moz-txt-link-freetext" href="sip:555999@">sip:555999@</a><IP:Opensips>>;tag=u6aro6a8mj</div>
          <div>To: "Tester" <<a class="moz-txt-link-freetext" href="sip:555999@">sip:555999@</a><IP:Opensips>></div>
          <div>Call-ID: k5uhq12e1bb93rg9igvpvv</div>
          <div>CSeq: 83 REGISTER</div>
          <div>Contact:
<<a class="moz-txt-link-freetext" href="sip:r0f6p7so@">sip:r0f6p7so@</a><Sip.js_IP>:53162;transport=wss>;reg-id=1;+sip.instance="<urn:uuid:ed6914c3-65ee-4e9a-b6e8-3fcd74cb66ac>";expires=60</div>
          <div>WWW-Authenticate: Digest realm="<a moz-do-not-send="true"
              href="http://sbc.com">sbc.com</a>", nonce="<a
              moz-do-not-send="true"
              href="mailto:ee228f001f1459108000000c2916c1ef@sbc.com"><a class="moz-txt-link-abbreviated" href="mailto:ee228f001f1459108000000c2916c1ef@sbc.com">ee228f001f1459108000000c2916c1ef@sbc.com</a></a>"</div>
          <div>Content-Length: 0</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>sip-0.7.8.js:2900 Sun Jul 02 2017 18:41:19 GMT+0300 (FLE
            Daylight Time) | sip.sanitycheck | <b>Via sent-by in the
              response does not match UA Via host value. Dropping the
              response</b></div>
          <br>
        </div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Drgagomir</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>