[OpenSIPS-Users] Mid Registar wss calls

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Nov 14 15:22:51 UTC 2022


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 at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221114/17e19f19/attachment.html>


More information about the Users mailing list