<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
      Are you sure the lookup fails? as it looks to me the lookup
      succeeds, but the the r_relay() fails.<br>
      <br>
      If you do a `opensips-cli -x mi ul_dump
      <mid_registrar_domain>`, how is the registration record
      looking like ?<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
    <div class="moz-cite-prefix">On 11/10/22 7:12 PM, nutxase via Users
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:aou6rByd3ZRlfXaAmvjznwh58yulNeBivrLNQRGH63be4OKOjIDmTc9RnFDv_Zy-txSIKkrHBrFp13HYxEyjnEx1dCURlY0aXLOjmeU-oAQ=@proton.me">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Arial; font-size: 14px;">Hi All</div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;">I have got my
        webrtc client working with mid_registrar to asterisk</div>
      <div style="font-family: Arial; font-size: 14px;">But when
        asterisk sends incoming calls to the phone it fails to lookup
        the location and i get</div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;"><span> CRITICAL:core:mk_proxy:
          could not resolve hostname: "zeid6muzjbdj.invalid"</span>
        <div><span>Nov 10 17:00:12 opensips01 /usr/sbin/opensips[19237]:
            ERROR:tm:uri2proxy: bad host name in URI
            <a class="moz-txt-link-rfc2396E" href="sip:16500355@zeid6muzjbdj.invalid;transport=wss"><sip:16500355@zeid6muzjbdj.invalid;transport=wss></a></span></div>
        <span></span><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;">and in sngrep i
        see 476 unroutable detination.</div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;"><span>if
          (is_method("INVITE|MESSAGE") && $si == "1.2.3.4"
          && $sp == 5060) {</span>
        <div><span>        xlog("looking up $ru!\n");</span></div>
        <div><span>        xlog("</span></div>
        <div><span>        if (!mid_registrar_lookup("location")) {</span></div>
        <div><span>            t_reply(404, "Not Found $ru\n");</span></div>
        <div><span>            exit;</span></div>
        <div><span>        }</span></div>
        <div><br>
        </div>
        <div><span>        t_relay();</span></div>
        <div><br>
        </div>
        <div><span>        exit;</span></div>
        <div><span>    }</span></div>
        <span></span><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;">With sip i dont
        have this issue only with wss</div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;">any ideas what
        to look at?</div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial; font-size: 14px;"
        class="protonmail_signature_block">
        <div class="protonmail_signature_block-user
          protonmail_signature_block-empty"> </div>
        <div class="protonmail_signature_block-proton"> Sent with <a
            rel="noreferrer nofollow noopener" href="https://proton.me/"
            target="_blank" moz-do-not-send="true">Proton Mail</a>
          secure email. </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>