TLS module documentation says: "different TLS parameters can be specified on a per role (server or client) and domain basis (for now only IPs)". It would be nice feature if it could use same socket and distinguish connections by domain name.
If you look for SNI support, then you have to set `server_name`, see:
* https://www.kamailio.org/docs/modules/stable/modules/tls.html#tls.p.config
If you meant something else, reopen and add more details about what exactly you want to happen in order to make it a feature request.
Closed #1567.
Sorry, I had to clarify that I was talking about server, not client role. From what I understood server role configurations can be distinguish one from another only by socket provided in their configuration.
... domain basis (for now only IPs)
section of documentation hints that additional tests for matching incoming connections against configured server profiles was in mind. I would like to request a feature which would allow matching them against domain name if that's possible.
Thank you!