OK, try to do a fix_nated_registrar() (nathelper module) before
mid_registrar_save();
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/14/22 5:30 PM, nutxase wrote:
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@s
<mailto:2...@sip-proxy.coltek.co.uk>ip-proxy.nutxase.com",
"Contacts": [
{
"Contact":
"sip:6d13503u@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
<bog...@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@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