Yes im curious about the same as wouldn't mind to rather use freeswitch too, also how do you get it to work multi tenant?I am using freeswitch as an a b2bua with my version and am slowly stripping out bits of kamailio as I'm realising I don't need them. How do you go about generating the options ping?
I am using freeswitch as an a b2bua with my version and am slowly stripping out bits of kamailio as I'm realising I don't need them. How do you go about generating the options ping?
If anyone has any other information to point me in the right direction it would be appreciated, ThanksHi,
there were a few critical things, here are the ones that caused me some headaches:
1) Gateway needs "contact-in-ping" set to true, otherwise Teams will reject OPTIONS
( Which does exist since freeswitch 1.10.3 as i understand, so pretty new. )
1.1) It takes a little time for Microsoft Teams to recognize the sbc to be active in their SBC Overview.
2) "sip-ip" and "ext-sip-ip" have to be set to the sbc-domain you use in Teams.
( 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. )
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.
( I've read that others got it to work with letsencrypt, so it might just be my incompetence )
4) Debugging is sort of hard to do since communication with teams is encrypted.
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.
We now have a fully compatible multi-tenant setup, which is sort of cool.
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.
But i can remember that there are some limitations when it comes to gateways.
Something like, you can have a maximum of 255 gateways.
Please correct me if im wrong here.
I used an ACL to match calls coming in from the Microsoft gateway and then transfer those to internal context.How do you guys handle the inbound from teams? As far as I can see it just goes to the public context. I suppose you could set up inbound routes for each of your extensions but how do you then route calls to the PSTN. Maybe I'm missing something..
I second this.. I would even pool money together for someone to make a step by step on this with a fresh install of fusion. I would lay out a couple bills for this and im sure others wouldI'm still struggling with this. I'd be willing to pay a few bucks if someone who's done a successful integration could answer a couple of questions and point me in the right direction.
Maybe explain what you want to achieve and maybe i can help with kamailioI second this.. I would even pool money together for someone to make a step by step on this with a fresh install of fusion. I would lay out a couple bills for this and im sure others would
make teams and FusionPBX work together. via direct routing. I work for Microsoft as a Premier Support TL for EXO but with covid there has been massive growth with everyone using teams and my superiors know I also run a VoIP company on the side and assumed that somehow qualifies me for supporting very high level customers and I would like to get my labs operating with a fusion lab in order to fully understand the various aspects of this. I have basically unlimited licenses of every kind in my Microsoft tenant and Even have a GCC High/DoD lab as well, I have tons of resources but just don't have the bandwidth for weeks of trial and error and a learning curve (I know that is how you learn the most), so it would be nice if someone had a step by step guide on how to get this working with clean boxes and assuming I know nothing... a lot to ask I know but I am confident that myself along with others would pay for this information if it is all open source and saved the money I would have to spend on an official SBC like audio codes or something similarMaybe explain what you want to achieve and maybe i can help with kamailio
I will put together a doc on how i did it.You work for Microsoft but you are not able to get access to a Microsoft-certified SBC?
One issue that has been a snag with the FreeSWITCH SBC solution for Teams is that it is not certified and Microsoft's documentation says they reserve the right to reject any support requests related to Direct Routing if you aren't using a certified SBC. That's a show-stopper for many serious companies.
I'm not saying it's completely useless to you but I don't understand the point of playing around with an open source SBC when your own company is saying it's not a supported method of connecting.
I can do a step-by-step if you guys are serious about a bounty.