<div dir="ltr"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">Hi,</p><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">Am using Kamailio 5.1.9 version</p><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px"><br style="box-sizing:border-box">My Setup : client1 -> kamailio server 1 ( IP : 10.211.160.172) ----> kamailio server 2( IP : 10.211.160.176) -> client2</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">I have a scenario where kamailio server 1 has to initiate an outgoing tls connection to kamailio server 2, i have set the server_name and server_id in the client profile in tls.cfg like below on kamailio server 1</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">[client:default]<br style="box-sizing:border-box">verify_certificate = no<br style="box-sizing:border-box">require_certificate = no<br style="box-sizing:border-box">server_name = <a href="http://mahesh.client.com">mahesh.client.com</a></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">[client:<a href="http://10.211.160.172:5061">10.211.160.172:5061</a>]<br style="box-sizing:border-box">method = TLSv1+<br style="box-sizing:border-box">verify_certificate = yes<br style="box-sizing:border-box">require_certificate = yes<br style="box-sizing:border-box">private_key = /root/mahesh_openssl/profile2/btip_172_server_private.key<br style="box-sizing:border-box">certificate = /root/mahesh_openssl/profile2/btip_172_server_public.crt<br style="box-sizing:border-box">ca_list = /root/mahesh_openssl/profile2/btip_ca_public.crt<br style="box-sizing:border-box">cipher_list = RSA<br style="box-sizing:border-box">verify_depth = 9<br style="box-sizing:border-box">server_name = <a href="http://btip.176.com">btip.176.com</a><br style="box-sizing:border-box">server_id = <a href="http://btip.176.com">btip.176.com</a></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">And in sar.cfg</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$xavp(tls=>server_name)="<a href="http://btip.176.com">btip.176.com</a>";<br style="box-sizing:border-box">$xavp(tls=>server_id)="<a href="http://btip.176.com">btip.176.com</a>";<br style="box-sizing:border-box">$du = "sip:10.211.160.176:5061;transport=tls";<br style="box-sizing:border-box">....<br style="box-sizing:border-box">t_relay();</p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">What i observe is that , when client hello is sent by 10.211.160.172 to 10.211.160.176, i dont see Extension server_name being sent. Am i missing anything. Please help !</p></div>