Hi
I'm having an issue with the double rr for mst direct routing. I'm using subdomains like 23234.mydomain.com with a wildcard certificate and I set corex modparam alias_subdomains to mydomain.com
But loose_route doesn't seem to detect the rr as myself
I get the message:
rr [loose.c:804]: rr_do_force_send_socket(): no socket found to match second RR (sip:20141.mydomain.com:5063;transport=tls;ftag=as7107d0fe;lr;r2=on;vsf=AAAAAAAAAAADCQMaABhMS1NYRh0cRllbR0RRQG91cC5lcw--;nat=yes;pet=mst)
Regarding my setup is more or less like this:
kamailio.local.cfg:
#!substdef "!MSTDOMAIN!mydomain.com!g"
kamailio.cfg: modparam("corex", "alias_subdomains", "MSTDOMAIN")
But in the cli:
kamctl rpc corex.list_aliases { "jsonrpc": "2.0", "result": [ ], "id": 1319303 }
I don't remember to have this issue when I was developing the mst integration. Either I missed it or can it be a regression? kamailio version is 5.6.4 at the moment.
Any ideas?
cheers
Jon
Upgraded to 5.7.4 Then I added "sindominio.net" example domain to corex aliases
Debug Log:
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: <core> [core/modparam.c:135]: set_mod_param_regex(): found <alias_subdomains> in module corex [/usr/lib/x86_64-linux-gnu/kamailio/modules/corex.so]
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: corex [corex_lib.c:117]: corex_add_alias_subdomains(): try to add alias: sindominio.net
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: corex [corex_lib.c:185]: corex_add_alias_subdomains(): alias: 0:sindominio.net:0 from value: sindominio.net added
But from console:
# kamctl rpc corex.list_aliases { "jsonrpc": "2.0", "result": [ ], "id": 87891 }
Hello,
the log message in your first email is about not finding the socket. The record route matches the domain, it is just that the socket to be used cannot matched by the second Route URI. You can name the sockets and set them in record-route to handle it.
Cheers Daniel
On 19.01.24 09:20, Jon Bonilla (Manwe) via sr-users wrote:
Upgraded to 5.7.4 Then I added "sindominio.net" example domain to corex aliases
Debug Log:
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: <core> [core/modparam.c:135]: set_mod_param_regex(): found <alias_subdomains> in module corex [/usr/lib/x86_64-linux-gnu/kamailio/modules/corex.so]
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: corex [corex_lib.c:117]: corex_add_alias_subdomains(): try to add alias: sindominio.net
Jan 19 08:14:32 pekedev33 kamailio: DEBUG: corex [corex_lib.c:185]: corex_add_alias_subdomains(): alias: 0:sindominio.net:0 from value: sindominio.net added
But from console:
# kamctl rpc corex.list_aliases { "jsonrpc": "2.0", "result": [ ], "id": 87891 }
-- PekePBX, the multitenant PBX solution https://pekepbx.com
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
El Fri, 19 Jan 2024 12:07:39 +0100 Daniel-Constantin Mierla miconda@gmail.com escribió:
Hello,
the log message in your first email is about not finding the socket. The record route matches the domain, it is just that the socket to be used cannot matched by the second Route URI. You can name the sockets and set them in record-route to handle it.
Thanks Daniel I'll try as soon as I can.
My sockets are all named. It will be enabling sockname_mode modparam enough?
And why the kamctl rpc corex.list_aliases doesn't list what I added to alias_subdomains corex modparam?
cheers,
Jon