<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; padding: 0px 0px 20px; color: rgb(34, 34, 34); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: medium; background-color: rgb(255, 255, 255)">
<div>
<div style="font-size: 0.875rem; margin: 8px 0px 0px">
<div style="overflow: hidden; font: small / 1.5 Arial, Helvetica, sans-serif">
<div dir="ltr">
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
Hi guys, </p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
Do you have some expirience with kamailio integration with MS teams ?</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
I follow the instructon from here<br style="box-sizing: border-box">
<a href="https://skalatan.de/en/blog/kamailio-sbc-teams" target="_blank" style="color: rgb(17, 85, 204)">https://skalatan.de/en/blog/<wbr>kamailio-sbc-teams</a></p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
TLS part is configured correctly. I also got OPTIONS pings working between MS teams and kamailio by following of  this instruction. That is very good.</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
 But... There is issues with outbound calls from MS teams to kamailo.</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
MS side send INVITE, kamailio responds with 180 and 200 OK, but looks like MS ignores us. I know that I probably should use record_route_preset function here to modify Record-Route headers to satisfy MS wishes.</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
But nothing helps. I also tried to modify contact header in 200 OK like it was done for OPTIONS - no luck. <br style="box-sizing: border-box">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
Anyone has a working example of kamailio files for MS team ?<br style="box-sizing: border-box">
Or at least sucessful pcap with them.<br style="box-sizing: border-box">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
I can be wrong but looks like MS doesn't respect RFC at all.</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
<br>
</p>
<p style="box-sizing: border-box; color: rgb(48, 48, 57); font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px">
Thanks.</p>
</div>
<div></div>
<div></div>
</div>
</div>
<div style="border-bottom-left-radius: 1px; border-bottom-right-radius: 1px; background: rgb(242, 242, 242); margin: 0px">
</div>
</div>
</div>
<br>
<br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">Regards,<br>
<a href="https://www.odesk.com/companies/Nasida_~0168bc9fd46660bcca" class="ecxmy-link" target="_blank">Team lead</a><br>
<img height="77" width="77" src="https://odesk-prod-portraits.s3.amazonaws.com/Companies:1712760:CompanyLogoURL?AWSAccessKeyId=1XVAX3FNQZAFC9GJCFR2&Expires=2147483647&Signature=A3w167q1X1t5TRF1RJ2Ha0gfzPs%3D"><br>
</div>
</div>
</body>
</html>