<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
there were a few critical things, here are the ones that caused me some headaches:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1) Gateway needs "contact-in-ping" set to true, otherwise Teams will reject OPTIONS </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
( Which does exist since freeswitch 1.10.3 as i understand, so pretty new. )</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1.1) It takes a little time for Microsoft Teams to recognize the sbc to be active in their SBC Overview.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2) "sip-ip" and "ext-sip-ip" have to be set to the sbc-domain you use in Teams.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
( Which is sort of strange, because in my profile configs it says "do not use domains", so ... we will see if that causes any trouble. Hasn't so far. )</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3) TLS - we tried letsencrypt for a very long time, but it didnt work, so we got our certificate from godaddy, which works like a charm. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
( I've read that others got it to work with letsencrypt, so it might just be my incompetence )</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
4) Debugging is sort of hard to do since communication with teams is encrypted.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Use "sofia profile xxx siptrace on" in fs_cli. Once you see the decrypted messages, Microsoft sometimes has useful Error-messages in their sip-responses.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We now have a fully compatible multi-tenant setup, which is sort of cool. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
For this, you need at least 4 defined Gateways per customer ( at least one for the provider side, and three for teams, because they have three proxies ) but we used mod_lua to load the configuration dynamically, so thats managable.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But i can remember that there are some limitations when it comes to gateways.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Something like, you can have a maximum of 255 gateways. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please correct me if im wrong here.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
regards,</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> im Auftrag von Michal Bielicki via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org><br>
<b>Gesendet:</b> Sonntag, 4. Oktober 2020 20:09<br>
<b>An:</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>; freeswitch-users <freeswitch-users@lists.freeswitch.org>; Matteo <mbrancaleoni@voismart.it>; David Horton <daveh@drachtio.org><br>
<b>Betreff:</b> Re: [Freeswitch-users] Microsoft Teams integration</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com">
https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community">
https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
sales@freeswitch.com<br>
<a href="https://freeswitch.com">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
FreeSWITCH-users@lists.freeswitch.org<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
<a href="https://freeswitch.com">https://freeswitch.com</a></div>
</span></font></div>
</body>
</html>