Hi,

Are you sure the lookup fails? as it looks to me the lookup succeeds, but the the r_relay() fails.

If you do a `opensips-cli -x mi ul_dump <mid_registrar_domain>`, how is the registration record looking like ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 11/10/22 7:12 PM, nutxase via Users wrote:
Hi All

I have got my webrtc client working with mid_registrar to asterisk
But when asterisk sends incoming calls to the phone it fails to lookup the location and i get

 CRITICAL:core:mk_proxy: could not resolve hostname: "zeid6muzjbdj.invalid" Nov 10 17:00:12 opensips01 /usr/sbin/opensips[19237]: ERROR:tm:uri2proxy: bad host name in URI <sip:16500355@zeid6muzjbdj.invalid;transport=wss>

and in sngrep i see 476 unroutable detination.

if (is_method("INVITE|MESSAGE") && $si == "1.2.3.4" && $sp == 5060) {
        xlog("looking up $ru!\n");
        xlog("
        if (!mid_registrar_lookup("location")) {
            t_reply(404, "Not Found $ru\n");
            exit;
        }

        t_relay();

        exit;
    }


With sip i dont have this issue only with wss

any ideas what to look at?


Sent with Proton Mail <https://proton.me/> secure email.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to