[OpenSIPS-Users] Mid Registar wss calls

nutxase nutxase at proton.me
Mon Nov 14 15:30:52 UTC 2022


Hi Bogdan

Thanks for the response

this is what i see

(opensips-cli): mi ul_dump
{
"Domains": [
{
"name": "location",
"hash_size": 512,
"AORs": []
},
{
"name": "location p0 v",
"hash_size": 512,
"AORs": [
{
"AOR": "[200 at s](mailto:200 at sip-proxy.coltek.co.uk)ip-proxy.nutxase.com",
"Contacts": [
{
"Contact": "sip:6d13503u at ohw71q49582f.invalid;transport=wss",
"ContactID": "4067172675980629310",
"Expires": 598,
"Q": "",
"Callid": "q71r14q930a64a9xecw7o1",
"Cseq": 2,
"User-agent": "Foreground App",
"State": "CS_NEW",
"Flags": 0,
"Cflags": "",
"Socket": "wss:1.2.3.4:8089",
"Methods": 5503,
"SIP_instance": "<urn:uuid:d7501f60-7b98-47e3-8f4a-565b21fb2cfb>"
}
]
}
]
}
]
}

Sent with [Proton Mail](https://proton.me/) secure email.

------- Original Message -------
On Monday, November 14th, 2022 at 3:22 PM, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:

> 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/7cd20ec4/attachment.html>


More information about the Users mailing list