You can add a new parameter to tls_set_connect_server_id(), but if the same `serverId` is
provided, then I expect to be same certs (same client profile). If you want to have many
connections with the same profile, then 2nd parameter makes sense. Otherwise, probably has
to be some sort of global/module parameter to specify that matching has to be done also on
TLS profile, not only on destination address for tls connections. Having mixed matching
(with or without serverid) at the same time, might bring in more complexity. Anyhow, up to
you how you implement, make a PR then we can discuss further there.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2760#issuecomment-863979962