<p>Hi,<br>
My Setup : client1 -> kamailio server 1 ( IP : 10.211.160.172) ----> kamailio server 2( IP : 10.211.160.176) -> client2</p>
<p>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>[client:default]<br>
verify_certificate = no<br>
require_certificate = no<br>
server_name = mahesh.client.com</p>
<p>[client:10.211.160.172:5061]<br>
method = TLSv1+<br>
verify_certificate = yes<br>
require_certificate = yes<br>
private_key = /root/mahesh_openssl/profile2/btip_172_server_private.key<br>
certificate = /root/mahesh_openssl/profile2/btip_172_server_public.crt<br>
ca_list = /root/mahesh_openssl/profile2/btip_ca_public.crt<br>
cipher_list = RSA<br>
verify_depth = 9<br>
server_name = btip.176.com<br>
server_id = btip.176.com</p>
<p>And in sar.cfg</p>
<p>$xavp(tls=>server_name)="btip.176.com";<br>
$xavp(tls=>server_id)="btip.176.com";<br>
$du = "sip:10.211.160.176:5061;transport=tls";<br>
....<br>
t_relay();</p>
<p>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>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1938?email_source=notifications&email_token=ABO7UZLNQDV5YPVFUDAMNY3QZNQWTA5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJNN2Y#issuecomment-567465707">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMJEEGDUICZEAUL5J3QZNQWTANCNFSM4HILTDMQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNSZ6KJSN6TREBWP3TQZNQWTA5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJNN2Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1938?email_source=notifications\u0026email_token=ABO7UZLNQDV5YPVFUDAMNY3QZNQWTA5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJNN2Y#issuecomment-567465707",
"url": "https://github.com/kamailio/kamailio/issues/1938?email_source=notifications\u0026email_token=ABO7UZLNQDV5YPVFUDAMNY3QZNQWTA5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJNN2Y#issuecomment-567465707",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>